Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Sep 1998 20:19:30 +0200
From:      Ollivier Robert <roberto@keltia.freenix.fr>
To:        freebsd-current@FreeBSD.ORG
Subject:   Re: HEADS UP: Today is E-day
Message-ID:  <19980901201930.A18641@keltia.freenix.fr>
In-Reply-To: <Pine.BSF.4.00.9809010942190.353-100000@picnic.mat.net>; from Chuck Robey on Tue, Sep 01, 1998 at 09:47:29AM -0400
References:  <199809010415.OAA23562@cimlogic.com.au> <Pine.BSF.4.00.9809010942190.353-100000@picnic.mat.net>

next in thread | previous in thread | raw e-mail | index | archive | help
According to Chuck Robey:
> /usr/lib in the _LDC, shouldn't I take the "/aout" off now that I've
> upgraded?

No. _LDC is only for *aout* libs because ldconfig is fed with
$_LDC. ldconfig is only for aout libs.
 
> Oddly enough, I checked one of my new executeables in /usr/bin, and ldd
> tells me that it's linked to libs in /usr/lib, even tho /usr/lib itself
> isn't on my _LDC line.  I'm a little confused by this.

That's expected. The dynamic linker knows where to search for libs and if
you want a different path, you either compile with "-Wl,-rpath,<wherever>"
or run with LD_LIBRARY_PATH/LD_RUN_PATH.

The standard libs path is defined in /usr/src/libexec/rtld-elf/rtld.h:

#ifndef STANDARD_LIBRARY_PATH
#define STANDARD_LIBRARY_PATH   "/usr/lib/elf:/usr/lib"
#endif

"-rpath" is the ELF equivalent of the a.out "-R", see 

/usr/src/contrib/binutils/ld/ld.1
ld(1)

While I'm here. Why aren't the binutils man pages installed ?

ld(1) is still a.out's ld.
-- 
Ollivier ROBERT -=- FreeBSD: The Power to Serve! -=- roberto@keltia.freenix.fr
FreeBSD keltia.freenix.fr 3.0-CURRENT #62: Mon Jul 27 20:47:08 CEST 1998


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980901201930.A18641>