Date: Sun, 02 Aug 2015 16:05:04 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 202041] databases/tdb: tdb.pc contains -Wl,-rpath,/usr/local/lib Message-ID: <bug-202041-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
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@FreeBSD.org Reporter: lantw44@gmail.com Flags: maintainer-feedback?(timur@FreeBSD.org) Assignee: timur@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-202041-13>