From owner-freebsd-java@FreeBSD.ORG Tue Mar 6 08:06:46 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 3DA7816A401 for ; Tue, 6 Mar 2007 08:06:46 +0000 (UTC) (envelope-from dkirhlarov@mail.oilspace.com) Received: from office.oilspace.com (ns2.oilspace.com [194.129.65.230]) by mx1.freebsd.org (Postfix) with ESMTP id EFF2113C46B for ; Tue, 6 Mar 2007 08:06:45 +0000 (UTC) (envelope-from dkirhlarov@mail.oilspace.com) Received: from localhost.mow.oilspace.com (unknown [81.222.156.11]) by office.oilspace.com (Postfix) with ESMTP id 3A5F5136E44 for ; Tue, 6 Mar 2007 07:37:03 +0000 (GMT) Received: from localhost.mow.oilspace.com (localhost [127.0.0.1]) by localhost.mow.oilspace.com (8.13.8/8.13.8) with ESMTP id l258CxiP013402 for ; Mon, 5 Mar 2007 11:13:59 +0300 (MSK) (envelope-from dkirhlarov@localhost.mow.oilspace.com) Received: (from dkirhlarov@localhost) by localhost.mow.oilspace.com (8.13.8/8.13.8/Submit) id l258Cwxb013401 for freebsd-java@freebsd.org; Mon, 5 Mar 2007 11:12:58 +0300 (MSK) (envelope-from dkirhlarov) Date: Mon, 5 Mar 2007 11:12:58 +0300 From: Dmitriy Kirhlarov To: freebsd-java@freebsd.org Message-ID: <20070305081254.GA11596@dkirhlarov.mow.oilspace.com> Mail-Followup-To: freebsd-java@freebsd.org References: <9BDC76ED-A186-40CA-850D-09BF77A395DF@shire.net> <4634.198.144.43.23.1172967500.squirrel@www.potentialtech.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Mailer: Mutt-ng devel (2005-03-13) based on Mutt 1.5.9 X-Operating-System: FreeBSD 6.2-STABLE User-Agent: mutt-ng/devel-r804 (FreeBSD) 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:06:46 -0000 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. WBR -- Dmitriy Kirhlarov OILspace, 26 Leninskaya sloboda, bld. 2, 2nd floor, 115280 Moscow, Russia P:+7 495 105 7245 ext.208 F:+7 495 105 7246 E:DmitriyKirhlarov@oilspace.com Building Successful Supply Chains - One Solution At A Time. www.oilspace.com