Обсуждение: BUG #16379: configure with krb5 in centos6 will compile without linking to library com_err and krb5
BUG #16379: configure with krb5 in centos6 will compile without linking to library com_err and krb5
От
PG Bug reporting form
Дата:
The following bug has been logged on the website: Bug reference: 16379 Logged by: Shaoqi Bai Email address: sbai@pivotal.io PostgreSQL version: Unsupported/Unknown Operating system: Linux Description: postgres version is using branch REL9_0_23 docker pull centos:6 docker run --rm -v ~/postgres:/tmp/b centos:6 yum install -y krb5-devel krb5-libs krb5-server gcc ./configure -v --with-krb5 --without-readline --without-zlib the output is like following ``` checking for library containing com_err... -lkrb5 checking for library containing krb5_sendauth... none required ``` docker pull centos:7 docker run --rm -v ~/postgres:/tmp/b centos:7 yum install -y krb5-devel krb5-libs krb5-server gcc ./configure -v --with-krb5 --without-readline --without-zlib the output is like following ``` checking for library containing com_err... -lcom_err checking for library containing krb5_sendauth... -lkrb5 ```
PG Bug reporting form <noreply@postgresql.org> writes:
> postgres version is using branch REL9_0_23
You realize of course that 9.0.x has been out of support for years now;
whether there is a bug in it or not, we won't be fixing it.
Having said that, current versions of PG build fine on RHEL6 with
--with-gssapi, and all the dependent libraries get linked AFAICS.
I don't know of any reason why that would not have also been true
of 9.0.x. The configure fragments you presented do not constitute
evidence of any actual problem.
You might try --with-gssapi instead of --with-krb5; the latter
switch had already been deprecated for some time as of 9.0,
I think.
regards, tom lane