Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Jan 2005 19:00:54 +0200
From:      Alexey Zelkin <phantom@FreeBSD.org.ua>
To:        Eduardo <edulsa@quimica.ufpr.br>
Cc:        java@freebsd.org
Subject:   Re: about linux binaries error
Message-ID:  <20050131170054.GA485@phantom.cris.net>
In-Reply-To: <41FDF612.90807@quimica.ufpr.br>
References:  <41FDF612.90807@quimica.ufpr.br>

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

On Mon, Jan 31, 2005 at 09:10:42AM +0000, Eduardo wrote:
> Sirs
> 
> 	I am trying to install java in FreeBSD (4.11-RELEASE). I have 
> 	installed linux_base-7 (and dependencies), linprocs is in my /etc/fstab 
> (and it is mounted too). However, i got the error message above when "make 
> clean install" is typed. Any hints.
> 
> Thanks in advance
> 
> 	Eduardo
> 
> 
> -------- Original Message --------
> Date: Mon, 31 Jan 2005 09:07:30 +0000
> From: root@laplace.quimica.ufpr.br (Eduardo Lemos de Sa)
> To: Eduardo <edulsa@laplace.quimica.ufpr.br>
> 
> This Java VM will attempt to obtain some system information by
> accessing files in linux's procfs.  You must install the Linux
> emulation procfs filesystem for this to work correctly.  The JVM
> will exhibit various problems otherwise.  This can be accomplished
> by adding the following line to your /etc/fstab file:
> 
>  linprocfs   /compat/linux/proc   linprocfs   rw   0  0
> 
> and then, as root, executing the commands:
> 
> kldload linprocfs
> mount /compat/linux/proc
> 
> ======================================================================
> ===>  Vulnerability check disabled, database not found
> ===>  Extracting for linux-sun-jdk-1.4.2.06_1
> => Checksum OK for j2sdk-1_4_2_06-linux-i586.bin.
> ===>   linux-sun-jdk-1.4.2.06_1 depends on file: 
> /compat/linux/lib/libc.so.6 - found
> ELF binary type "0" not known.

It means what linux emulation is not enabled.  Load linux.ko using 
kldload utilitty and restart build.

> Abort trap
> *** Error code 134
> 
> Stop in /usr1/ports/java/linux-sun-jdk14.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050131170054.GA485>