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]

Re: sprof fails to dlopen library


On Wed, Apr 10, 2002 at 08:51:51PM -0400, Daniel Jacobowitz wrote:

> Hmm... if the dlopen() failed, could it be that libAiksaurus depends on
> some other symbols being evailable?

Ah, it's a C++ library dynamically linked against libstdc++.

> What was the printed error message?

sprof: failed to load shared object `libAiksaurus.so'

Indeed it looks like it fails to find e.g. cerr :

moz moz 843 LD_DEBUG=all sprof libAiksaurus.so 2>&1 | grep binding | grep cerr
moz moz 844

then,

moz moz 854 LD_PRELOAD=/usr/lib/libstdc++-libc6.2-2.so.3 sprof libAiksaurus.so /var/tmp/libAiksaurus.so.0.profile

is successful !

Thanks Daniel (*again*).

regards
john

p.s. I am correct in believing there is no documentation for sprof right ?

-- 
"I never understood what's so hard about picking a unique
 first and last name - and not going beyond the 6 character limit."
 	- Toon Moene


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