Re: Does sprof work on CentOS5?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Wed, Jul 9, 2008 at 1:57 PM, Hywel Richards <hywelbr@xxxxxxxxxxxxxx> wrote:
>   LD_LIBRARY_PATH=. LD_PROFILE=libmy.so ./mymain
...
>   $ sprof libmy.so /var/tmp/libmy.so.profile
>   sprof: failed to load shared object `libmy.so'

Acutally I have no idea of what sprof is or does, but from the error
message above it seems sprof cannot find your library because it is
not in the default library search path. Try this:

$ LD_LIBRARY_PATH=.  sprof libmy.so /var/tmp/libmy.so.profile

Let us know how that goes.

HTH,
Filipe
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux