Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.mel.connect.com.au!news.mel.aone.net.au!news-out.internetmci.com!news.internetMCI.com!newsfeed.internetmci.com!in3.uu.net!netnews.nwnet.net!news.u.washington.edu!root From: "Steven G. Kargl" <kargl@troutmask.apl.washington.edu> Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: EXEC Format error Date: Fri, 25 Oct 1996 14:14:17 -0700 Organization: Applied Physics Lab Lines: 28 Message-ID: <32712DA9.41C67EA6@troutmask.apl.washington.edu> References: <54r29p$hs6@newsbf02.news.aol.com> NNTP-Posting-Host: troutmask.apl.washington.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 3.0Gold (X11; I; FreeBSD 2.2-CURRENT i386) To: RThomasii <rthomasii@aol.com> RThomasii wrote: > > I have a program which was linked on a SCO unix environment. I TARed it > from SCO unix to BSD. When I try to execute it now on BSD I get: > > "exec format error. Wrong Architecture." > > Am I doing something wrong ?? how do I get around this ?? > > I cannot re-link it because it is a vendor package..... ;-) Which version of FreeBSD are you using? Under FreeBSD-current (or a 2.2 SNAP), you need to look in /etc/sysconfig for # Set to YES if you want ibcs2 (SCO) emulation loaded at startup ibcs2=NO This is not turned on by default. So, change the variable and reboot your system. You might need to rebuild your kernel. man 8 ibcs2 -- Steve finger kargl@troutmask.apl.washington.edu http://troutmask.apl.washington.edu/~kargl/sgk.html