pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/46016: graphics/giflib insists on using native X11 libraries



>Number:         46016
>Category:       pkg
>Synopsis:       graphics/giflib insists on using native X11 libraries
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Feb 13 15:30:00 +0000 2012
>Originator:     Jörn Clausen
>Release:        
>Organization:
University of Bielefeld
>Environment:
>Description:
When compiling graphics/giflib on Solaris, the resulting shared object 
references native X11 libraries, although X11_TYPE is modular:

$ ldd /usr/pkgsrc/20110926/lib/libgif.so
        libSM.so.6 =>    /usr/pkgsrc/20110926/lib/libSM.so.6
        libICE.so.6 =>   /usr/pkgsrc/20110926/lib/libICE.so.6
        libsocket.so.1 =>        /lib/libsocket.so.1
        libnsl.so.1 =>   /lib/libnsl.so.1
        libX11.so.4 =>   /usr/lib/libX11.so.4
        libc.so.1 =>     /lib/libc.so.1
        libgcc_s.so.1 =>         /usr/pkgsrc/20110926/gcc34/lib/libgcc_s.so.1
        libmp.so.2 =>    /lib/libmp.so.2
        libmd.so.1 =>    /lib/libmd.so.1
        libscf.so.1 =>   /lib/libscf.so.1
        libXext.so.0 =>  /usr/openwin/lib/libXext.so.0
        libdoor.so.1 =>  /lib/libdoor.so.1
        libuutil.so.1 =>         /lib/libuutil.so.1
        libgen.so.1 =>   /lib/libgen.so.1
        libm.so.2 =>     /lib/libm.so.2

Note that only libX11 is taken from /usr/lib (which then references 
usr/openwin/lib/libXext.so.0), but libSM and libICE are taken from pkgsrc.

Also note that giflib on NetBSD does not use X11 at all:

$ ldd /usr/pkg/lib/libgif.so
/usr/pkg/lib/libgif.so:
        -lc.12 => /usr/lib/libc.so.12

probably because none of the paths checked in configure contains X11 libraries.
>How-To-Repeat:

>Fix:
Disable use of X11 libraries completely? They don't seem to be necessary.



Home | Main Index | Thread Index | Old Index