From owner-freebsd-hackers Wed Dec 4 13:11:49 2002 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 7E47137B401 for ; Wed, 4 Dec 2002 13:11:47 -0800 (PST) Received: from titan.kleipool.org (e137166.upc-e.chello.nl [213.93.137.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id 79BF843EBE for ; Wed, 4 Dec 2002 13:11:45 -0800 (PST) (envelope-from Reinier@kleipool.org) Received: from io (io.overschie.nl [192.168.1.82]) by titan.kleipool.org (8.11.6/8.11.6) with SMTP id gB4LBgE00166 for ; Wed, 4 Dec 2002 22:11:43 +0100 (CET) (envelope-from Reinier@kleipool.org) From: "Reinier Kleipool" To: Subject: RE: question about shared libraries and the library cache. Date: Wed, 4 Dec 2002 22:11:40 +0100 Message-ID: <004001c29bd9$be04cf70$5201a8c0@ovs.kleipool.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4920.2300 Importance: Normal Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello Gents, ldconfig -r does find other libraries in /usr/local/lib: root@mail:~# ldconfig -r | grep local search directories: /usr/lib:/usr/local/lib 67:-lltdl.1 => /usr/local/lib/libltdl.so.1 68:-ldb3.3 => /usr/local/lib/libdb3.so.3 69:-ldb3_cxx.3 => /usr/local/lib/libdb3_cxx.so.3 70:-llber.2 => /usr/local/lib/liblber.so.2 71:-lldap.2 => /usr/local/lib/libldap.so.2 72:-lldap_r.2 => /usr/local/lib/libldap_r.so.2 73:-lsasl2.2 => /usr/local/lib/libsasl2.so.2 74:-ljpeg.9 => /usr/local/lib/libjpeg.so.9 75:-lpng.5 => /usr/local/lib/libpng.so.5 root@mail:~# but it does not put some files in the hints cache: (Files listed above deleted by hand from the listing below) root@mail:~# ls -l /usr/local/lib/*.so* | grep -v "^l" -rwxr-xr-x 1 root wheel 699643 Dec 1 11:12 /usr/local/lib/libdb-4.1.so* -rwxr-xr-x 1 root wheel 699643 Nov 29 11:32 /usr/local/lib/libdb4_1.so* -rwxr-xr-x 1 root wheel 800336 Dec 1 11:13 /usr/local/lib/libdb_cxx-4.1.so* -r-xr-xr-x 1 root wheel 32216 Nov 23 16:53 /usr/local/lib/pam_ldap.so* -r--r--r-- 1 root wheel 10581 Nov 23 16:50 /usr/local/lib/pam_smb_auth.so root@mail:~# My question is now: "Why those files not???" In my opinion it has something to do with the "format" of those files. It has nothing to do with reboots or upgrades. (it is a clean install of FreeBSD 4.7) Also "ldconfig /usr/lib /usr/local/lib" should create a clean new hintsfile with all libraries in those directories. Any ideas about the way you generate good files and bad libraries??? Kind regards, Reinier To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message