Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rmlIt-009h8a-9Z for pgsql-bugs@arkaria.postgresql.org; Wed, 20 Mar 2024 02:03:43 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1rmlIr-001ehu-Le for pgsql-bugs@arkaria.postgresql.org; Wed, 20 Mar 2024 02:03:42 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rmlIr-001ehm-Dh for pgsql-bugs@lists.postgresql.org; Wed, 20 Mar 2024 02:03:41 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rmlIo-005Sxl-T1 for pgsql-bugs@lists.postgresql.org; Wed, 20 Mar 2024 02:03:41 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 42K23aU64095436; Tue, 19 Mar 2024 22:03:36 -0400 From: Tom Lane To: Thomas Munro cc: Bruce Momjian , Christophe Pettus , Andrew Dunstan , Wolfgang Walther , PostgreSQL Bugs Subject: Re: Regression tests fail with musl libc because libpq.so can't be loaded In-reply-to: References: <855a1b16-0dc0-42b2-8f90-79eb49cf2893@technowledgy.de> <3561573.1710771812@sss.pgh.pa.us> <4093813.1710899588@sss.pgh.pa.us> Comments: In-reply-to Thomas Munro message dated "Wed, 20 Mar 2024 15:01:09 +1300" MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-ID: <4095434.1710900216.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Tue, 19 Mar 2024 22:03:36 -0400 Message-ID: <4095435.1710900216@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Thomas Munro writes: > On Wed, Mar 20, 2024 at 2:53=E2=80=AFPM Tom Lane wro= te: >> I'd be happier about this if the target pattern were more restrictive. >> Is there reason to think that musl keeps a pointer to anything besides >> LD_LIBRARY_PATH? > Also LD_PRELOAD: > https://github.com/bminor/musl/blob/7ada6dde6f9dc6a2836c3d92c2f762d35fd2= 29e0/ldso/dynlink.c#L1824 > Yeah we could do just those two. +1 for stopping only at one of those two names. regards, tom lane