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]

Prelinking and LD_PRELOAD


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


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