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
6
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=/usr/lib/libprofiler.so CPUPROFILE=cpu_profile ./something

leads to this:

ERROR: ld.so: object '/usr/lib/libprofiler.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.

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.

Revision history for this message
Murray Cumming (murrayc) wrote :

Sorry. I really didn't have libgoogle-perftools-dev installed. I was sure I did.

description: updated
Changed in google-perftools (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.