Re: invalid ldconfig [option]

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: umbe(at)email(dot)com
Cc: pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: Re: invalid ldconfig [option]
Date: 2019-09-23 14:21:40
Message-ID: 2315.1569248500@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

PG Doc comments form <noreply(at)postgresql(dot)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

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Tom Lane 2019-09-23 14:32:46 Re: Fix contributor name-related inconsistencies in release-12.sgml
Previous Message Liudmila Mantrova 2019-09-23 12:23:32 fix tags in v12 Release Notes