This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Prelinking and LD_PRELOAD
- From: Stefan Jones <cretin at gentoo dot org>
- To: libc-alpha <libc-alpha at sources dot redhat dot com>
- Date: 15 Nov 2002 19:37:11 +0000
- Subject: Prelinking and LD_PRELOAD
- Organization: Gentoo Linux
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