From owner-freebsd-java@FreeBSD.ORG Mon Mar 21 22:03:55 2005 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BCBBD16A4CF; Mon, 21 Mar 2005 22:03:55 +0000 (GMT) Received: from april.chuckr.org (april.chuckr.org [66.92.151.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4DD6243D55; Mon, 21 Mar 2005 22:03:55 +0000 (GMT) (envelope-from chuckr@chuckr.org) Received: from [66.92.151.195] (july.chuckr.org [66.92.151.195]) by april.chuckr.org (Postfix) with ESMTP id 63F19114C3; Mon, 21 Mar 2005 17:03:41 -0500 (EST) Message-ID: <423F44B0.2050702@chuckr.org> Date: Mon, 21 Mar 2005 22:03:28 +0000 From: Chuck Robey User-Agent: Mozilla Thunderbird 1.0 (X11/20050316) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Chuck Robey References: <423F43A4.9010604@chuckr.org> In-Reply-To: <423F43A4.9010604@chuckr.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: Daniel Eischen cc: Nicolas Gieczewski cc: Ivan Voras cc: java@freebsd.org Subject: Re: jdk-1.4.2p7 crashes with no indication of why X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Mar 2005 22:03:55 -0000 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"