Bug#632794: Fails to find libnss3.so
Hi, Looking at the source of the macros configure, I am pretty confident that a simple rebuild of the openjdk will fix this bug. The path to the system library is detected by compiling on the fly a c file and get the path to the multi arch libs $CC conftest.c syslibdir=`$LDD a.out | sed -n '/libc\.so./s,.*= */\(@:@^/@:@* \)/.*,\1,p'` For example, on my laptop, the output is: $ ldd a.out linux-vdso.so.1 = (0x7fff77fe1000) libc.so.6 = /lib/x86_64-linux-gnu/libc.so.6 (0x7f2afa5ce000) /lib64/ld-linux-x86-64.so.2 (0x7f2afa973000) Sylvestre -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#632794: Fails to find libnss3.so after multi-arch change in version 3.12.10-2 of libnss3-1d
Setting a symlink does in fact not work. And here is a duplicate of this bug: http://bugs.debian.org/cgi- bin/bugreport.cgi?bug=634058 In short: JDownloader is affected by this bug. and: It [the jre] should probably try to let the dynamic linker do its job. Mike -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#632794: Fails to find libnss3.so after multi-arch change in version 3.12.10-2 of libnss3-1d
Package: openjdk-6-jre-headless Version: 6b18-1.8.7-5 Followup-For: Bug #632794 Providing the correct path in /etc/java-6-openjdk/security/nss.cfg fixes this error. You need to change the nssLibraryDirectory option from /usr/lib to (on my system) /usr/lib/i386-linux-gnu Since I am fairly new to this whole multi-arch thing I don't know a better (generally working) solution but this one Works For Me(tm). HTH CU Micha -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.39-2-686-pae (SMP w/2 CPU cores) Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages openjdk-6-jre-headless depends on: ii ca-certificates-java20110531 Common CA certificates (JKS keysto ii java-common 0.40 Base of all Java packages ii libc6 2.13-10 Embedded GNU C Library: Shared lib ii libcups21.4.6-11+b1 Common UNIX Printing System(tm) - ii libfreetype62.4.4-2 FreeType 2 font engine, shared lib ii libgcc1 1:4.6.1-3GCC support library ii libjpeg62 6b1-2Independent JPEG Group's JPEG runt ii liblcms11.18.dfsg-1.2+b4 Color management library ii libnss3-1d 3.12.10-2Network Security Service libraries ii openjdk-6-jre-lib 6b18-1.8.7-5 OpenJDK Java runtime (architecture ii tzdata-java 2011h-3 time zone and daylight-saving time ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime Versions of packages openjdk-6-jre-headless recommends: ii icedtea-6-jre-cacao 6b18-1.8.7-5 Alternative JVM for OpenJDK, using Versions of packages openjdk-6-jre-headless suggests: ii libnss-mdns 0.10-3.1 NSS module for Multicast DNS name pn sun-java6-fonts none (no description available) ii ttf-baekmuk 2.2-3 Baekmuk series TrueType fonts ii ttf-dejavu-extra 2.33-1 Vera font family derivate with add ii ttf-indic-fonts 1:0.5.12 Metapackage for free Indian langua ii ttf-kochi-gothic 20030809-9 Kochi Subst Gothic Japanese TrueTy ii ttf-kochi-mincho 20030809-9 Kochi Subst Mincho Japanese TrueTy ii ttf-sazanami-gothic 20040629-8 Sazanami Gothic Japanese TrueType ii ttf-sazanami-mincho 20040629-8 Sazanami Mincho Japanese TrueType pn ttf-wqy-microhei | ttf-wqy-ze none (no description available) -- Configuration Files: /etc/java-6-openjdk/security/nss.cfg changed: name = NSS nssLibraryDirectory = /usr/lib/i386-linux-gnu nssDbMode = noDb attributes = compatibility -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#632794: Fails to find libnss3.so after multi-arch change in version 3.12.10-2 of libnss3-1d
Package: openjdk-6-jre-headless Version: 6b18-1.8.7-5 Followup-For: Bug #632794 I'm getting the same issue. Does making a symlink work? It didn't for me, but it could be unrelated. Here's what I get instead: Exception stack is: 1. NSS initialization failed (java.io.IOException) sun.security.pkcs11.Secmod:216 (null) 2. Could not initialize NSS (java.security.ProviderException) sun.security.pkcs11.SunPKCS11:201 (null) 3. Error creating bean with name 'SslConnector': Invocation of init method failed; nested exception is java.security.ProviderException: Could not initialize NSS (org.springframework.beans.factory.BeanCreationException) org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory:1338 (null) 4. Initialisation Failure: Error creating bean with name 'SslConnector': Invocation of init method failed; nested exception is java.security.ProviderException: Could not initialize NSS (org.mule.api.lifecycle.InitialisationException) org.mule.registry.AbstractRegistry:76 (http://www.mulesource.org/docs/site/current2/apidocs/org/mule/api/lifecycle/InitialisationException.html) -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.39-2-686-pae (SMP w/2 CPU cores) Locale: LANG=en_ZA.utf8, LC_CTYPE=en_ZA.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages openjdk-6-jre-headless depends on: ii ca-certificates-java20110531 Common CA certificates (JKS keysto ii java-common 0.40 Base of all Java packages ii libc6 2.13-10 Embedded GNU C Library: Shared lib ii libcups21.4.6-11+b1 Common UNIX Printing System(tm) - ii libfreetype62.4.4-2 FreeType 2 font engine, shared lib ii libgcc1 1:4.6.1-2GCC support library ii libjpeg62 6b1-1The Independent JPEG Group's JPEG ii liblcms11.18.dfsg-1.2+b4 Color management library ii libnss3-1d 3.12.10-2Network Security Service libraries ii openjdk-6-jre-lib 6b18-1.8.7-5 OpenJDK Java runtime (architecture ii tzdata-java 2011h-3 time zone and daylight-saving time ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime Versions of packages openjdk-6-jre-headless recommends: pn icedtea-6-jre-cacao none (no description available) Versions of packages openjdk-6-jre-headless suggests: ii libnss-mdns 0.10-3.1 NSS module for Multicast DNS name pn sun-java6-fonts none (no description available) ii ttf-dejavu-extra 2.33-1 Vera font family derivate with add pn ttf-indic-fonts none (no description available) pn ttf-sazanami-gothic | ttf none (no description available) ii ttf-sazanami-mincho 20040629-8 Sazanami Mincho Japanese TrueType ii ttf-unfonts-core 1.0.2-080608-3 Un series Korean TrueType fonts pn ttf-wqy-microhei | ttf-wq none (no description available) -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org