libjvm.so not found on amd64 system with freebsd 7

Dino Vliet dino_vliet at yahoo.com
Mon Sep 8 11:22:13 UTC 2008


--- On Mon, 9/8/08, Kevin Downey <redchin at gmail.com> wrote:

From: Kevin Downey <redchin at gmail.com>
Subject: Re: libjvm.so not found on amd64 system with freebsd 7
To: dino_vliet at yahoo.com
Cc: glewis at freebsd.org, java at freebsd.org
Date: Monday, September 8, 2008, 2:13 AM

On Sun, Sep 7, 2008 at 11:23 AM, Dino Vliet <dino_vliet at yahoo.com> wrote:
> Hi all,due to this opera errer I get when I want to test the working of my
java browser plugin I get a message that libjvm.so is not found on my amd64 box
running freebsd 7.The commands I type are:[root at dual /usr/ports/math]# ldd
/usr/local/diablo-jdk1.6.0/jre/lib/amd64/libjava.so
> /usr/local/diablo-jdk1.6.0/jre/lib/amd64/libjava.so:
> /libexec/ld-elf.so.1: /usr/local/diablo-jdk1.6.0/jre/lib/amd64/libjava.so:
Unexpected  inconsistency: dependency libjvm.so not found
> /usr/local/diablo-jdk1.6.0/jre/lib/amd64/libjava.so: exit status 1
> [root at dual /usr/ports/math]# ldd
/usr/local/jdk1.6.0/jre/lib/amd64/libjava.so
> /usr/local/jdk1.6.0/jre/lib/amd64/libjava.so:
> /libexec/ld-elf.so.1: /usr/local/jdk1.6.0/jre/lib/amd64/libjava.so:
Unexpected  inconsistency: dependency libjvm.so not found
> /usr/local/jdk1.6.0/jre/lib/amd64/libjava.so: exit status 1
> [root at dual /usr/ports/math]# whereis libjvm.so
> libjvm.so:
>
> The question is, is there something wrong with my java installation?
> [root at dual /usr/ports/math]# pkg_info | grep Java
> diablo-jdk-1.6.0.07.02 Java Development Kit 1.6.0_07.02
> diablo-jre-1.6.0.07.02 Java Runtime Environment 1.6.0_07.02
> javavmwrapper-2.3.2 Wrapper script for various Java Virtual Machines
> jdk-1.6.0.3p4_3     Java Development Kit 1.6.0
> netbeans55-5.5.1_1  A free and open-source IDE for Java
> weka-3.4.13         Data Mining Software in Java
>
> What should I do to let this opera error message go away?opera: Shared
object "libjvm.so" not found, required by "opera"
>

I wonder if this is related to the dual core + procfs java issues:

http://lists.freebsd.org/pipermail/freebsd-java/2008-March/007346.html

I forget exactly, but when java sees /proc it tries to use some
special file /proc/curfile or something like that, which, uh, on dual
core doesn't work reliably.
-- 
The Mafia way is that we pursue larger goals under the guise of
personal relationships.
 Fisheye

 
 
 
I can confirm that my system is a dual core AMD64 system where I have installed freebsd 7 and have compiled a custom kernel.
 
Brgds




      


More information about the freebsd-java mailing list