sox package does not make a version independent symbolic link

Bug #248815 reported by reinhard
2
Affects Status Importance Assigned to Milestone
sox (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: sox

Hi,

this problem is related to actual sox or libsox-dev package version 14.0.0-5 on ubuntu 8.04.1.

When compiling latest mlt source (svn http://sourceforge.net/projects/mlt/) an error comes up:

...
...
make[2]: Entering directory `/apps/svn/mlt/trunk/mlt/src/modules/sox'
cc -shared -o ../libmltsox.so factory.o filter_sox.o -L/usr/lib -lsox
-lsfx -lsamplerate -L../../framework -lmlt
/usr/bin/ld: cannot find -lsfx
collect2: ld returned 1 exit status
make[2]: *** [../libmltsox.so] Error 1
make[2]: Leaving directory `/apps/svn/mlt/trunk/mlt/src/modules/sox'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/apps/svn/mlt/trunk/mlt/src/modules'
make: *** [all] Error 1

I've send this problem to the mlt-dev list and this is the program authors answer:

"begin quote"
Looking now on a Ubuntu system, I see that the package does not make a
version independent symbolic link to the sfx lib as it does the sox
lib when you install libsox-dev. If you ls /usr/lib/libsfx* you will
see a link libsfx.so.0 but not libsfx.so like most libs have. To fix
this, you have to create the link manually:

$ sudo ln -s /usr/lib/libsfx.so.0.0.0 /usr/lib/libsfx.so

It seems like a bug in the package to me because it assumes one is
only interested in the file I/O sox lib and not the effects lib, and
MLT really only uses it for the effects. I tried linking with
-lsfx.so.0, but that does not work.
"end quote"

So, finally creating this symbolic link manually works, but is just a dirty hack which hopefully could be corrected by a new package or in some other ways.

greetings
reinhard

Revision history for this message
Ulrich Klauer (uklauer) wrote :

Libsfx has been merged into libsox in version 14.2.0, so this is not relevant anymore.

Changed in sox (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.