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 1t5ppd-008raU-Ti for pgsql-hackers@arkaria.postgresql.org; Tue, 29 Oct 2024 17:16:37 +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 1t5ppc-000vJD-8i for pgsql-hackers@arkaria.postgresql.org; Tue, 29 Oct 2024 17:16:36 +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 1t5ppb-000vJ5-VP for pgsql-hackers@lists.postgresql.org; Tue, 29 Oct 2024 17:16:36 +0000 Received: from fout-a4-smtp.messagingengine.com ([103.168.172.147]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1t5ppZ-003d1q-Mf for pgsql-hackers@postgresql.org; Tue, 29 Oct 2024 17:16:35 +0000 Received: from phl-compute-01.internal (phl-compute-01.phl.internal [10.202.2.41]) by mailfout.phl.internal (Postfix) with ESMTP id 8FBF0138020A; Tue, 29 Oct 2024 13:16:32 -0400 (EDT) Received: from phl-frontend-01 ([10.202.2.160]) by phl-compute-01.internal (MEProxy); Tue, 29 Oct 2024 13:16:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=justatheory.com; h=cc:cc:content-transfer-encoding:content-type:content-type :date:date:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:subject:subject:to:to; s= 2016-12.pbsmtp; t=1730222192; x=1730308592; bh=LUwBkBrjhLm+j0u4A Vgd898mc21rZkoO7j/cSr6muPo=; b=QsUiOEMdmk+XS/f58bT+TDsjp6FJyvnl1 dAwEEp2rn1vzD/QoXPhO2AeEOjcgw3H1EEnEP/2KQX2lSB9BKa04iZGQmDRZNEgy XOAN5saEuFWi5IclbJBCthLp66S9F0Njb/Np+8+IBQ1CijCb44fzXGb+EMgygaoK Q4AExgXHQU= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pobox.com; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1730222192; x=1730308592; bh=LUwBkBrjhLm+j0u4AVgd898mc21rZkoO7j/cSr6muPo=; b= XsWGhadJhl6YXSQVpHbSBiMvZfz9uH+chhFVxw51TRaTuBZz0t+4gWVqiKxrE0ru ue//C7+EM7UDu1NQu+jin1Dm7H7AJG3UR3uPlssXwnlNvpEaT5THdv7AMcv/dJlR 1zBBJCxCAFqDrXvB226arxpphUQqlh6SjqLWuPLNmNISPkxYNt3d+ezsuN0OUOvF zdMBZ5teUcA31gmjE5Cvwvva++muuNwaSh4ouU7BVwA1HQ9N15OGQ3yuPnPbX9Mx OGTErb2XMRdgsRw/nLRvzfdsOybgieG/bA10GGDvBQlnmtLxztoIWDtNSeB9udNk Z02U8VIXLq9nSq/I2Xa9Vw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1730222192; x= 1730308592; bh=LUwBkBrjhLm+j0u4AVgd898mc21rZkoO7j/cSr6muPo=; b=Z iBXfJDfBPOj2NBnCB+cnV0ZJC2yvLFik1y47WGvHlI4LIpu0yG8cP/LkVv8SY0W0 v0xF8y2JNiz/Zg3pjFWwa/IHJ5CZzY0UHRiyyZ9h8oCL710yRAhD7HA6zINBzRR8 VE+qUjQjT3VW3bmxmOorM+uDVzKSGAQvTU15hY/iBQErnz0t6+SjscPzbTZiSeyh D2mtCbUiLCFgDar4JtdFCuKigrZrzp7mgx/QUx5UzA2Lg60vXLutqgb6s+/NdrLo OB8cjY3EFGbBguJu4CM7XFiZqdhsXPfz/Fusudawg6z49B6DGZKYND+PiIUew2yL XdkmORErBu8S7pIR5Rxdg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrvdekuddgleegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurheptggguffhjgffvefgkfhfvffosehtqhhmtdhhtdej necuhfhrohhmpedfffgrvhhiugcugfdrucghhhgvvghlvghrfdcuoegurghvihgusehjuh hsthgrthhhvghorhihrdgtohhmqeenucggtffrrghtthgvrhhnpeelvdefieetfedttdef keeuffevvdfgleegteffffegjeeuvdehleetteeffeegffenucffohhmrghinheptghonh gurgdrihhonecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhho mhepuggrvhhiugesjhhushhtrghthhgvohhrhidrtghomhdpnhgspghrtghpthhtohepie dpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepphhrrghmshgvhiestghlvghvvghr vghlvghphhgrnhhtrdgtrgdprhgtphhtthhopehpghhsqhhlqdhhrggtkhgvrhhssehpoh hsthhgrhgvshhqlhdrohhrghdprhgtphhtthhopehgrggsrhhivghlvgdrsggrrhhtohhl ihhnihesvghnthgvrhhprhhishgvuggsrdgtohhmpdhrtghpthhtohepphgvthgvrhesvg hishgvnhhtrhgruhhtrdhorhhgpdhrtghpthhtohepmhihohhnseguvggsihgrnhdrohhr ghdprhgtphhtthhopegrnhgurhgvshesrghnrghrrgiivghlrdguvg X-ME-Proxy: Feedback-ID: i7c334307:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 29 Oct 2024 13:16:31 -0400 (EDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3826.200.121\)) Subject: Re: RFC: Extension Packaging & Lookup From: "David E. Wheeler" In-Reply-To: Date: Tue, 29 Oct 2024 13:16:21 -0400 Cc: PostgreSQL Hackers , Gabriele Bartolini , Peter Eisentraut , Christoph Berg , Andres Freund Content-Transfer-Encoding: quoted-printable Message-Id: References: <2CAD6FA7-DC25-48FC-80F2-8F203DECAE6A@justatheory.com> <0D3FE0EA-0E87-42BD-AB15-D3549BFD0F4C@justatheory.com> To: Paul Ramsey X-Mailer: Apple Mail (2.3826.200.121) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Oct 29, 2024, at 12:23, Paul Ramsey = wrote: > Question for the more knowledgable, how are binary distribution = systems like Conda and others shipping DLLs such that different packages = don=E2=80=99t clobber each other? I=E2=80=99m not familiar with Conda, but from its docs[1], it seems to = rely on a value compiled into an app: > * On Linux, the $ORIGIN variable allows you to specify "relative to = this file as it is being executed". > * On macOS, the variables are: > * @rpath---Allows you to set relative links from the system load = paths. > * @loader_path---Equivalent to $ORIGIN. > * @executable_path---Supports the Apple .app directory approach, = where libraries know where they live relative to their calling = application. Thinks are a bit more complicated on Windows, which doesn=E2=80=99t = support something like -rpath. D [1]: = https://docs.conda.io/projects/conda-build/en/latest/resources/use-shared-= libraries.html=