invalid ldconfig [option]

Started by PG Bug reporting formover 6 years ago3 messagesdocs
Jump to latest
#1PG Bug reporting form
noreply@postgresql.org

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/11/install-post.html
Description:

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.

Best Regards
umbo

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: PG Bug reporting form (#1)
Re: invalid ldconfig [option]

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

#3Umberto
umbe@email.com
In reply to: Tom Lane (#2)
Re: invalid ldconfig [option]

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

Show quoted text

On 23/09/2019 16:21, Tom Lane wrote:

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