Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Feb 2008 22:22:33 +0100
From:      =?ISO-8859-1?Q?Eirik_=D8verby?= <ltning@anduin.net>
To:        FreeBSD Stable <freebsd-stable@freebsd.org>
Subject:   7.0, amd64: Wrong files installed into jails?
Message-ID:  <D3D294C7-4DE2-42A5-B4FC-E7B14F488DD6@anduin.net>

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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D3D294C7-4DE2-42A5-B4FC-E7B14F488DD6>