This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: Strange library dependencies after installing glibc-2.3.2
- From: Andreas Jaeger <aj at suse dot de>
- To: Juergen Rose <rose at rz dot uni-potsdam dot de>
- Cc: libc-alpha at sources dot redhat dot com
- Date: Fri, 04 Apr 2003 14:57:03 +0200
- Subject: Re: Strange library dependencies after installing glibc-2.3.2
- References: <1049451199.18311.37.camel@moen.bioinf.mdc-berlin.de>
Juergen Rose <rose at rz dot uni-potsdam dot de> writes:
> Hello,
>
> until now I installed glibc-2.3.2 succesfully on three linux-2.4.20 PCs
> without problems. When I repeated the procedure on the fourth PC:
>
> ../glibc-2.3.2/configure --prefix=/usr --enable-kernel=current
> --enable-add-ons
>
> 'make' and 'make check' works without problems, but 'make install'
> reports:
>
> test ! -x /usr/src/Libs/glibc-build/elf/ldconfig || LC_ALL=C LANGUAGE=C
> \
> /usr/src/Libs/glibc-build/elf/ldconfig \
> /lib /usr/lib
> CC="gcc" /usr/bin/perl scripts/test-installation.pl
> /usr/src/Libs/glibc-build/
> Use of uninitialized value in string ne at scripts/test-installation.pl
> line 163, <LDD> line 19.
> Library libz is not correctly installed.
> Please check your installation!
> Offending line of ldd output: libz.so.1 => /usr/lib/libz.so.1
> (0x402cd000)
libz? Then your compiler or setup is broken. The testfile created
should not be linked against libz. Have a look at the script
yourself,
> [...]
> If I perform 'ldd /lib/libc*2.3.2*' on the system with the problems, I
> get:
> /lib/libc-2.3.2.so:
> /usr/X11R6/lib/libfreetype.so => /usr/X11R6/lib/libfreetype.so
> (0x40015000)
> /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
> libz.so.1 => /usr/lib/libz.so.1 (0x4007f000)
This is broken. libc should not depend on libfreetype. Check with
readelf the dependencies.
Does one of your envirnoment variables mention libfreetype,
e.g. LDFLAGS, CC or CFLAGS?
Andreas
--
Andreas Jaeger
SuSE Labs aj at suse dot de
private aj at arthur dot inka dot de
http://www.suse.de/~aj