From owner-freebsd-hackers@FreeBSD.ORG Fri Jun 27 07:00:01 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8B93B37B401 for ; Fri, 27 Jun 2003 07:00:01 -0700 (PDT) Received: from ams-iport-1.cisco.com (ams-iport-1.cisco.com [144.254.74.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 65C2F43FE3 for ; Fri, 27 Jun 2003 07:00:00 -0700 (PDT) (envelope-from molter@tin.it) Received: from tin.it (144.254.74.60) by ams-iport-1.cisco.com with ESMTP; 27 Jun 2003 16:00:03 +0100 Received: from cisco.com (localhost [127.0.0.1])h5RDvs6T029083 for ; Fri, 27 Jun 2003 15:57:54 +0200 (MET DST) Received: from www.example.org (ssh-ams-1.cisco.com [144.254.74.55]) by cisco.com (8.8.8+Sun/8.8.8) with SMTP id PAA19683 for ; Fri, 27 Jun 2003 15:59:56 +0200 (MET DST) Received: (qmail 953 invoked by uid 1000); 27 Jun 2003 13:59:44 -0000 Date: Fri, 27 Jun 2003 15:59:44 +0200 From: Marco Molteni To: hackers@freebsd.org Message-ID: <20030627135944.GC634@cobweb.example.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i cc: trhodes@freebsd.org cc: peter@freebsd.org Subject: are /etc/ld.so.conf and ld-elf.so.conf still used by ldconfig(8) ? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jun 2003 14:00:01 -0000 On -current, according to the ldconfig man page: ============================================================================== FILES /var/run/ld.so.hints Standard hints file for the a.out dynamic linker. /var/run/ld-elf.so.hints Standard hints file for the ELF dynamic linker. /etc/ld.so.conf Conventional configuration file containing directory names for invocations with -aout. /etc/ld-elf.so.conf Conventional configuration file containing directory names for invocations with -elf. /etc/objformat Determines whether -aout or -elf is the default. If present, it must consist of a single line containing either `OBJFORMAT=aout' or `OBJFORMAT=elf'. ============================================================================== I gave a quick look at the ldconfig source and it seems to me that /etc/ld.so.conf and /etc/ld-elf.so.conf are not used anymore. During system startup ldconfig is passed the path set by "ldconfig_paths" in /etc/defaults/rc.conf. If I am correct, could somebody fix the man page? It is misleading. thanks Marco