Обсуждение: invalid ldconfig [option]
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
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
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 <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