Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mb7Qv-0004oB-3E for pgsql-hackers@arkaria.postgresql.org; Thu, 14 Oct 2021 20:34:33 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mb7Qt-0006d2-Om for pgsql-hackers@arkaria.postgresql.org; Thu, 14 Oct 2021 20:34:31 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mb7Qr-0006cs-R8 for pgsql-hackers@lists.postgresql.org; Thu, 14 Oct 2021 20:34:31 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mb7Qj-0006cL-By for pgsql-hackers@postgresql.org; Thu, 14 Oct 2021 20:34:28 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 524445C0124; Thu, 14 Oct 2021 16:34:18 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Thu, 14 Oct 2021 16:34:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= date:from:to:cc:subject:in-reply-to:references:message-id :mime-version:content-type:content-transfer-encoding; s=fm2; bh= kOkB2Icz3OrXgrNYXvwuo4iiaZn3Wn6z8C4mXTQtqEs=; b=tehe7Y6l3W+KTBHR HbCV7QHwHkNd7/YV1Wrkb9eNJa/RVbEnnVA2oWyhJCYNoKqVhFMu/PaUDb1sdLLP nQ6yBXqKSy3OTGjpsGo7hnyCA0gBJ4PfWdJNsFZqs2pr8eAo+hr1THypaMof7BpM zWs3APN26Qnp3aEQnKx01zet5paQ0of/h4Bbw5jqZjNtuZXPwrrJ/b9c43tsW0sm zmV81+aYwqyXrwxu6afGHx+Q3eXw4NmdcaP+y7Ak7AkreZX3cn975i5/Tyf/Ly81 vDCcV/LI9zYuKT+R5b7/FxGnOhs7T9mPKIb/uI+YCXW7fXv2e+JNFIGFKybpcXcj Xco6oA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=kOkB2Icz3OrXgrNYXvwuo4iiaZn3Wn6z8C4mXTQtq Es=; b=HFXKAJ+1jptMYsH86QvJ+aw7aXEa0IE9I4QawImfm8Ul+N17iFvXCN2jU d634W6Ab8ulrRO5MNLq5g2Cn3Jgc0//Fc4E9LG58cGGN3ct5Di6UKHia8Z5Le7PP BuA02lmUP0qiY2Tjwy/GgMzErl0OGHB37UPBcXlyeCALd7rb4bLeGF9RFVDs7ZpY fy68mSlD1xSmhWDzJg3lB2npy0qCOHyW27Qy9yjdw0y4sGq59hW+FIaB74pWupfU 50XB5Kt6/UkoaPpaP17S+WdqxQ1JWeY81v9jg3+WtjPDxwGrXIMHspadKtenz0RP 1crjS7z/JwmE0PKlbf+aSOX4JrGng== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrvdduvddgudegkecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpeffhffvufgfjghfkfggtgfgsehtqhhmtddtreejnecuhfhrohhmpeetnhgu rhgvshcuhfhrvghunhguuceorghnughrvghssegrnhgrrhgriigvlhdruggvqeenucggtf frrghtthgvrhhnpeeftddthfelhfefheehkeejgeehfeehvdfhgfdtieevudegveekleef gfdvgeehvdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhroh hmpegrnhgurhgvshesrghnrghrrgiivghlrdguvg X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 14 Oct 2021 16:34:17 -0400 (EDT) Date: Thu, 14 Oct 2021 13:34:11 -0700 From: Andres Freund To: John Naylor CC: pgsql-hackers Subject: Re: [RFC] building postgres with meson User-Agent: K-9 Mail for Android In-Reply-To: References: <20211012083721.hvixq4pnh2pixr3j@alap3.anarazel.de> <20211012205945.tkr6nam4ej2swram@alap3.anarazel.de> <20211013163721.oqwvztktwsym3iu4@alap3.anarazel.de> <20211013174246.zgp2sxdqsulhepea@alap3.anarazel.de> Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi, On October 14, 2021 12:14:16 PM PDT, John Naylor wrote: >I wrote: > >> Ok great, it builds now! :-) Now something's off with dynamic loading= =2E >There are libraries in =2E/tmp_install/usr/local/lib/ but apparently init= db >doesn't know to look for them there: >> >> $ cat /Users/john/pgdev/meson/build/testrun/main/pg_regress/log/initdb= =2Elog >> dyld: Library not loaded: /usr/local/lib/libpq=2E5=2Edylib >> Referenced from: >/Users/john/pgdev/meson/build/tmp_install/usr/local/bin/initdb >> Reason: image not found > >After poking a bit more, this only happens when trying to run the tests= =2E If >I specify a prefix, I can install, init, and start the server just fine, = so >that much works=2E Is this a Mac with SIP enabled? The Mac CI presumably has that disabled, w= hich is why I didn't see this issue there=2E Probably need to implement wha= tever Tom figured out to do about that for the current way of running tests= =2E Andres --=20 Sent from my Android device with K-9 Mail=2E Please excuse my brevity=2E