Re: AIX support

From: "Tristan Partin" <tristan(at)partin(dot)io>
To: "Srirama Kucherlapati" <sriram(dot)rk(at)in(dot)ibm(dot)com>, "AIX PG user" <postgres-ibm-aix(at)wwpdl(dot)vnet(dot)ibm(dot)com>
Cc: "Heikki Linnakangas" <hlinnaka(at)iki(dot)fi>, "Peter Eisentraut" <peter(at)eisentraut(dot)org>, "pgsql-hackers" <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: AIX support
Date: 2025-12-10 18:37:02
Message-ID: DEUR671F27T4.2TI9SI59IJ3GR@partin.io
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed Dec 10, 2025 at 8:32 AM CST, Srirama Kucherlapati wrote:
> We encountered the following error when building without the "_static" suffix in the library name:
> Found ninja-1.12.1 at /opt/freeware/bin/ninja
> ERROR: Multiple producers for Ninja target "src/interfaces/ecpg/compatlib/libecpg_compat.a”.
> Please rename your targets.
>
> On AIX, shared libraries are archived in a way that allows multiple versions to
> coexist within the same archive. This is primarily because shared library(.so)
> is archived into .a, which leads to naming conflicts between static and shared
> libraries. To address this, we suffixed the library with “_static".
>
> However, we later tested by completely skipping the static library build, and
> this approach worked successfully since it eliminates the conflict between
> static and shared libraries. I'm working on the changes and will validate
> further on this.

Thanks for the explanation. I'm glad we can workaround this without
renaming the targets!

--
Tristan Partin
Databricks (https://databricks.com)

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Jim Mlodgenski 2025-12-10 18:39:06 INOUT params with expanded objects
Previous Message Sami Imseih 2025-12-10 18:36:36 Re: [Proposal] Adding callback support for custom statistics kinds