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 1rlUxs-002lPz-Th for pgsql-bugs@arkaria.postgresql.org; Sat, 16 Mar 2024 14:24:49 +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 1rlUxr-00G452-DD for pgsql-bugs@arkaria.postgresql.org; Sat, 16 Mar 2024 14:24:47 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rlUxr-00G44o-2H for pgsql-bugs@lists.postgresql.org; Sat, 16 Mar 2024 14:24:47 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rlUxn-004pQu-R1 for pgsql-bugs@lists.postgresql.org; Sat, 16 Mar 2024 14:24:46 +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 42GEOhjj2852941; Sat, 16 Mar 2024 10:24:43 -0400 From: Tom Lane To: Wolfgang Walther cc: PostgreSQL Bugs Subject: Re: Regression tests fail with musl libc because libpq.so can't be loaded In-reply-to: References: Comments: In-reply-to Wolfgang Walther message dated "Sat, 16 Mar 2024 13:38:48 +0100" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2852939.1710599083.1@sss.pgh.pa.us> Date: Sat, 16 Mar 2024 10:24:43 -0400 Message-ID: <2852940.1710599083@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Wolfgang Walther writes: > - LD_LIBRARY_PATH is used correctly to look for the direct dependency > loaded in dlopen(...), but is not taken into account anymore when trying > to locate libpq.so. This step only fails with musl, but works fine with > glibc. Why do you think this is our bug and not musl's? We do not even have any code that knows anything about indirect library dependencies. regards, tom lane