From owner-freebsd-java Tue Apr 9 13:25:42 2002 Delivered-To: freebsd-java@freebsd.org Received: from inje.iskon.hr (inje.iskon.hr [213.191.128.16]) by hub.freebsd.org (Postfix) with ESMTP id 9843637B400 for ; Tue, 9 Apr 2002 13:25:36 -0700 (PDT) Received: from flatline ([213.191.147.30]) by mail.iskon.hr (8.11.4/8.11.4/Iskon 8.11.3-1) with SMTP id g39KOYd20648 for ; Tue, 9 Apr 2002 22:24:41 +0200 (MEST) Message-ID: <031501c1e004$ac4d6990$e601a8c0@shara.net> From: "Ivan Voras" To: Subject: php+java update Date: Tue, 9 Apr 2002 22:23:13 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I installed jdk13 from ports and recompiled php. Now, php complains it cannot load some .so library from the jre/lib directory, so i did 'ldconfig -m /usr/local/jdk1.3.1/jre/lib/i386/' and that fixed it. As I understand, the ld.cache is rebuilt every time the machine restarts (?). Where can I put the above library path so that it gets included at all times? But that is not the end of my problems. Now, it complains: Fatal error: Unable to load Java Library /usr/local/jdk1.3.1/jre/lib/i386/libjava.so, error: /usr/local/jdk1.3.1/jre/lib/i386/libjava.so: Undefined symbol "JVM_DoPrivileged" in /usr/home/ivoras/public_html/jver.php on line 4 I did 'strings libjava.so | grep JVM_' and it gives a lot of JVM_* names, but I don't know are they exported or imported symbols (how could I find out?) and generally, how to fix this problem. I assume I will need help of someone who actually knows how the JVM works :) (the error occures when php tries to create a JVM) ---- -------- - Ivan Voras - To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message