Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Feb 2001 10:30:42 -0500
From:      "Ken Menzel" <kenm@icarz.com>
To:        <freebsd-stable@FreeBSD.ORG>
Subject:   Bug in man page or ldconfig default behavoir?
Message-ID:  <028901c0911a$ef1e6e20$711663cf@icarz.com>

next in thread | raw e-mail | index | archive | help
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!).

Also the -v switch seems to do nothing (on BSD/OS -v shows the libs
added).

Is there an advantage to not using /etc/ld.so.conf?  Besides the
obvious having lots of configs in rc.conf.

Thanks Ken


-----------------------------------------------------
Ken Menzel  ICQ# 9325188
www.icarz.com  kenm@icarz.com



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?028901c0911a$ef1e6e20$711663cf>