GCC/binutils shared library search changes?
Was either GCC or binutils (whichever is appropriate) changed between
gcc-2.7.0-2 and gcc-2.7.2-1 or binutils-2.5.2l.20-2 and binutils-2.6-1 so
that it won't find ELF shared libraries with names like libX11.so.6.0,
only libraries with names like libX11.so?
I ask because X has suddenly started statically linking the core binaries
when I do a complete build. It compiles the shared libraries first, and
puts symbolic links in a temorary 'usrlib' directory. This directory
looks like this:
total 0
lrwxrwxrwx 1 sde1000 sde1000 17 Dec 7 18:50 libFS.a ->
../lib/FS/libFS.a
lrwxrwxrwx 1 sde1000 sde1000 19 Dec 7 18:28 libICE.a ->
../lib/ICE/libICE.a
lrwxrwxrwx 1 sde1000 sde1000 24 Dec 7 18:28 libICE.so.6.0 ->
../lib/ICE/libICE.so.6.0
lrwxrwxrwx 1 sde1000 sde1000 21 Dec 7 18:57 libPEX5.a ->
../lib/PEX5/libPEX5.a
lrwxrwxrwx 1 sde1000 sde1000 26 Dec 7 18:57 libPEX5.so.6.0 ->
../lib/PEX5/libPEX5.so.6.0
lrwxrwxrwx 1 sde1000 sde1000 17 Dec 7 18:28 libSM.a ->
../lib/SM/libSM.a
lrwxrwxrwx 1 sde1000 sde1000 22 Dec 7 18:28 libSM.so.6.0 ->
../lib/SM/libSM.so.6.0
lrwxrwxrwx 1 sde1000 sde1000 19 Dec 7 18:26 libX11.a ->
../lib/X11/libX11.a
lrwxrwxrwx 1 sde1000 sde1000 24 Dec 7 18:26 libX11.so.6.0 ->
../lib/X11/libX11.so.6.0
etc.
If this is going to be a permanent change then I can probably hack the
Imakefiles to make extra lib*.so symlinks.
Steve Early
sde1000@cam.ac.uk
Reply to: