Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Mar 2005 22:03:28 +0000
From:      Chuck Robey <chuckr@chuckr.org>
To:        Chuck Robey <chuckr@chuckr.org>
Cc:        java@freebsd.org
Subject:   Re: jdk-1.4.2p7 crashes with no indication of why
Message-ID:  <423F44B0.2050702@chuckr.org>
In-Reply-To: <423F43A4.9010604@chuckr.org>
References:  <Pine.GSO.4.43.0503211643400.15881-100000@sea.ntplx.net> <423F43A4.9010604@chuckr.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Chuck Robey wrote:
> Daniel Eischen wrote:
> 
>> On Mon, 21 Mar 2005, Chuck Robey wrote:
>>
>>> I just tried an application, and (after adding /usr/local/jdk1.5.0/bin
>>> to my PATH) got an error about not being able to find libjava.so.  I
>>> checked, that file does exist in /usr/local/jdk1.5.0/jre/lib/amd64, so
>>> the jdk15 seems to be not totally installed, or I'm missing something in
>>> myh environment.  Anyone know what that is?
>>
>>
>>
>> I've only built jdk14 for x86, so I can't offer much more than
>> "ldd(1) is your friend" and "try fiddling with LD_LIBRARY_PATH".
> 
> 
> Well, all of the libs are named in the form "libjava.so", with no number 
> at the end, which might be the reason that ldconfig -m did not bring in 
> any of those libs.  Darn it.
> 
> Just setting an LD_LIBRARY_PATH didn't help.  I suspect that these libs 
> need renaming.
> 

OK. I have some fixes: first. the directory is group-writeable, and that 
breaks liconfig's security, so you need to execute a chmod to fix that. 
  Beyon that, I just copied libjava.so to libjava.so.0, and it's finally 
in the ldconfig cache.

>>
> 
> _______________________________________________
> freebsd-java@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-java
> To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?423F44B0.2050702>