building a jdk1.5 package and installing it elsewhere (inside a jail) Re: building jdk15 in a jail -- __mb_cur_max Undefined Symbol

Dmitriy Kirhlarov dimma at higis.ru
Tue Mar 6 08:06:46 UTC 2007


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 at oilspace.com
Building Successful Supply Chains - One Solution At A Time.
www.oilspace.com


More information about the freebsd-java mailing list