Hi, In an environment without ld.so.hints, I had the problem that loading libxml2.so failed because it did not find liblzma in /usr/local/lib. Adding that directory to -rpath when linking libxml2.so helps.
Is this approach correct? bluhm Index: textproc/libxml/Makefile =================================================================== RCS file: /data/mirror/openbsd/cvs/ports/textproc/libxml/Makefile,v retrieving revision 1.158 diff -u -p -r1.158 Makefile --- textproc/libxml/Makefile 1 Jul 2015 11:26:55 -0000 1.158 +++ textproc/libxml/Makefile 4 Sep 2015 16:07:20 -0000 @@ -14,7 +14,7 @@ MASTER_SITES= http://gd.tuwien.ac.at/pu HOMEPAGE= http://xmlsoft.org/ -REVISION-main= 1 +REVISION-main= 2 REVISION-python= 0 # BSD-like @@ -33,8 +33,9 @@ CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \ --with-html-subdir="libxml2/html" \ --with-iconv="${DEPBASE}" \ --without-threads +CONFIGURE_ENV= LDFLAGS="-Wl,-rpath ${LOCALBASE}/lib" # only used to fetch data during regression test -CONFIGURE_ENV= WGET=/usr/bin/ftp +CONFIGURE_ENV+= WGET=/usr/bin/ftp PSEUDO_FLAVORS= no_python FLAVOR?=
