Quote:
Originally Posted by nasser
knc1,
I tried it. The output varies depending on whether I use the 'ld-linux' or 'export LD_LIBRARY' method to pre-load the required libraries.
I'm still trying to sort out and understand the output.
With the 'ld-linux' method, the output show a 'Segmentation fault' at the end, after a 'trying libpthread.so' message.
With the 'export LD_LIBRARY' method, the output goes into an endless loop! After I did a Ctrl-C and scrolled back, I could only see a series of 'searching', 'finding' and 'trying' messages.
|
That is interesting.
I haven't seen or heard of that happening, the dynamic loader is a pretty solid piece of software.
To put it into a loop deserves some sort of award (or a message to Ulrich Drepper).
It should have output the complete pathname to each library it was going to try using. That so you can check the specific file that is giving the trouble.
That information is cached, and only output when first encountered.
I.E: you have to capture the head of the output, not the tail.
And -
LD_DEBUG=help
IIRC, that will output a full set of the options (you can use more than one at a time) - maybe =libs is not the most helpful one in this case.