From: | Andres Freund <andres(at)anarazel(dot)de> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Noah Misch <noah(at)leadboat(dot)com> |
Cc: | pgsql-hackers(at)postgresql(dot)org, Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>, Andrew Dunstan <andrew(at)dunslane(dot)net> |
Subject: | Re: plpython vs _POSIX_C_SOURCE |
Date: | 2023-01-25 02:32:46 |
Message-ID: | 20230125023246.trnwn42dnj3e4ikc@awork3.anarazel.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hi,
On 2023-01-24 17:48:56 -0800, Andres Freund wrote:
> Also for autoconf, I needed to link
> $prefix/lib/python3.11/config-3.11/libpython3.11.a
> to
> $prefix/lib/libpython3.11.a
> That might be a python version difference or be related to building python
> with --enable-shared - but I see saw other problems without --enable-shared.
That actually doesn't quite work right. One needs to either link to the file
by name (i.e. just $prefix/lib/libpython3.11.so instead of -lpython3.11), or
create a wrapper .a "manually". I.e.
ar crs $prefix/lib/libpython3.11.a $prefix/lib/libpython3.11.so
I tried quite a few things and got confused between the attempts.
> I ran out of energy to test on aix with xlc, I spent way more time on this
> than I have already. I'll pick it up later.
Building in the background now.
Greetings,
Andres Freund
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Haas | 2023-01-25 02:42:14 | Re: GUCs to control abbreviated sort keys |
Previous Message | Thomas Munro | 2023-01-25 02:09:39 | Re: BF animal malleefowl reported an failure in 001_password.pl |