Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.edu.au!munnari.OZ.AU!uunet!in3.uu.net!144.212.95.13!nntprelay.mathworks.com!news.mathworks.com!rill.news.pipex.net!pipex!tank.news.pipex.net!pipex!news.utell.co.uk!usenet From: brian@shift.utell.net (Brian Somers) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: New Installation Date: 21 May 1997 15:06:42 GMT Organization: Awfulhak Ltd. Lines: 34 Message-ID: <5lv322$ae8@ui-gate.utell.co.uk> References: <EAI42z.L80@nonexistent.com> Reply-To: brian@awfulhak.org, brian@utell.co.uk NNTP-Posting-Host: shift.utell.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Newsreader: knews 0.9.8 Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:41366 In article <EAI42z.L80@nonexistent.com>, Andre Chang <wkchang@nyct.net> writes: > Hi, > I recieved my copy of FreeBSD 2.2.1 a few weeks ago and I just got a > chance to install it in my seperate FreeBSD only machine. I did a fresh > installation rather than upgrade from 2.1.7 The machine runs AMD486/p75 > with WD1.6G Hdd. > My problem is that when I try to run c++ programs after compilation the > a.out file does not work. In the a.out file I found the comments: > > /usr/libexec/ld.so^@Couldn't open ^@. > ^@Failure reading ld.so > ^@Bad magic: ld.so > ^@Cannot map ld.so (text) > ^@Cannot map ld.so (data) > ^@Cannot map ld.so (bss) > ^@ld.so failed^@: ^@ You'll find them in every binary (unless it's statically linked). > I'm not familar with configuring the ld.so file with ldconfig. this > being a new installation I do not know if there should be a problem and > where it might be. And help would be greatly appreciated. You don't need to configure it unless you create new shared libraries youself. You havn't said what goes wrong with your a.out. What do you mean by "the a.out file does not work" ? -- Brian <brian@awfulhak.org> <brian@freebsd.org> <http://www.awfulhak.org> Don't _EVER_ lose your sense of humour !