https://sourceware.org/bugzilla/show_bug.cgi?id=29663
Bug ID: 29663
Summary: gprofng fails to find libgp-collector.so
Product: binutils
Version: 2.39
Status: NEW
Severity: normal
Priority: P2
Component: gprofng
Assignee: vladimir.mezentsev at oracle dot com
Reporter: doko at debian dot org
Target Milestone: ---
seen on a multiarch Linux system (Debian / Ubuntu):
https://bugs.debian.org/1016725
It looks like the *only* way to find the plugin directory is the configuration
file, which currently lists:
# Set path where the gprofng libraries are installed
preload_libdirs ../lib:../lib32:../lib64
Changing that to
preload_libdirs ../lib/x86_64-linux-gnu:../lib:../lib32:../lib64
lets gprofng work (although the configuration file is then architecture
dependent, which creates another problem for an Multi-Arch: all package.
lib32 and lib64 are deprecated on multiarch systems, making this ../lib32
../lib64 biarch dirs obsolete on Debian and Ubuntu.
gprofng should have a default path, derived from the --libdir configure option
which is also used for a lookup. Relying on a config file for default operation
should not be necessary.
--
You are receiving this mail because:
You are on the CC list for the bug.