From owner-freebsd-hackers Sun Dec 1 23:15:10 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 EF37937B401 for ; Sun, 1 Dec 2002 23:15:08 -0800 (PST) Received: from straylight.ringlet.net (office.sbnd.net [217.75.140.130]) by mx1.FreeBSD.org (Postfix) with SMTP id 53E2143EC2 for ; Sun, 1 Dec 2002 23:15:04 -0800 (PST) (envelope-from roam@ringlet.net) Received: (qmail 34428 invoked by uid 1000); 2 Dec 2002 07:14:49 -0000 Date: Mon, 2 Dec 2002 09:14:49 +0200 From: Peter Pentchev To: Terry Lambert Cc: Reinier Kleipool , freebsd-hackers@freebsd.org Subject: Re: question about shared libraries and the library cache. Message-ID: <20021202071449.GB30675@straylight.oblivion.bg> Mail-Followup-To: Terry Lambert , Reinier Kleipool , freebsd-hackers@freebsd.org References: <000001c2991d$05083340$5201a8c0@ovs.kleipool.org> <3DE9E878.D49AC019@mindspring.com> <20021201155956.GA28451@straylight.oblivion.bg> <3DEA96AE.43FEFE22@mindspring.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="XWOWbaMNXpFDWE00" Content-Disposition: inline In-Reply-To: <3DEA96AE.43FEFE22@mindspring.com> User-Agent: Mutt/1.5.1i 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 --XWOWbaMNXpFDWE00 Content-Type: text/plain; charset=windows-1251 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Dec 01, 2002 at 03:09:34PM -0800, Terry Lambert wrote: > Peter Pentchev wrote: > > > Reinier Kleipool wrote: > > > > I have compiled a new library, > > > > and installed it in /usr/local/lib. If I then ask ldconfig(8) to up= dates its > > > > hints file, the new library is not listed in the hints file. In > > > > /usr/local/lib I see two other libraries that also are not listed: > > > > pam_ldap.so pam_smb_auth.so. > >=20 > > I think that /etc/defaults/rc.conf's ldconfig_paths variable has > > contained /usr/local/lib since at least February 1999, which is the > > start of the src/etc/defaults/rc.conf CVS history. >=20 > Apparently does not work, according to the original posting. The original posting did not mention a reboot, but rather a manual ldconfig(8) invocation immediately after installing the libraries. In this case, your advice about ldconfig -m was correct, as I noted in the part of my message that you snipped; but there are other directories to be considered besides /usr/local/lib. G'luck, Peter --=20 Peter Pentchev roam@ringlet.net roam@FreeBSD.org PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 I've heard that this sentence is a rumor. --XWOWbaMNXpFDWE00 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE96whp7Ri2jRYZRVMRAtM2AJkBRET7B5xJxtLPsEEbcH8/3GX3gACfVszF YyEM3LFANSomclbfyx3qJ8g= =J8rH -----END PGP SIGNATURE----- --XWOWbaMNXpFDWE00-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message