View previous topic :: View next topic |
Author |
Message |
fosstux Apprentice
Joined: 01 Oct 2002 Posts: 274 Location: Vienna, Austria
|
Posted: Mon Jun 13, 2005 6:47 am Post subject: Prelinking questions |
|
|
Hi!
I have followed the prelink guide but I have been using the command prelink -afvmR to do it.
But I get errors during the prelink process.
Tzhe types are
Code: | relink: /usr/lib/MozillaThunderbird/xpcshell: Could not find one of the dependencies
prelink: Warning: //usr/lib/libbonobo.so.2 has undefined non-weak symbols
prelink: Could not prelink /usr/kde/3.4/lib64/libDCOP.so.4 because it doesn't use /lib/libgcc_s.so.1, but one of its dependencies has been prelinked against it
prelink: Could not prelink /usr/kde/3.4/lib64/libkscript.so.0 because its dependency /usr/kde/3.4/lib64/libkio.so.4 could not be prelinked
|
I get 494 errors or warnings in total.
Any Ideas?
Thanks _________________ Windows = a 64 bit rewrite for a 32 bit extension to a 16 bit GUI on an
8 bit OS written for a 4 bit architecture by a 2 bit company who can't
stand 1 bit of competition. |
|
Back to top |
|
|
Vogateer n00b
Joined: 27 Jul 2004 Posts: 49 Location: Oklahoma
|
Posted: Mon Jun 13, 2005 4:56 pm Post subject: Get the obvious out of the way... |
|
|
Just to make sure, because some people seem to miss this step, did you compile all the programs with "pic" in your use flags? I believe it is essential that you do this in order to take advantage of prelinking. Sorry to suggest this if you already did it, and hopefully someone else might be able to help you if that's the case, because that's as far as my knowledge goes. Though I know you're going to get some errors, as everyone always does, several hundred sounds like quite a lot. If you didn't add the pic flag, you'd want to add it and "emerge --update --deep --newuse world"
There's also another post in the forum about prelinking, so you might search and find that one, since it might be a bit more up to date.
Here's a link:
https://forums.gentoo.org/viewtopic-t-291749-highlight-prelinking.html |
|
Back to top |
|
|
fosstux Apprentice
Joined: 01 Oct 2002 Posts: 274 Location: Vienna, Austria
|
Posted: Mon Jun 13, 2005 5:30 pm Post subject: |
|
|
Yes, I have done emerge --update --deep --newuse world. _________________ Windows = a 64 bit rewrite for a 32 bit extension to a 16 bit GUI on an
8 bit OS written for a 4 bit architecture by a 2 bit company who can't
stand 1 bit of competition. |
|
Back to top |
|
|
FGA Apprentice
Joined: 07 Apr 2004 Posts: 179
|
Posted: Mon Jun 13, 2005 6:04 pm Post subject: |
|
|
Hi, try to do a "gcc-config" and re-select your gcc version. Be sure your gcc-config version is the latest on portage (at least the lastest stable)
If it doesn't work, that's what I did:
There were two versions of the shared library libgcc_s.so.1, one on /lib (/lib64) and the other on /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/, that confuse prelink.
I did a symbolic link of /lib/libgcc_s.so.1 to /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/libgcc_s.so.1
Now prelink works as it should, and I don't get any problem related to that library. |
|
Back to top |
|
|
|