Public bug reported:
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.
** Affects: google-perftools (Ubuntu)
Importance: Undecided
Status: Invalid
** Description changed:
- Something seems to be wrong with libprofiler.so
+ 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:
- 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
+ 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.
+ Admittedly, this is my first attempt to use google-perftools, so maybe
+ I'm doing something obviously wrong.
** Changed in: google-perftools (Ubuntu)
Status: New => Invalid
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1577046
Title:
ERROR: ld.so: object '/usr/lib/libprofiler.so' from LD_PRELOAD cannot
be preloaded (cannot open shared object file): ignored.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/google-perftools/+bug/1577046/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs