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