I'm configuring Naviserver like so: export inst_dir=/usr/local/nsd-4.99.6-dtk-1 AUTOCONF=autoconf2.50 ./autogen.sh --prefix=$inst_dir --enable-symbols --enable-rpath --with-tcl=/usr/lib/tcl8.5 --with-zlib=/usr/lib
But to my surprise, even though I specified "--enable-rpath", the build does NOT emit the necessary "-Wl,-rpath,${inst_dir}" flag when calling gcc (or ld). Anybody know why, or how to fix this? Because of that, starting up my nsd immediately fails because it can't find its own libraries: $ /usr/local/nsd-4.99.6-dtk-1/bin/nsd -f -t /usr/local/nsd-4.99.6-dtk-1/conf/nsd-config.tcl /usr/local/nsd-4.99.6-dtk-1/bin/nsd: error while loading shared libraries: libnsd.so: cannot open shared object file: No such file or directory $ ldd /usr/local/nsd-4.99.6-dtk-1/bin/nsd linux-vdso.so.1 => (0x00007fff45594000) libnsd.so => not found libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fefde7ea000) /lib64/ld-linux-x86-64.so.2 (0x00007fefdebce000) Btw, why is "--disable-rpath" the default anyway? -- Andrew Piskorski <a...@piskorski.com> ------------------------------------------------------------------------------ Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ _______________________________________________ naviserver-devel mailing list naviserver-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/naviserver-devel