From owner-freebsd-java Wed Jun 12 13:32:33 2002 Delivered-To: freebsd-java@freebsd.org Received: from recourse.com (mail.recourse.com [206.171.10.25]) by hub.freebsd.org (Postfix) with ESMTP id 6F16F37B404 for ; Wed, 12 Jun 2002 13:32:29 -0700 (PDT) Received: from recourse.com (localhost [127.0.0.1]) by recourse.com (8.12.1/8.12.1) with ESMTP id g5CKVgVI007356; Wed, 12 Jun 2002 13:31:42 -0700 (PDT) Received: from localhost (rross@localhost) by recourse.com (8.12.1/8.12.1/Submit) with ESMTP id g5CKVgAI007347; Wed, 12 Jun 2002 13:31:42 -0700 (PDT) Date: Wed, 12 Jun 2002 13:31:42 -0700 (PDT) From: "Robert F. Ross" X-Sender: rross@recourse.com To: Josh Levine Cc: freebsd-java@FreeBSD.ORG Subject: Re: Apache+PHP+Java In-Reply-To: <3D07AD88.B784C136@levindustries.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 yeah, /usr/compat/linux is where the linux emul stuff lives. I don't know what the story is with the lib not being found, then. Some futzing with ldd and truss might help. The 1.2 and 1.3 jdks for freebsd have both worked for me. It's possible that they require X to be installed on the machine to compile, though. Someone else could probably be of more help on that point. Robert Ross Senior Software Engineer Recourse Technologies, Inc. On Wed, 12 Jun 2002, Josh Levine wrote: > "Robert F. Ross" wrote: > > > > You need a linux libnsl if it's the linux jdk you're running, not a > > freebsd libnsl. Symlinking the wrong platform libs won't help much since > > it's being emulated. The native JDKs are in /usr/ports, but threading/JNI > > don't seem to be as stable in them as with the linux JDK. IANAE. > > Actually, the only libnsl on my system is in /usr/compat/linux/lib - > that's what I symlinked from the /usr/local/lib directory. I assumed > (perhaps incorrectly?) that those were Linux libraries. > > In /usr/ports/java, is anything that doesn't start with 'linux-' > native? I tried building jdk13, but ran into several errors (I believe > related to Motif?) Perhaps I should try an earlier version? > > Thanks for your response, > Josh Levine > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message