public inbox for [email protected]  
help / color / mirror / Atom feed
From: Tristan Partin <[email protected]>
To: Srirama Kucherlapati <[email protected]>
To: AIX PG user <[email protected]>
Cc: Heikki Linnakangas <[email protected]>
Cc: Peter Eisentraut <[email protected]>
Cc: pgsql-hackers <[email protected]>
Subject: Re: AIX support
Date: Wed, 10 Dec 2025 18:37:02 +0000
Message-ID: <[email protected]> (raw)
In-Reply-To: <SJ4PPFB81778326EBCD6DE28272C659806BDBA0A@SJ4PPFB81778326.namprd15.prod.outlook.com>
References: <CY5PR11MB63928CC05906F27FB10D74D0FD322@CY5PR11MB6392.namprd11.prod.outlook.com>
	<[email protected]>
	<176279401378.2081919.12877701948713975661.pgcf@coridan.postgresql.org>
	<SJ4PPFB817783263EA0FD91EBC346308C51DBA3A@SJ4PPFB81778326.namprd15.prod.outlook.com>
	<[email protected]>
	<SJ4PPFB81778326EBCD6DE28272C659806BDBA0A@SJ4PPFB81778326.namprd15.prod.outlook.com>

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)





view thread (73+ messages)  latest in thread

reply

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 using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]
  Subject: Re: AIX support
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox