Re: BUG #18424: Build failure when static linking with openldap - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #18424: Build failure when static linking with openldap
Date
Msg-id 2848764.1712504140@sss.pgh.pa.us
Whole thread Raw
In response to BUG #18424: Build failure when static linking with openldap  (PG Bug reporting form <noreply@postgresql.org>)
List pgsql-bugs
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



pgsql-bugs by date:

Previous
From: PG Bug reporting form
Date:
Subject: BUG #18424: Build failure when static linking with openldap
Next
From: Alvaro Herrera
Date:
Subject: Re: BUG #18377: Assert false in "partdesc->nparts >= pinfo->nparts", fileName="execPartition.c", lineNumber=1943