[ejabberd] erlang dragging in linux jdk

Randy Bush randy at psg.com
Sat Mar 25 14:00:18 MSK 2006

freebsd 7-current as of today
go to portupgrade

===>   erlang-r10b10,1 depends on file: /usr/local/jdk1.4.2/bin/java - not found

which is not really something i wanted on this server.

and then

===>   jdk-1.4.2p8_3 depends on executable: gm4 - found
===>   jdk-1.4.2p8_3 depends on executable: zip - found
===>   jdk-1.4.2p8_3 depends on file: /usr/local/include/nspr/prtypes.h - found
===>   jdk-1.4.2p8_3 depends on file: /usr/X11R6/lib/libXm.so - found
===>   jdk-1.4.2p8_3 depends on file: /usr/local/linux-sun-jdk1.4.2/bin/javac - not found
===>    Verifying install for /usr/local/linux-sun-jdk1.4.2/bin/javac in /usr/ports/java/linux-sun-jdk14
Warning: This JDK may be unstable. You are advised to use the native
FreeBSD JDK, in ports/java/jdk14.

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-
=> MD5 Checksum OK for j2sdk-1_4_2_10-linux-i586.bin.
=> SHA256 Checksum OK for j2sdk-1_4_2_10-linux-i586.bin.
===>   linux-sun-jdk- depends on file: /compat/linux/etc/redhat-release - found
ELF interpreter /lib/ld-linux.so.2 not found^M
Abort trap
*** Error code 134

More information about the ejabberd mailing list