Jeffrey Walton wrote: > /bin/sh ../libtool --tag=CC --mode=link gcc -g2 -O2 -fPIC -pthread > -L/usr/local/lib -Wl,-R,'$ORIGIN/../lib' -Wl,-R,/usr/local/lib > -Wl,--enable-new-dtags
Did you specify -Wl,--enable-new-dtags, or did it come out of libtool? Does the NetBSD dynamic loader support DT_RUNPATH? [1] says that the option --enable-new-dtags is meant for GNU systems. Bruno [1] https://en.wikipedia.org/wiki/Rpath