From owner-freebsd-stable Wed Feb 7 7:44: 8 2001 Delivered-To: freebsd-stable@freebsd.org Received: from numeri.campus.luth.se (numeri.campus.luth.se [130.240.197.103]) by hub.freebsd.org (Postfix) with ESMTP id E49C637B401 for ; Wed, 7 Feb 2001 07:43:49 -0800 (PST) Received: from numeri.campus.luth.se (localhost [127.0.0.1]) by numeri.campus.luth.se (8.11.1/8.11.1) with ESMTP id f17Fhkb14093; Wed, 7 Feb 2001 16:43:46 +0100 (CET) (envelope-from k@numeri.campus.luth.se) Message-Id: <200102071543.f17Fhkb14093@numeri.campus.luth.se> X-Mailer: exmh version 2.1.1 10/15/1999 To: "Ken Menzel" Cc: freebsd-stable@FreeBSD.ORG Subject: Re: Bug in man page or ldconfig default behavoir? In-Reply-To: Your message of "Wed, 07 Feb 2001 10:30:42 EST." <028901c0911a$ef1e6e20$711663cf@icarz.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 07 Feb 2001 16:43:45 +0100 From: Johan Karlsson Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At Wed, 07 Feb 2001 10:30:42 EST, "Ken Menzel" wrote: > Hi, > I have couple of questions regarding ldconfig. First according to > the manual in -stable > -R Rescan the previously configured directories. This opens > the > previous hints file and fetches the directory list from > the head- > er. Any additional pathnames on the command line are > also pro- > cessed. This is the default action when no parameters > are given. > However try to add a new directory such as "ldconfig > /usr/local/lib/mysql" and all the other directorys go away as > evidenced by "ldconfig -r". However "ldconfig -R > /usr/local/lib/mysql" does add the library properly. If -R is the > default behavior why is the behavoir different with -R! Is the man > page incorrect or does ldconfig have the wrong default behavior or am > I confused? (I am confused anyway!). Hi You are giving ldconfig a parameter in your first example namle "/usr/local/lib/mysql", hence it does not use -R if you do not tell it to. Try just "ldconfig" and see the result. /Johan K To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message