From owner-freebsd-current Tue Sep 1 11:30:59 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA29334 for freebsd-current-outgoing; Tue, 1 Sep 1998 11:30:59 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from frmug.org (frmug-gw.frmug.org [193.56.58.252]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA29271 for ; Tue, 1 Sep 1998 11:30:42 -0700 (PDT) (envelope-from roberto@keltia.freenix.fr) Received: (from uucp@localhost) by frmug.org (8.9.1/frmug-2.3/nospam) with UUCP id UAA03824 for freebsd-current@FreeBSD.ORG; Tue, 1 Sep 1998 20:29:39 +0200 (CEST) (envelope-from roberto@keltia.freenix.fr) Received: by keltia.freenix.fr (VMailer, from userid 101) id 6233D1485; Tue, 1 Sep 1998 20:19:30 +0200 (CEST) Date: Tue, 1 Sep 1998 20:19:30 +0200 From: Ollivier Robert To: freebsd-current@FreeBSD.ORG Subject: Re: HEADS UP: Today is E-day Message-ID: <19980901201930.A18641@keltia.freenix.fr> Mail-Followup-To: freebsd-current@FreeBSD.ORG References: <199809010415.OAA23562@cimlogic.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.94.4i In-Reply-To: ; from Chuck Robey on Tue, Sep 01, 1998 at 09:47:29AM -0400 X-Operating-System: FreeBSD 3.0-CURRENT/ELF ctm#4606 AMD-K6 MMX @ 200 MHz Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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," 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