The libxml2 port installs lib/python2.3/site-packages/libxml2mod.so which lists /usr/ports/textproc/libxml2/work/libxml2-2.6.5/.libs in its RPATH. This shouldn't happen. How-To-Repeat: install libxml2 package readelf -d /usr/local/lib/python2.3/site-packages/libxml2mod.so | grep RPATH
Responsible Changed From-To: freebsd-ports-bugs->gnome Over to libxml2 maintainers.
State Changed From-To: open->closed This is a noble effort you're undertaking, but this bug is a bit misplaced. The problem lies in libtool (and it's not just FreeBSD-specific). Libtool will add all -L directories to RPATH (which is wrong IMHO). Libtool should be patched to honor its own hardcode_minus_L variable, and not hardcode those paths if not requested. Please take this up with the libtool developers. If you do get a patch that can be applied to FreeBSD, please send it to our libtool maintainer, ade. Thanks.
State Changed From-To: closed->open Re-open PR for the good news.
State Changed From-To: open->closed After anoter attempt to beat the monster we found the solution. Please update your ports tree. This should be fixed now. Thanks to marcus for on-line collaboration.