From owner-freebsd-java@FreeBSD.ORG Tue Mar 6 08:41:17 2007 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3317616A404 for ; Tue, 6 Mar 2007 08:41:17 +0000 (UTC) (envelope-from chad@shire.net) Received: from hobbiton.shire.net (mail.shire.net [166.70.252.250]) by mx1.freebsd.org (Postfix) with ESMTP id 17C7C13C4A8 for ; Tue, 6 Mar 2007 08:41:16 +0000 (UTC) (envelope-from chad@shire.net) Received: from [67.171.127.191] (helo=[192.168.99.68]) by hobbiton.shire.net with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.51) id 1HOVES-0007n4-EC for freebsd-java@freebsd.org; Tue, 06 Mar 2007 01:41:16 -0700 Mime-Version: 1.0 (Apple Message framework v752.2) In-Reply-To: <20070305081254.GA11596@dkirhlarov.mow.oilspace.com> References: <9BDC76ED-A186-40CA-850D-09BF77A395DF@shire.net> <4634.198.144.43.23.1172967500.squirrel@www.potentialtech.com> <20070305081254.GA11596@dkirhlarov.mow.oilspace.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: "Chad Leigh -- Shire.Net LLC" Date: Tue, 6 Mar 2007 01:41:15 -0700 To: freebsd-java@freebsd.org X-Mailer: Apple Mail (2.752.2) X-SA-Exim-Connect-IP: 67.171.127.191 X-SA-Exim-Mail-From: chad@shire.net X-SA-Exim-Scanned: No (on hobbiton.shire.net); SAEximRunCond expanded to false Subject: Re: building a jdk1.5 package and installing it elsewhere (inside a jail) Re: building jdk15 in a jail -- __mb_cur_max Undefined Symbol X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 08:41:17 -0000 On Mar 5, 2007, at 1:12 AM, Dmitriy Kirhlarov wrote: > On Sat, Mar 03, 2007 at 11:22:16PM -0700, Chad Leigh -- Shire.Net > LLC wrote: > >> OK, I had never done this before -- built a package from a port. >> So I did this on the base machine and then copied it into the jail >> and did a pkg_add like so >> >> # pkg_add -P /usr/public -v jdk-1.5.0p4_1.tbz >> >> as I wanted it installed in my local policy dir /usr/public (which >> gets mounted RO in every jail). My 1.4.2 java on my other jail >> server is installed like this (but >> was built inside the jail many moons ago). >> >> Now, when I try to run java I get >> >> # java -version >> Error: could not find libjava.so >> Error: could not find Java 2 Runtime Environment. >> # > > unmount procfs. > It's known bug. Ok, I will have to give it a try. Right now I am building java as a port inside the jail fresh. Will see how that and my pkg version goes with doing this. Thanks! Chad --- Chad Leigh -- Shire.Net LLC Your Web App and Email hosting provider chad at shire.net