pg.ddx.io pgsql-bugs@postgresql.org mailing list archive
help / color / mirror / Atom feedBUG #18424: Build failure when static linking with openldap
2+ messages / 2 participants
[nested] [flat]
* BUG #18424: Build failure when static linking with openldap
@ 2024-04-07 13:21 PG Bug reporting form <noreply@postgresql.org>
0 siblings, 1 reply; 2+ messages in thread
From: PG Bug reporting form @ 2024-04-07 13:21 UTC (permalink / raw)
To: pgsql-bugs@lists.postgresql.org; +Cc: arun007@pm.me
The following bug has been logged on the website:
Bug reference: 18424
Logged by: Arun
Email address: arun007@pm.me
PostgreSQL version: 16.2
Operating system: Linux
Description:
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
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: BUG #18424: Build failure when static linking with openldap
@ 2024-04-07 15:35 Tom Lane <tgl@sss.pgh.pa.us>
parent: PG Bug reporting form <noreply@postgresql.org>
0 siblings, 0 replies; 2+ messages in thread
From: Tom Lane @ 2024-04-07 15:35 UTC (permalink / raw)
To: arun007@pm.me; +Cc: pgsql-bugs@lists.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
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2024-04-07 15:35 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2024-04-07 13:21 BUG #18424: Build failure when static linking with openldap PG Bug reporting form <noreply@postgresql.org>
2024-04-07 15:35 ` Tom Lane <tgl@sss.pgh.pa.us>
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