*BSD News Article 95923


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.ou.edu!leto.ou.edu!hammer.uoregon.edu!su-news-hub1.bbnplanet.com!cpk-news-hub1.bbnplanet.com!news.bbnplanet.com!europa.clark.net!newsfeeds.sol.net!uwm.edu!msunews!netnews.upenn.edu!news.cuny.edu!news
From: CHANG ANDRE W <wkchang@nyct.net>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: New Installation
Date: Wed, 21 May 1997 19:37:56 -0400
Lines: 43
Message-ID: <33838754.41C67EA6@nyct.net>
References: <EAI42z.L80@nonexistent.com> <5lv322$ae8@ui-gate.utell.co.uk>
NNTP-Posting-Host: cslabs2c3.engr.ccny.cuny.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 2.0 (X11; I; SunOS 4.1.3 sun4c)
CC: wkchang@nyct.net
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:41388

Brian Somers wrote:
> 
> 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 !

Thanks for replying. The problrm that seems to be happening is that I
compile fine and the a.out file is made but when I type a.out I get the
message:
a.out: not found.
					Andre.
				chan6169<wkchang@nyct.net>