Re: invalid ldconfig [option] - Mailing list pgsql-docs

From Tom Lane
Subject Re: invalid ldconfig [option]
Date
Msg-id 2315.1569248500@sss.pgh.pa.us
Whole thread Raw
In response to invalid ldconfig [option]  (PG Doc comments form <noreply@postgresql.org>)
Responses Re: invalid ldconfig [option]  (Umberto <umbe@email.com>)
List pgsql-docs
PG Doc comments form <noreply@postgresql.org> 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



pgsql-docs by date:

Previous
From: Liudmila Mantrova
Date:
Subject: fix tags in v12 Release Notes
Next
From: Tom Lane
Date:
Subject: Re: Fix contributor name-related inconsistencies in release-12.sgml