This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Prelinking and LD_PRELOAD


More infomation: ( now split into two problems )

1) 

The results from 
LD_DEBUG=all LD_PRELOAD=/usr/lib/libfakeroot/libfakeroot.so.0.0.1 moc -v
can be found at http://cvs.gentoo.org/~cretin/preloaded.log.bz2 (22k)
This is the one which results in "unexpected reloc type 0x05"

ldd  moc gives
	libstdc++.so.5 => /usr/lib/gcc-lib/i586-pc-linux-gnu/3.2/libstdc++.so.5
(0x412ec000)
	libm.so.6 => /lib/libm.so.6 (0x4120a000)
	libgcc_s.so.1 => /usr/lib/gcc-lib/i586-pc-linux-gnu/3.2/libgcc_s.so.1
(0x412e2000)
	libc.so.6 => /lib/libc.so.6 (0x41015000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x41000000)

cat /etc/ld.so.conf 
/usr/local/lib
/usr/lib/gcc-lib/i586-pc-linux-gnu/3.2
/usr/lib/opengl/xfree/lib
/usr/X11R6/lib
/usr/qt/3/lib
/usr/kde/3.1/lib

I am at a loss with this error.

2)

The libqt.so.3 prelinking problem was due to an openGL library provinded
by Nvidia. Once I switched back to the Xfree one libqt.so.3 prelinked
fine. I think nvidia overstripped the libraries.

Now the QT binaries prelink fine without errors, except for the normal
error:
Cannot prelink against non-PIC shared library /usr/lib/libz.so.1

If people want more info about the bad nvidia libraries ( I doubt it )
I will investigate further.

Have fun!

-- 
Stefan Jones <cretin@gentoo.org>
Gentoo Linux


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]