sox package does not make a version independent symbolic link
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://
...
...
make[2]: Entering directory `/apps/
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/
make[1]: *** [all] Error 1
make[1]: Leaving directory `/apps/
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/
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
Libsfx has been merged into libsox in version 14.2.0, so this is not relevant anymore.