From owner-freebsd-questions@FreeBSD.ORG Mon Jan 1 04:09:40 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9E6FA16A412 for ; Mon, 1 Jan 2007 04:09:40 +0000 (UTC) (envelope-from rob@coombs.anu.edu.au) Received: from quokka.dot.net.au (humvee.dot.net.au [202.147.68.10]) by mx1.freebsd.org (Postfix) with ESMTP id 5E7A613C457 for ; Mon, 1 Jan 2007 04:09:40 +0000 (UTC) (envelope-from rob@coombs.anu.edu.au) Received: from [203.129.59.55] (helo=freebsd.connect-a.com.au) by quokka.dot.net.au with esmtp (Exim 3.35 #1 (Debian)) id 1H1BEu-0000Sp-00 for ; Mon, 01 Jan 2007 11:41:20 +1100 Received: from localhost (localhost [127.0.0.1]) by freebsd.connect-a.com.au (8.13.6/8.13.6) with ESMTP id l010fA5v001229 for ; Mon, 1 Jan 2007 11:41:10 +1100 (EST) (envelope-from rob@coombs.anu.edu.au) Date: Mon, 1 Jan 2007 11:41:10 +1100 (EST) From: Rob Hurle X-X-Sender: rob@freebsd.connect-a.com.au To: freebsd-questions@freebsd.org Message-ID: <20070101112333.Y1184@freebsd.connect-a.com.au> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spam-Status: No, score=-1.2 required=5.0 tests=ALL_TRUSTED,AWL,TW_FD autolearn=failed version=3.1.4 X-Spam-Checker-Version: SpamAssassin 3.1.4 (2006-07-25) on freebsd.connect-a.com.au Subject: Information about loader and ldconfig X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Jan 2007 04:09:40 -0000 In diagnosing problems after a recent install of refdb and mysql on my Freebsd 6.1 release system, I came across the directory: /usr/local/libdata/ldconfig which contains files with names like "mysql". Each of these files contains just one line, which is a path to library modules (e.g. "/usr/local/lib/mysql") for that program. Other programs (e.g. mozilla) also have library modules in their own subdirectory in /usr/local/lib, but do not seem to need any files in the ldconfig directory. My query is "why is this"? Is it to do with shared library modules? Why not put entries for all of the subdirectories from /usr/local/lib in the ldconfig directory? Just seeking information, but others may be interested to note that I had to put an entry for the "dbd" subdirectory into the ldconfig directory when installing refdb. Thank you all. Cheers, Rob Hurle ----------------------------------------------------- Rob Hurle Faculty of Asian Studies, ANU Home address and contacts: Tel: +61 2 6247 2397 PO Box 4013 Fax: +61 2 6247 2397 Ainslie Cell phone: 0417 293 603 Australia e-mail: rob@coombs.anu.edu.au -----------------------------------------------------