[ale] NetsRAPE crash X.

Steven A. DuChene sad at sduchene.mindspring.com
Sun Jun 23 22:39:33 EDT 1996


Jim wrote:
> I get similar output from ldd on an aout version of Netscape, but when I
> run ldd on the ELF version of Netscape, it tells me the following
> libraries are not found:
> 
> libXt.so.6
> libXpm.so.4
> libX11.so.6

If you do "file full_path_library" for each of the above libraries, what do
you get? On a properly configured ELF system these should be as follows:

sduchene:/home/sad/News# file /usr/X11R6/lib/libXt.so.6.0
/usr/X11R6/lib/libXt.so.6.0: ELF 32-bit LSB dynamic lib i386 (386 and up) Version 1

sduchene:/home/sad/News# file /usr/X11R6/lib/libXpm.so.4.7
/usr/X11R6/lib/libXpm.so.4.7: ELF 32-bit LSB dynamic lib i386 (386 and up) Version 1

sduchene:/home/sad/News# file /usr/X11R6/lib/libX11.so.6.1
/usr/X11R6/lib/libX11.so.6.1: ELF 32-bit LSB dynamic lib i386 (386 and up) Version 1

I.E. they should be ELF libraries. Also there should exist two links for each one

sduchene:/home/sad/News# ll /usr/X11R6/lib/libX11.so*
lrwxrwxrwx   1 root     root           13 May 25 14:26 /usr/X11R6/lib/libX11.so -> libX11.so.6.1*
lrwxrwxrwx   1 root     root           13 May 19 13:40 /usr/X11R6/lib/libX11.so.6 -> libX11.so.6.1*
-rwxr-xr-x   1 root     root       704487 May 14 17:31 /usr/X11R6/lib/libX11.so.6.1*

The libX11.so.6 link to libX11.so.6.1 (or libX11.so.6.0 for X11R6 instead of my X11R6.1)
gets made by ldconfig but ldconfig hasn't been updated yet to make the libX11.so link
yet that is required by binutils-2.6.0.12 & 2.6.0.14  This other link I had to go around
and make by hand so I could get ld to dynamically link any executables I was trying to
compile after the upgrade.

> 
> All of these exist in /usr/X11/lib as sym links to their updated
> versions. I went back and rebuilt the links, just in case. The same
> result. It thinks these libraries are not there. The latest libraries are
> all on my machine and yes, I ran ldconfig each time I made a change. It
> can't be a matter of upgrading to the latest GCC--I have 2.7.2--or the
> latest ld.so or the latest libc or any of that. I have upgraded until I
> have run out of things to upgrade. I believe this is related to the
> problem I have of nothing compiling. The right libraries are not linked
> at compile time, so it just bombs (see 2.0 no go!). This is my last
> gallant attempt to compile 2.0 before I give up and start downloading
> Debian 1.1. Any ideas here?
> 
	What do you have in your ld.so.conf file in /etc ?
It should look like:

sduchene:/home/sad/News# cat /etc/ld.so.conf
/usr/local/lib
/usr/X11R6/lib
/usr/X11/lib
/usr/openwin/lib
/usr/i486-linuxaout/lib
/lib


-- 
Steven A. DuChene   Linux Weenie!  http://www.mindspring.com/~sduchene

		isollae - loneliness in the face of beauty
		    -- Sean Russell, "World Without End"






More information about the Ale mailing list