I am also having this problem. I'm trying to profile libcurl in Ubuntu 16.04 LTS and I get this:
export LD_PROFILE_OUTPUT=`pwd` export LD_PROFILE=libcurl.so.4 src/.libs/lt-curl google.com > /dev/null sprof lib/.libs/libcurl.so.4 libcurl.so.4.profile -p >log
_dl_open: Assertion `_dl_debug_initialize (0, args.nsid)->r_state == RT_CONSISTENT' failed!
I compiled with -fno-omit-frame-pointer -g -pg in CFLAGS and CXXFLAGS
I am also having this problem. I'm trying to profile libcurl in Ubuntu 16.04 LTS and I get this:
export LD_PROFILE_ OUTPUT= `pwd` libcurl. so.4 libcurl. so.4 libcurl. so.4.profile -p >log
export LD_PROFILE=
src/.libs/lt-curl google.com > /dev/null
sprof lib/.libs/
_dl_open: Assertion `_dl_debug_ initialize (0, args.nsid)->r_state == RT_CONSISTENT' failed!
I compiled with -fno-omit- frame-pointer -g -pg in CFLAGS and CXXFLAGS