Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iCPDv-0008H3-LO for pgsql-docs@arkaria.postgresql.org; Mon, 23 Sep 2019 14:21:55 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iCPDu-0007mD-8j for pgsql-docs@arkaria.postgresql.org; Mon, 23 Sep 2019 14:21:54 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iCPDu-0007kA-0H for pgsql-docs@lists.postgresql.org; Mon, 23 Sep 2019 14:21:54 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iCPDq-0003rR-Bo for pgsql-docs@lists.postgresql.org; Mon, 23 Sep 2019 14:21:53 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id x8NELehL002316; Mon, 23 Sep 2019 10:21:40 -0400 From: Tom Lane To: umbe@email.com cc: pgsql-docs@lists.postgresql.org Subject: Re: invalid ldconfig [option] In-reply-to: <156923031039.1116.11189748794741687396@wrigleys.postgresql.org> References: <156923031039.1116.11189748794741687396@wrigleys.postgresql.org> Comments: In-reply-to PG Doc comments form message dated "Mon, 23 Sep 2019 09:18:30 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2314.1569248500.1@sss.pgh.pa.us> Date: Mon, 23 Sep 2019 10:21:40 -0400 Message-ID: <2315.1569248500@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk PG Doc comments form 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