Prelinking and LD_PRELOAD

Stefan Jones cretin@gentoo.org
Fri Nov 15 11:52:00 GMT 2002


Dear Sirs,

	I have started experimenting with prelink. I have the latest release
versions of gcc, binutils and glibc. ( 3.2 / 2.13.90.0.10 / 2.3.1 )
I have prelinked my entire system with only one error. Everything worked
as advertised.

Here is the problem:

If you attempt to prelink QT, most files will fail to do so with errors
like:

prelink: linguist: Could not parse `linguist: error while loading shared
libraries: linguist: cannot open shared object file: No such file or
directory'

and

prelink: libqt.so.3: Dependency tracing failed

This is fine, you cannot have everything!

But you can prelink /usr/qt/3/bin/moc, their header file creator.
But when you run moc with LD_PRELOAD set then you get the following,

moc: error while loading shared libraries: unexpected reloc type 0x05

Is this a known problem, incompatabiltiy with QT, or plain user error?

Many thanks for reading,

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



More information about the Libc-alpha mailing list