pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: arun007@pm.me
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #18424: Build failure when static linking with openldap
Date: Sun, 07 Apr 2024 11:35:40 -0400
Message-ID: <2848764.1712504140@sss.pgh.pa.us> (raw)
In-Reply-To: <18424-bc056c6239e511fd@postgresql.org>
References: <18424-bc056c6239e511fd@postgresql.org>

PG Bug reporting form <noreply@postgresql.org> writes:
> Static linking openldap results in failure with the following error:
>  libpq.so.5.16:                 U pthread_exit@GLIBC_2.2.5
> libpq must not be calling any function which invokes exit

[ shrug... ]  So don't do that.  Statically linking libraries from
different sources is a pretty evil idea anyway, because it makes
package updates much harder.

Having said that, if you're hacking the makefiles enough to make
the link static, you can surely find and remove that check.  Just
don't expect us to take a patch to that effect.

			regards, tom lane





view thread (2+ messages)

Message-ID: <2848764.1712504140@sss.pgh.pa.us>
Permalink:  ../2848764.1712504140@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/2848764.1712504140@sss.pgh.pa.us

 · 

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: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, arun007@pm.me, pgsql-bugs@lists.postgresql.org
  Subject: Re: BUG #18424: Build failure when static linking with openldap
  In-Reply-To: <2848764.1712504140@sss.pgh.pa.us>

* 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