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


On Fri, Nov 15, 2002 at 08:42:35PM +0000, Stefan Jones wrote:
> 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.

Can I have the moc binary too?
I will post a patch soon, but would like to see the binary first.

> 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

Which is a build error in libz.so.1.

> If people want more info about the bad nvidia libraries ( I doubt it )

No interest in nvidia binary only stuff, yeah.

	Jakub


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