From owner-freebsd-stable Wed Feb 7 7:53:17 2001 Delivered-To: freebsd-stable@freebsd.org Received: from apollo.retec.net (apollo.retec.net [207.99.22.10]) by hub.freebsd.org (Postfix) with ESMTP id D1AE337B491 for ; Wed, 7 Feb 2001 07:52:58 -0800 (PST) Received: from newken (dhcp113.retec.net [207.99.22.113]) by apollo.retec.net (8.9.3/8.9.0) with SMTP id KAA13211; Wed, 7 Feb 2001 10:46:21 -0500 (EST) Message-ID: <02a101c0911d$dd36a940$711663cf@icarz.com> From: "Ken Menzel" To: "Johan Karlsson" Cc: References: <200102071543.f17Fhkb14093@numeri.campus.luth.se> Subject: Re: Bug in man page or ldconfig default behavoir? Date: Wed, 7 Feb 2001 10:51:40 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thanks Johan, Now I understand that the two sentences don't go together: Any additional pathnames on the command line are also pro- cessed. This is the default action when no parameters are given. I expected the -R to be the default when any pathnames appeared on the command line! English can be confusing. Thanks Ken ----------------------------------------------------- Ken Menzel ICQ# 9325188 www.icarz.com kenm@icarz.com ----- Original Message ----- From: "Johan Karlsson" To: "Ken Menzel" Cc: Sent: Wednesday, February 07, 2001 10:43 AM Subject: Re: Bug in man page or ldconfig default behavoir? > 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