Date: Thu, 31 Mar 2005 12:16:29 +0200 From: Ulrik Guenther <ulrik@00t.org> To: Michael Hopkins <michael.hopkins@hopkins-research.com> Cc: "freebsd-amd64@freebsd.org" <freebsd-amd64@freebsd.org> Subject: Re: Cross-compiling/porting to Linux Message-ID: <424BCDFD.8050701@00t.org> In-Reply-To: <BE710041.36B6E%michael.hopkins@hopkins-research.com> References: <BE710041.36B6E%michael.hopkins@hopkins-research.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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' > > _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?424BCDFD.8050701>