[6980] in testers

home help back first fref pref prev next nref lref last post

9.4 Linux problems due to duplicated libs in /usr/lib, /usr/athena/lib

daemon@ATHENA.MIT.EDU (Alex T Prengel)
Mon May 16 01:40:35 2005

Message-Id: <200505160540.j4G5eNV7001396@dit.mit.edu>
To: testers@MIT.EDU
cc: alexp@MIT.EDU
Date: Mon, 16 May 2005 01:40:23 -0400
From: Alex T Prengel <alexp@MIT.EDU>

Hi,

I've run into issues in compiling applications (specifically, gnumeric) on 
Linux Athena 9.4 that will probably affect other users too.

It seems that a substantial number of gnome libraries (and possibly
others) are duplicated in /usr/lib and /usr/athena/lib, but with older
versions in the latter- I presume because in 9.3 they weren't part of
the RedHat release (or our version thereof, anyway), but in 9.4 they
are.

The problem is that with LD_LIBRARY_PATH set to /usr/athena/lib and with 
/usr/athena/bin earlier in the path than /usr/bin, configure finds the
older versions first and thinks they're too old to use- when in fact newer
versions are there. I had to both:

1. unset LD_LIBRARY_PATH and
2. put /usr/bin ahead of /usr/athena/bin
for configure to find the newer libraries. I think the path issue is because
configure should use /usr/bin/pkg-config instead of /usr/athena/bin/pkg-config.

Also at run time I had to unset LD_LIBRARY_PATH in the launch environment
to avoid picking up the wrong libraries again.

I think the right thing to do is to remove from /usr/athena/lib (and
/usr/athena/include, /usr/athena/bin etc.) all libraries and binaries for
which newer versions are now included in the RedHat release.

                                     Alex
 

home help back first fref pref prev next nref lref last post