Would updating /etc/ld.so.conf with new directory "/usr/lib/nss" and running ldconfig work?
Sean
A. Maitland Bottoms wrote:
There's something going on in newer versions of nss that
shows up as trouble builing and using coolkey:
See reports for Debian Bug#456877 -
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=456877
I figure I'd bring this to the attention of the coolkey gurus.
What's a good plan to fix this? Change Coolkey? Or revert NSS?
-Maitland
FYI - from Debian Bug#456877 discusssion:
Ludovic Rousseau writes:
> Lucas Nussbaum a écrit :
...
> > Relevant part:
> >
> > > make[3]: Entering directory `/build/user/coolkey-1.1.0/src/install'
> > > if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I /usr/include/nss -I /usr/include/nspr/ -g -O2 -MT pk11install.o -MD -MP -MF ".deps/pk11install.Tpo" -c -o pk11install.o pk11install.c; \
> > > then mv -f ".deps/pk11install.Tpo" ".deps/pk11install.Po"; else rm -f ".deps/pk11install.Tpo"; exit 1; fi
> > > /bin/sh ../../libtool --tag=CC --mode=link gcc -g -O2 -o pk11install pk11install.o -lnss3 -lsoftokn3 -ldl -lz
> > > mkdir .libs
> > > gcc -g -O2 -o pk11install pk11install.o -lnss3 -lsoftokn3 -ldl -lz
> > > /usr/bin/ld: cannot find -lsoftokn3
> > > collect2: ld returned 1 exit status
> > > make[3]: *** [pk11install] Error 1
> > > make[3]: Leaving directory `/build/user/coolkey-1.1.0/src/install'
> > > make[2]: *** [all-recursive] Error 1
> > > make[2]: Leaving directory `/build/user/coolkey-1.1.0'
> > > make[1]: *** [all] Error 2
> > > make[1]: Leaving directory `/build/user/coolkey-1.1.0'
> > > make: *** [build-stamp] Error 2
> > > dpkg-buildpackage: failure: debian/rules build gave error exit status 2
>
> The libsoftokn3.so library has moved to /usr/lib/nss/ with nss version
> 3.12.0~1.9b1-1 with the changelog.Debian.gz [1] entry:
> + Install libsoftokn3 and the new libnssdbm3 in /usr/lib/nss.
>
> I tried to hack src/install/Makefile.in to add -L/usr/lib/nss. The build
> works fine but the generated /usr/bin/pk11install binary will not find
> the libsoftokn3.
> I also tried to add -rpath /usr/lib/nss but libtool removed this argument.
>
> I guess the only solution now is to use dlopen().
>
> Mike, as nss maintainer, do you have a better idea/solution?
>
> Thanks,
>
> [1]
> http://packages.debian.org/changelogs/pool/main/n/nss/nss_3.12.0~1.9b1-2/changelog
>
> --
> Dr. Ludovic Rousseau
>
_______________________________________________
Coolkey-devel mailing list
Coolkey-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/coolkey-devel
--
Sean Allin
SPAWAR Network Security
SAIC IISBU
SSC San Diego Tel# 619-553-5869
_______________________________________________
Coolkey-devel mailing list
Coolkey-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/coolkey-devel