sprof fails to dlopen library
John Levon
levon@movementarian.org
Wed Apr 10 20:29:00 GMT 2002
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
More information about the Libc-alpha
mailing list