Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Sep 2005 18:49:04 +0100
From:      ttw <ttw@cobbled.net>
To:        "Daniel O'Connor" <doconnor@gsoft.com.au>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Linux compat oddness
Message-ID:  <20050922174904.GA16526@eyore.cobbled.net>
In-Reply-To: <200509222239.35312.doconnor@gsoft.com.au>
References:  <200509222239.35312.doconnor@gsoft.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On 22.09-22:39, Daniel O'Connor wrote:
[ ... ]
> I'm trying to get the Xilinx Webpack tools running under FreeBSD..
> 
> I downloaded a bunch of RH Enterprise RPMs for the libraries it needs (
> for the installer anyway) but I am stuck now with..
> 
> [inchoate 22:21] /tmp/Xilinx >/compat/linux/bin/env LD_LIBRARY_PATH=/tmp/Xilinx/lib:/tmp/Xilinx/usr/X11R6/lib:/tmp/Xilinx/usr/lib:/tmp/Xilinx/platform/lin/bin/lin /tmp/Xilinx/platform/lin/xilsetup
> /tmp/Xilinx/platform/lin/xilsetup: error while loading shared libraries: /usr/lib/libcom_err.so.2: ELF file OS ABI invalid
> 
> Which isn't suprising since libcom_err.so.2 is a FreeBSD binary..
> 
> I've branded the xilsetup binary, and even tried setting the fallback branding
> to 3 but it gives the same result.

my general solution to these problems is to ensure i have devfs
mounted in /compat/linux/dev and chroot to /compat/linux.

eliminates any freebsd "interference" and avoids nasty blasting of
bsd libraries and such.

my guess as to your problem is that the installer is searching for
the libraries manually instead of asking the kernel.



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