<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title></title>
</head>
<body>
What's needed is the -rpath linker option for the NSS libraries.<br>
Does anyone know why libtool inserts -rpath options for XMLSEC,<br>
LIBXSLT, and LIBXML2 but not for NSS?. Is there some hint<br>
in configure.in that makes -rpath happen?. I couldn't find that hint...<br>
<br>
make logs are below....<br>
<br>
thanks.<br>
-Tej<br>
<br>
/bin/sh <i><b>../libtool</b></i> --mode=link gcc -g -O2
-DXMLSEC_NO_XKMS=1 -o xmlsec1 xmlsec.o crypto.o cmdline.o
../src/nss/libxmlsec1-nss.la ../src/libxmlsec1.la
-L/home/tej/work/libxslt/dist/lib -L/home/tej/work/libxml2/dist/lib
-lxslt -lxml2 -lz -lpthread -lm -L/home/tej/work/libxml2/dist/lib
-lxml2 -lz -lpthread -lm -L/home/tej/work/nss/lib -lnss3
-L/home/tej/work/nspr/lib -lnspr4 -lplds4 -lplc4 <br>
<br>
mkdir .libs<br>
<br>
gcc -g -O2 -DXMLSEC_NO_XKMS=1 -o .libs/xmlsec1 xmlsec.o crypto.o
cmdline.o ../src/nss/.libs/libxmlsec1-nss.so -L/home/tej/work/nss/lib
-L/home/tej/work/nspr/lib -L/home/tej/work/libxslt/dist/lib
-L/home/tej/work/libxml2/dist/lib -lm -lz -lpthread -lm -lm -lpthread
-lz -lm -lz -lpthread -lm -lpthread -lz -lm -lz -lpthread -lm
../src/.libs/libxmlsec1.so -lm -lz -lpthread -lm -lm -lpthread -lz -lm
-lz -lpthread -lm -lpthread -lz -lm -lz -lpthread -lm
/home/tej/work/libxslt/dist/lib/libxslt.so -lm -lz -lpthread -lm -lm
-lpthread -lz -lm -lz -lpthread -lm
/home/tej/work/libxml2/dist/lib/libxml2.so -lpthread -lz -lm -lz
-lpthread -lm -lnss3 -lnspr4 -lplds4 -lplc4 <b><i>-Wl,--rpath
-Wl,/home/tej/work/xmlsec/dist/lib -Wl,--rpath
-Wl,/home/tej/work/libxslt/dist/lib -Wl,--rpath
-Wl,/home/tej/work/libxml2/dist/lib<br>
<br>
</i></b>/usr/bin/ld: warning: libsoftokn3.so, needed by
/home/tej/work/nss/lib/libnss3.so, not found (try using -rpath or
-rpath-link)<br>
/home/tej/work/nss/lib/libnss3.so: undefined reference to
`<a class="moz-txt-link-abbreviated" href="mailto:NSC_ModuleDBFunc@NSS_3.4">NSC_ModuleDBFunc@NSS_3.4</a>'<br>
/home/tej/work/nss/lib/libnss3.so: undefined reference to
`<a class="moz-txt-link-abbreviated" href="mailto:NSC_GetFunctionList@NSS_3.4">NSC_GetFunctionList@NSS_3.4</a>'<br>
/home/tej/work/nss/lib/libnss3.so: undefined reference to
`<a class="moz-txt-link-abbreviated" href="mailto:FC_GetFunctionList@NSS_3.4">FC_GetFunctionList@NSS_3.4</a>'<br>
collect2: ld returned 1 exit status<br>
make[2]: *** [xmlsec1] Error 1<br>
make[2]: Leaving directory `/home/tej/work/xmlsec/apps'<br>
make[1]: *** [all-recursive] Error 1<br>
make[1]: Leaving directory `/home/tej/work/xmlsec'<br>
make: *** [all-recursive-am] Error 2<br>
<br>
</body>
</html>