OpenCSW Bug Tracker


Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0002098 [lame] other major always 2007-01-10 07:49 2009-04-12 00:05
Reporter james View Status public  
Assigned To dam
Priority normal Resolution fixed  
Status closed  
Summary 0002098: libraries in a muddle
Description $ ls -lF /opt/csw/lib/libmp3lame*
-rw-r--r-- 1 root bin 559436 Aug 3 2004 /opt/csw/lib/libmp3lame.a
-rw-r--r-- 1 root bin 817 Aug 3 2004 /opt/csw/lib/libmp3lame.la
-rw-r--r-- 3 root bin 463232 Aug 3 2004 /opt/csw/lib/libmp3lame.so.0
-rw-r--r-- 3 root bin 463232 Aug 3 2004 /opt/csw/lib/libmp3lame.so.0.0.0
gyor

There are 2 problems.

[1] The dynamic lib is being installed as a hard link not symbolic.

[2] There is no link from /opt/csw/lib/libmp3lame.so. This means that the static lib is being used and not the dynamic when people build other software. eg, mplayer. Even lame itself doesn\'t use its own library:

$ ldd /opt/csw/bin/sparcv8/lame
    libncurses.so.5 => /opt/csw/lib/sparcv8/libncurses.so.5
    libm.so.1 => /usr/lib/libm.so.1
    libsocket.so.1 => /usr/lib/libsocket.so.1
    libnsl.so.1 => /usr/lib/libnsl.so.1
    libc.so.1 => /usr/lib/libc.so.1
    libdl.so.1 => /usr/lib/libdl.so.1
    libmp.so.2 => /usr/lib/libmp.so.2
    /usr/platform/SUNW,Ultra-60/lib/libc_psr.so.1

I\'d dump the static libs anyway, they are just a waste of space if we all use the dynamic lib. The dynamic lib gives non isaexec programs a chance to use lame\'s ISALIST libs.


Recommend:
[1] sym links from .so and .so.1 to the actual .so.0.0.0 lib file.
[2] dump the static libs
[3] rebuild so to use own lib
[4] update to 3.97
[5] rebuild of packages that think they use lame pacakge but are actually using the static lib, eg, mplayer but I can\'t be sure what they are because they no longer use lame!






Additional Information
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0005956)
dam (administrator)
2009-04-12 00:05

Fixed in 3.98.2,REV=2009.04.09, released to current/


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker