Re: invalid ldconfig [option]

Umberto <[email protected]> Mon, 23 Sep 2019 22:05:27 +0200
Newsgroups gmane.comp.db.postgresql.devel.documentation
Message-ID <[email protected]>
Dear Tom Lane, I'm sorry.  You are in right. I read not carefully and
I've hop a line. The code is for BSD and not linux.

Regards

Umberto Otto

On 23/09/2019 16:21, Tom Lane wrote:
> PG Doc comments form <[email protected]> writes:
>> Page: https://www.postgresql.org/docs/11/install-post.html
>> In the line  "/sbin/ldconfig -m /usr/local/pgsql/lib" the "-m" is a invalid
>> option. I think is a mispelling of a "-n" option.
> Invalid according to who?  The page says that that version of the
> command is for FreeBSD, NetBSD, and OpenBSD.  I just checked on
> FreeBSD 12: its ldconfig has no -n option, but it does have
>
>       -m      Instead of replacing the contents of the hints file with those
>               found in the directories specified, "merge" in new entries.
>               Directories recorded in the hints file by previous runs of
>               ldconfig are also rescanned for new shared libraries.
>
> I'm hardly a FreeBSD power user, but that does sound like what
> is wanted here.
>
> 			regards, tom lane