*BSD News Article 28844


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!yeshua.marcam.com!usc!sdd.hp.com!sgiblab!sgigate.sgi.com!olivea!grapevine.lcs.mit.edu!ginger.lcs.mit.edu!wollman
From: wollman@ginger.lcs.mit.edu (Garrett Wollman)
Newsgroups: comp.os.386bsd.questions
Subject: Re: What is ld.so?
Date: 28 Mar 1994 00:44:55 GMT
Organization: MIT Laboratory for Computer Science
Lines: 45
Message-ID: <2n59a7$8sv@GRAPEVINE.LCS.MIT.EDU>
References: <1994Mar27.234719.12349@umr.edu>
NNTP-Posting-Host: ginger.lcs.mit.edu

In article <1994Mar27.234719.12349@umr.edu>,
Robert Henry Birlingmair <rbirling@ee.umr.edu> wrote:
>I just installed the FreeBSD 2.1 BETA binaries from ftp.cdrom.com.
>When I try to run several programs, I get "No ld.so".  What does this
>mean and how do I fix it?  Thanks.

I'll try to answer the questions that you asked, and then answer the
question that you would have asked had you known to ask it.

> What does this mean

What it means is that you tried to run a shared-library binary (i.e.,
anything in /usr/bin or /usr/sbin), and the library startup code was
not able to load `ld.so'.

> What is ld.so?

ld.so is the dynamic run-time link editor, which is primarily
responsible for the loading and relocation of shared libraries.  A
shared-library executable contains a startup routine which attempts to
load ld.so into its address space, and then execute it; ld.so then
finishes the linking process which was only partially done by `ld'
when the program was compiled.

> how do I fix it?

Well, you figure out why ld.so is not accessible to your program.  In
general, this could be almost anything.

> [Question that Robert would have asked had he looked further into
> the matter]

There's a bug in the BETA distribution filesets, which caused the
/usr/lib directory, and a few others, to get extracted with the wrong
permissions.  The command `chmod 755 /usr/lib /usr/libexec /usr/bin
/usr/sbin' should fix it for you, if this is indeed what you are
suffering from.

-GAWollman

-- 
Garrett A. Wollman   | Shashish is simple, it's discreet, it's brief. ... 
wollman@lcs.mit.edu  | Shashish is the bonding of hearts in spite of distance.
formerly known as    | It is a bond more powerful than absence.  We like people
wollman@emba.uvm.edu | who like Shashish.  - Claude McKenzie + Florent Vollant