openbsd-ports
[Top] [All Lists]

Re: ldconfig oddness w/jdk1.2-blackdown

To: Alex Kirk <alex@schnarff.com>
Subject: Re: ldconfig oddness w/jdk1.2-blackdown
From: Matt Behrens <matt@zigg.com>
Date: Tue, 28 Aug 2001 17:35:20 -0400
Cc: ports@openbsd.org
In-reply-to: <20010828195005.4539.qmail@www.schnarff.com>; from alex@schnarff.com on Tue, Aug 28, 2001 at 07:50:05PM +0000
References: <20010828195005.4539.qmail@www.schnarff.com>
Sender: owner-ports@openbsd.org
User-agent: Mutt/1.2.5i
On Tue, Aug 28, 2001 at 07:50:05PM +0000, Alex Kirk wrote:

> I just installed the devel/jdk/1.2-blackdown port. When I attempted to run 
> my new java compiler, I got the message:
> Error: can't find libjava.so. 

Nnggg... I made a patch for this some time ago and forgot to commit
it.  I will take care of it later tonight.

The reason this happens is an inadequacy in the wrapper shell script
that isn't quite sure what to do if have . in your PATH, or if you
invoke java with ./java.  The former case is an unsafe thing to do;
the latter is just something that Sun and/or the Blackdown team
never expected someone to do, I guess. :-)

If you add /usr/local/jdk1.2-blackdown/bin to your path and run
"java -version" to test, you will see that it works just fine.


<Prev in Thread] Current Thread [Next in Thread>