From: Tom Lane <tgl@sss.pgh.pa.us>
To: Christophe Pettus <xof@thebuild.com>
Cc: pgsql-general list <pgsql-general@lists.postgresql.org>
Subject: Re: Extension rpath issues on MacOS
Date: Fri, 16 Sep 2022 17:20:23 -0400
Message-ID: <3890875.1663363223@sss.pgh.pa.us> (raw)
In-Reply-To: <C8A430EA-8E71-4760-99FF-2851DD4B2F22@thebuild.com>
References: <C8A430EA-8E71-4760-99FF-2851DD4B2F22@thebuild.com>
Christophe Pettus <xof@thebuild.com> writes:
> Has anyone encountered this situation (not libjvm in particular, just an external library using @rpath) during an extension build?
Yeah ... IIRC, I've hit that from trying to use the Apple-supplied
libpython to underlie PL/Python. I've not found a workaround. I suspect
that Apple doesn't want people using these OS components from "outside",
and this is something they're intentionally doing to prevent it.
IOW: I think they want you to get that from macports or homebrew instead.
It certainly works a lot easier if you do.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: tgl@sss.pgh.pa.us, xof@thebuild.com
Subject: Re: Extension rpath issues on MacOS
In-Reply-To: <3890875.1663363223@sss.pgh.pa.us>
References: <C8A430EA-8E71-4760-99FF-2851DD4B2F22@thebuild.com> <3890875.1663363223@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox