Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Mar 2007 01:41:15 -0700
From:      "Chad Leigh -- Shire.Net LLC" <chad@shire.net>
To:        freebsd-java@freebsd.org
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
Message-ID:  <E5434AAF-E339-465F-B42E-FAA848238592@shire.net>
In-Reply-To: <20070305081254.GA11596@dkirhlarov.mow.oilspace.com>
References:  <C89E200C-719F-46CB-B1F9-5D840785376A@shire.net> <9BDC76ED-A186-40CA-850D-09BF77A395DF@shire.net> <4634.198.144.43.23.1172967500.squirrel@www.potentialtech.com> <D52B4C7A-67C8-4BC5-9586-EB23286ED0E4@shire.net> <20070305081254.GA11596@dkirhlarov.mow.oilspace.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E5434AAF-E339-465F-B42E-FAA848238592>