Subject: Re: shared libs
To: nm <>
From: Jason Thorpe <>
List: port-alpha
Date: 05/18/1998 14:04:01
On Sun, 17 May 1998 23:56:38 -0400 
 nm <> wrote:

 > why is there no ldconfig?

Heh, this has been hashed out quite a lot on other mailing lists, but
the short answer is:

	Because ELF shared library search semantics are different
	than a.out shared library search semantics.

ldconfig builds a hints database which is unnecessary (and many would
say undesirable) for ELF.

 > can i use /etc/ to specify a search path for where
 > various shared libs are hidden?  are there alternatives to this?

Right now, you use -rpath for the linker at link time, like SVR4 (the
origin of ELF).

Jason R. Thorpe                             
NASA Ames Research Center                            Home: +1 408 866 1912
NAS: M/S 258-5                                       Work: +1 650 604 0935
Moffett Field, CA 94035                             Pager: +1 650 428 6939