From: J.Kraaijeveld at Askesis.nl (Joost Kraaijeveld) Date: Thu, 22 Jun 2006 17:46:51 +0200 Subject: [Pljava-dev] zlib conflict on Debian AMD64 ??? In-Reply-To: <449AABCB.3000403@tada.se> References: <1150963234.5987.11.camel@localhost> <449A52D8.4010208@tada.se> <1150971313.6071.6.camel@localhost> <449A9257.9040608@tada.se> <1150981643.6071.34.camel@localhost> <449A9836.1060909@tada.se> <1150982969.6071.39.camel@localhost> <449AA178.5090806@tada.se> <449AABCB.3000403@tada.se> Message-ID: <1150991211.6071.44.camel@localhost> On Thu, 2006-06-22 at 16:40 +0200, Thomas Hallgren wrote: > Ok, I've reported the bug to Sun. Their kindly informed me that they now have a 3 week (!) > average response time (unless you pay for a support contract). Sigh... > > Anyway, the problem seems to be that the old functions are retained although all functions > has been added under new names. But only on amd64 and only on jdk 1.5.0. > > I tried the 1.6.0 beta on amd64. The problem does not exists there so perhaps that's an > option for you? If not, perhaps you could try and copy the libzip.so from a 1.6.0 beta > release into your current 1.5.0_07. Alas, copying did not work (and it not possible to use a beta product in a production environment): DEBUG: Using integer_datetimes DEBUG: Added JVM option string "-Djava.class.path=/usr/lib/postgresql/8.1/lib/pljava.jar" DEBUG: Added JVM option string "-Dsqlj.defaultconnection=jdbc:default:connection" DEBUG: Added JVM option string "vfprintf" DEBUG: Added JVM option string "-Xrs" DEBUG: Creating JavaVM DEBUG: JavaVM created DEBUG: Getting Backend class pljava.jar java.lang.UnsatisfiedLinkError: getMappedAddr at java.util.zip.ZipFile.getMappedAddr(Native Method) at java.util.zip.ZipFile.(ZipFile.java:207) at java.util.jar.JarFile.(JarFile.java:132) at java.util.jar.JarFile.(JarFile.java:70) at sun.misc.URLClassPath$JarLoader.getJarFile(URLClassPath.java:579) at sun.misc.URLClassPath$JarLoader.(URLClassPath.java:546) at sun.misc.URLClassPath$3.run(URLClassPath.java:324) at java.security.AccessController.doPrivileged(Native Method) at sun.misc.URLClassPath.getLoader(URLClassPath.java:313) at sun.misc.URLClassPath.getLoader(URLClassPath.java:290) at sun.misc.URLClassPath.getResource(URLClassPath.java:160) at java.net.URLClassLoader$1.run(URLClassLoader.java:192) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at java.lang.ClassLoader.loadClass(ClassLoader.java:299) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) WARNING: java.lang.UnsatisfiedLinkError: getMappedAddr DEBUG: Destroying JavaVM... DEBUG: JavaVM destroyed ERROR: Unable to load class org/postgresql/pljava/internal/Backend using CLASSPATH '-Djava.class.path=/usr/lib/postgresql/8.1/lib/pljava.jar' Thanks anyway for the help you offered. -- Groeten, Joost Kraaijeveld Askesis B.V. Molukkenstraat 14 6524NB Nijmegen tel: 024-3888063 / 06-51855277 fax: 024-3608416 web: www.askesis.nl