ERROR: ld.so: object '/usr/lib/libprofiler.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
Bug #1577046 reported by
Murray Cumming
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
google-perftools (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Something seems to be wrong with libprofiler.so, at least in Ubuntu Xenial.
Doing this, for instance:
LD_PRELOAD=
leads to this:
ERROR: ld.so: object '/usr/lib/
I've also tried supplying the -lprofiler option to gcc, but that also seems to have some problem using libprofiler. For instance:
g++ ./something.cc -lprofiler
/usr/bin/ld: cannot find -lprofiler
Admittedly, this is my first attempt to use google-perftools, so maybe I'm doing something obviously wrong.
To post a comment you must log in.
Sorry. I really didn't have libgoogle- perftools- dev installed. I was sure I did.