From owner-freebsd-current@FreeBSD.ORG Thu Sep 22 17:49:24 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EA4FB16A41F for ; Thu, 22 Sep 2005 17:49:24 +0000 (GMT) (envelope-from fergus@cobbled.net) Received: from ni-mail2.dna.utvinternet.net (mail2.u.tv [194.46.8.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4BC0443D45 for ; Thu, 22 Sep 2005 17:49:23 +0000 (GMT) (envelope-from fergus@cobbled.net) Received: from mail.cobbled.net (unverified [195.218.110.62]) by ni-mail2.dna.utvinternet.net (Vircom SMTPRS 4.1.361.18) with ESMTP id ; Thu, 22 Sep 2005 18:49:20 +0100 Received: from eyore.cobbled.net (localhost [127.0.0.1]) by mail.cobbled.net (8.12.10/8.12.10) with ESMTP id j8MHnIm7016758; Thu, 22 Sep 2005 18:49:18 +0100 (BST) (envelope-from fergus@eyore.public.cobbled.net) Received: (from fergus@localhost) by eyore.cobbled.net (8.12.10/8.12.10/Submit) id j8MHn40Q016757; Thu, 22 Sep 2005 18:49:04 +0100 (BST) (envelope-from fergus) Date: Thu, 22 Sep 2005 18:49:04 +0100 From: ttw To: "Daniel O'Connor" Message-ID: <20050922174904.GA16526@eyore.cobbled.net> Mail-Followup-To: Daniel O'Connor , freebsd-current@freebsd.org References: <200509222239.35312.doconnor@gsoft.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200509222239.35312.doconnor@gsoft.com.au> Cc: freebsd-current@freebsd.org Subject: Re: Linux compat oddness X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Sep 2005 17:49:25 -0000 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.