7.0, amd64: Wrong files installed into jails?

Eirik Øverby ltning at anduin.net
Mon Feb 11 21:22:36 UTC 2008


Hi,

I've created some jails on FreeBSD 7-RC* now, and I realized there  
must be some kind of problem when I tried to install and run diablo- 
jdk 1.5 from the freebsdfoundation packages. It complains about

/libexec/ld-elf.so.1: /usr/local/lib/compat/pkg/libz.so.3: unsupported  
file layout

and file(1) returns

/usr/local/lib/compat/pkg/libz.so.3: ELF 32-bit LSB shared object,  
Intel 80386, version 1 (FreeBSD), stripped


On the host, which has been upgraded from 6.2 to 7.0-RC1 using cvsup++ 
+, Java runs just fine, and finds its libraries in /lib (for  
instance). Presumably because they are still left there:

ls -la /lib/libz.*
-r--r--r--  1 root  wheel   79824 Jun 16  2005 /lib/libz.so.2
-r--r--r--  1 root  wheel   81448 Apr 28  2007 /lib/libz.so.3
-r--r--r--  1 root  wheel   83648 Jan 28 09:02 /lib/libz.so.4

There are no compat6x-packages installed anywhere, and even installing  
the compat6x-amd64 package in the jail does not change anything.

Does installworld to a "clean" target install the i386 binaries  
instead of the amd64 binaries to the /usr/local/lib/compat/ tree??


With best regards,
/Eirik


More information about the freebsd-stable mailing list