[Bug 202041] databases/tdb: tdb.pc contains -Wl,-rpath,/usr/local/lib
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Aug 2 16:05:05 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202041
Bug ID: 202041
Summary: databases/tdb: tdb.pc contains
-Wl,-rpath,/usr/local/lib
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: timur at FreeBSD.org
Reporter: lantw44 at gmail.com
Flags: maintainer-feedback?(timur at FreeBSD.org)
Assignee: timur at FreeBSD.org
This causes every apps using tdb to have -Wl,-rpath,/usr/local/lib when
linking. This can cause problems because ld searches rpath before
LD_LIBRARY_PATH when locating shared libraries dependencies, so rhythmbox fail
to link in jhbuild environment:
/home/lantw44/gnome/devinstall/lib/libgtk-3.so: undefined reference to
`pango_fc_font_map_config_changed'
I have -L/home/lantw44/gnome/devinstall/lib -L/usr/local/lib in LDFLAGS, but ld
still use /usr/local/lib/libpangoft2-1.0.so.0 instead of
/home/lantw44/gnome/devinstall/lib/libpangoft2-1.0.so.0. Removing
-Wl,-rpath,/usr/local/lib fixes the problem.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list