On Mon, 2003-03-24 at 22:53, Steven wrote: > On Monday 24 March 2003 11:53 am, Martin Schlemmer wrote: > > On Mon, 2003-03-24 at 20:49, Steven wrote: > > > > This is what I get with ldd: > > > > -------------------------------------------------------- > > nosferatu linux # ldd /usr/bin/mplayer | grep libc\.so > > libc.so.6 => /lib/libc.so.6 (0x40852000) > > nosferatu linux # > > -------------------------------------------------------- > > > > Are you sure your /lib/libc* stuff is ok? > > No I'm certainly not now. How can I determine that it is okay? > > poretz root # ldd /usr/bin/mplayer | grep libc\.so > /usr/bin/mplayer: error while loading shared libraries: /usr/lib/libc.so.6: > invalid ELF header > poretz root # > > > Also check that you do not have LD_LIBRARY_PATH set to something weird. > > What should it be set to? >
Normally LD_LIBRARY_PATH should not be set. Here is my /lib and
/usr/lib for libc:
----------------------------------------------------------------------
nosferatu linux # ls -l /lib/libc[.-]*
-rwxr-xr-x 1 root root 1461742 Mar 23 06:44
/lib/libc-2.3.2.so
lrwxrwxrwx 1 root root 13 Mar 23 06:44 /lib/libc.so.6
-> libc-2.3.2.so
nosferatu linux # ls -l /usr/lib/libc[.-]*
-rw-r--r-- 1 root root 2685752 Mar 23 06:44 /usr/lib/libc.a
-rwxr-xr-x 1 root root 204 Mar 23 06:44 /usr/lib/libc.so
nosferatu linux #
-----------------------------------------------------------------------
Also attach your /etc/ld.so.{conf,preload}
Regards,
--
Martin Schlemmer
Gentoo Linux Developer, Desktop/System Team Developer
Cape Town, South Africa
signature.asc
Description: This is a digitally signed message part
