Re: BUG #18424: Build failure when static linking with openldap

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: arun007(at)pm(dot)me
Cc: pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #18424: Build failure when static linking with openldap
Date: 2024-04-07 15:35:40
Message-ID: 2848764.1712504140@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

PG Bug reporting form <noreply(at)postgresql(dot)org> writes:
> Static linking openldap results in failure with the following error:
> libpq.so.5.16: U pthread_exit(at)GLIBC_2(dot)2(dot)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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Alvaro Herrera 2024-04-08 17:57:18 Re: BUG #18377: Assert false in "partdesc->nparts >= pinfo->nparts", fileName="execPartition.c", lineNumber=1943
Previous Message PG Bug reporting form 2024-04-07 13:21:45 BUG #18424: Build failure when static linking with openldap