From: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
To: Andres Freund <andres@anarazel.de>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Subject: Re: Strip -mmacosx-version-min options from plperl build
Date: Mon, 22 Aug 2022 16:31:53 +0200
Message-ID: <d0ac4a3a-aaf8-009e-04ee-f6dc8cecc073@enterprisedb.com> (raw)
In-Reply-To: <20220820204401.vrf5kejih6jofvqb@awork3.anarazel.de>
References: <8c4fcb72-2574-ff7c-4c25-1f032d4a2a57@enterprisedb.com>
<2369869.1660830828@sss.pgh.pa.us>
<9518842c-6844-0c99-85ec-ec43fba3115f@enterprisedb.com>
<3050653.1660917635@sss.pgh.pa.us>
<20220820204401.vrf5kejih6jofvqb@awork3.anarazel.de>
On 20.08.22 22:44, Andres Freund wrote:
> Maybe a daft question: Why do want any of the -l flags other than -lperl? With
> the patch configure spits out the following on my debian system:
>
> checking for CFLAGS to compile embedded Perl... -DDEBIAN
> checking for flags to link embedded Perl... -L/usr/lib/x86_64-linux-gnu/perl/5.34/CORE -lperl -ldl -lm -lpthread -lc -lcrypt
>
> those libraries were likely relevant to build libperl, but don't look relevant
> for linking to it dynamically. Statically would be a different story, but we
> already insist on a shared build.
Looking inside the ExtUtils::Embed source code, I wonder if there are
some installations that have things like -lperl538 or something like
that that it wants to deal with.
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-hackers@postgresql.org
Cc: peter.eisentraut@enterprisedb.com, andres@anarazel.de, tgl@sss.pgh.pa.us
Subject: Re: Strip -mmacosx-version-min options from plperl build
In-Reply-To: <d0ac4a3a-aaf8-009e-04ee-f6dc8cecc073@enterprisedb.com>
References: <8c4fcb72-2574-ff7c-4c25-1f032d4a2a57@enterprisedb.com> <2369869.1660830828@sss.pgh.pa.us> <9518842c-6844-0c99-85ec-ec43fba3115f@enterprisedb.com> <3050653.1660917635@sss.pgh.pa.us> <20220820204401.vrf5kejih6jofvqb@awork3.anarazel.de> <d0ac4a3a-aaf8-009e-04ee-f6dc8cecc073@enterprisedb.com>
* 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