Hi Michael!

On Mon, May 23, 2011 at 8:14 PM, Michael Goetze <mgoe...@mgoetze.net> wrote:
> Hi Pascal,
>
>> I'm assuming that you have libmp3lame0 3.98.4-0.0 packaged by
>> Christian Marillat.
>
> right, I have his package which contains /usr/lib/libmp3lame.so.0 and
> /usr/lib/libmp3lame.so.0.0.0
>
> Here's an strace of what sox tries:
>
> write(2, "Attempting to open LAME encoder "..., 53Attempting to open
> LAME encoder library (libmp3lame).) = 53
> write(2, "\n", 1
> )                       = 1
> open("/lib/libmp3lame.la", O_RDONLY)    = -1 ENOENT (No such file or
> directory)
> open("/usr/lib/libmp3lame.la", O_RDONLY) = -1 ENOENT (No such file or
> directory)
> open("/usr/local/lib/libmp3lame.la", O_RDONLY) = -1 ENOENT (No such file
> or directory)
> open("/lib/x86_64-linux-gnu/libmp3lame.la", O_RDONLY) = -1 ENOENT (No
> such file or directory)
> open("/usr/lib/x86_64-linux-gnu/libmp3lame.la", O_RDONLY) = -1 ENOENT
> (No such file or directory)
> access("/lib/libmp3lame.so", R_OK)      = -1 ENOENT (No such file or
> directory)
> access("/usr/lib/libmp3lame.so", R_OK)  = -1 ENOENT (No such file or
> directory)
[...]

Oh! This looks like it may be an upstream issue.
SoX looks for libmp3lame.so but not libmp3lame.so.0.

While it's only a symlink to so.0, the .so is "installed" by
libmp3lame-dev this if you install the latter, it should work.
That being said, having the dev package should not be required.

SoX dev guys: Under Debian and Fedora at least, the .so symlink is
created by the -dev or Devel packages respectively. So I wonder how
other applications using libltdl handle a situation like this. Do they
depend on the -dev/Devel package (which I'd like to avoid at all cost)
or do they workaround the issue by e.g. calling lt_dladvise_ext to get
the OS-specific extension and then look for libname.advised_ext*
before issuing an lt_dlopen on the found files...?

Chris, Doug, Robs, do you have thoughts on this?

Cheers,

-Pascal
-- 
Homepage (http://organact.mine.nu)
Debian GNU/Linux (http://www.debian.org)
COMunité/LACIME: École de technologie supérieure (http://www.comunite.ca)
Integrated Microsystems Laboratory: McGill (http://www.iml.ece.mcgill.ca)



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to