pkgsrc-Bugs archive

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

pkg/37852: linker can't find shared libraries



>Number:         37852
>Category:       pkg
>Synopsis:       linker can't find shared libraries
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jan 23 15:15:00 +0000 2008
>Originator:     John D. Baker
>Release:        4.0_STABLE, pkgsrc-2007Q4
>Organization:
>Environment:
NetBSD ms.dumpsterskunk.net 4.0_STABLE NetBSD 4.0_STABLE (MS) #0: Tue Jan 22 
10:03:50 CST 2008  
sysop%ms.dumpsterskunk.net@localhost:/d0/build/netbsd-4/obj/i386/sys/arch/i386/compile/MS
 i386
>Description:
While building "qt3-tools" and "pango", the following message is
displayed:

*** Warning: linker path does not have real file for library -lXmu.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libXmu and none of the candidates passed a file format test
*** using a regex pattern. Last file checked: 
/d0/build/pkgsrc/x11/qt3-tools/work/.x11-buildlink/lib/libXmu.so.6.2

For qt3-tools, identical messages for -lICE and -lSM are displayed
immediately after this.

While building "cairo", the message for -lICE, -lSM, and -lX11 are
displayed, preceeded by the following:

*** Warning: This system can not link to static lib archive 
/d0/build/pkgsrc/graphics/cairo/work/.buildlink/lib/libXrender.la.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.

Then, while building "pango", the same message about -lX11 in a couple
of places.  Also messages about inability to link to static libs:

/d0/build/pkgsrc/devel/pango/work/.buildlink/lib/libXft.la and
/d0/build/pkgsrc/devel/pango/work/.buildlink/lib/libXrender.la

Chasing the links referenced manually shows that all the files
really exist.

As a result, "qt3-tools" fails linking, and "pango" is installed
broken (missing cairo support) which causes other packages (such
as gtk2+) to fail configuration, etc., etc.
>How-To-Repeat:
On freshly-installed NetBSD-4.0_STABLE/i386, attempt to build all
dependcies leading up to "meta-packages/kde3" (qt3-tools).

Attempt to build all dependencies leading up to "devel/pango".
(Originally trying to build "www/seamonkey", but its configure step
claimed "pango" wasn't installed, due to missing "pangocairo.*" files,
so I built pango separately and discovered the strange behavior.)


Another system seems to be having no problems building kde3, but its
qt3-tools was installed quite some time ago.  I expect it will have
no trouble with seamonkey either, as its cairo/pango were also installed
many months ago.
>Fix:
No clue.  This smacks of x11-links magic and/or libtool voodoo to me.




Home | Main Index | Thread Index | Old Index