From owner-freebsd-amd64@FreeBSD.ORG Thu Mar 31 10:16:28 2005 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7A45116A4FB for ; Thu, 31 Mar 2005 10:16:28 +0000 (GMT) Received: from post.00t.org (feynman.00t.org [217.160.135.158]) by mx1.FreeBSD.org (Postfix) with ESMTP id E327C43D55 for ; Thu, 31 Mar 2005 10:16:27 +0000 (GMT) (envelope-from ulrik@00t.org) Received: from [172.24.0.14] (pD9E1F9E4.dip.t-dialin.net [217.225.249.228]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by post.00t.org (Postfix) with ESMTP id 21E7C192BD; Thu, 31 Mar 2005 12:16:26 +0200 (CEST) Message-ID: <424BCDFD.8050701@00t.org> Date: Thu, 31 Mar 2005 12:16:29 +0200 From: Ulrik Guenther User-Agent: Mozilla Thunderbird 1.0 (X11/20050309) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Michael Hopkins References: In-Reply-To: X-Enigmail-Version: 0.89.6.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: "freebsd-amd64@freebsd.org" Subject: Re: Cross-compiling/porting to Linux X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Mar 2005 10:16:28 -0000 Hi Michael, the following commands have to be issued for correct installation of the packages: mkdir /compat/linux cd /compat/linux tar xvpzf /somewhere/aaa_base-10.0.0-noarch-1.tgz sh install/doinst.sh rmdir dev home root tmp var/tmp tar xvpzf /somewhere/aaa_elflibs-9.2.0-i486-1.tgz sh install/doinst.sh tar xvpzf /somewhere/glibc-solibs-2.3.2-i486-6.tgz !!! sed -e 's,/sbin/ldconfig,/nonexistent,g' -e 's,cp -a,cp -p,g' -i '' install/doinst.sh sh install/doinst.sh tar xvpzf /somewhere/x11-6.7.0-i486-4.tgz sh install/doinst.sh echo '/usr/X11R6/lib' >etc/ld.so.conf brandelf -t Linux sbin/ldconfig sbin/ldconfig The sed command (before which I put the three !) is of utmost importance, otherwise one *will* get the error you got. If you have done all correctly, just try it again, it's a bit tricky. I already used this procedure on about three installations (two i386 and one amd64) and for me it works better than the redhat rpms from the ports. But I have to say that I had the same problem like you once, I think it was on the amd64 machine, I tried it again and it worked very well. Have you used Slackware 10 or 10.1 by the way? Have fun ;) Ulrik Michael Hopkins wrote: > Hmmm... > > All Linux commands fail with this :o{ > > root@Athlon /usr/compat/linux/usr/bin # ./gcc -v > > ELF interpreter /lib/ld-linux.so.2 not found > Abort trap > > > I wonder if this is to do with the error message I got when running this at > the end of section 2? > > sbin/ldconfig > > M > > _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ > > _/ _/ _/_/_/ Hopkins Research Ltd > _/ _/ _/ _/ > _/_/_/_/ _/_/_/ http://www.hopkins-research.com/ > _/ _/ _/ _/ > _/ _/ _/ _/ 'touch the future' > > _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ > >