Re: Linux compat oddness

From: ttw <ttw_at_cobbled.net>
Date: Thu, 22 Sep 2005 18:49:04 +0100
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.
Received on Thu Sep 22 2005 - 15:49:24 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:44 UTC