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 1s3JcJ-00Bl3k-Vj for pgsql-general@arkaria.postgresql.org; Sat, 04 May 2024 17:56:11 +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 1s3JcH-001GJq-HX for pgsql-general@arkaria.postgresql.org; Sat, 04 May 2024 17:56:10 +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 1s3JcH-001GJh-6g for pgsql-general@lists.postgresql.org; Sat, 04 May 2024 17:56:10 +0000 Received: from beesty.loosely.org ([2600:3c01:e000:4c0::2]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1s3JcF-001Y6D-JY for pgsql-general@lists.postgresql.org; Sat, 04 May 2024 17:56:09 +0000 Received: from [::1] (helo=beesty ident=itz) by beesty.loosely.org with esmtp (Exim 4.97-54-ceee907c5) (envelope-from ) id 1s3JcD-000000006ZF-3UQI for pgsql-general@lists.postgresql.org; Sat, 04 May 2024 10:56:06 -0700 Date: Sat, 4 May 2024 10:56:04 -0700 From: grimy.outshine830@aceecat.org To: pgsql-general@lists.postgresql.org Subject: Re: How to Build Postgres in a Portable / Relocatable fashion? Message-ID: Mail-Followup-To: pgsql-general@lists.postgresql.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Fri, May 03, 2024 at 11:27:12PM GMT, AJ ONeal wrote: > What I want to create (and provide) is a portable tarball that has > most of all what it needs in the tarball and will look for relevant > libraries relative to itself. Something that Just Works™ *almost* > anywhere (Ubuntu, Debian, RedHat, Suse... maybe even Alpine). Alpine is based on musl (not glibc), so you're pretty much OOL at least on that point. Have you thought about using a container? -- Ian