pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #16379: configure with krb5 in centos6 will compile without linking to library com_err and krb5
2+ messages / 2 participants
[nested] [flat]

* BUG #16379: configure with krb5 in centos6 will compile without linking to library com_err and krb5
@ 2020-04-19 16:13  PG Bug reporting form <noreply@postgresql.org>
  0 siblings, 1 reply; 2+ messages in thread

From: PG Bug reporting form @ 2020-04-19 16:13 UTC (permalink / raw)
  To: pgsql-bugs@lists.postgresql.org; +Cc: sbai@pivotal.io

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
```



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: BUG #16379: configure with krb5 in centos6 will compile without linking to library com_err and krb5
@ 2020-04-19 17:20  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 @ 2020-04-19 17:20 UTC (permalink / raw)
  To: sbai@pivotal.io; +Cc: pgsql-bugs@lists.postgresql.org

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





^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2020-04-19 17:20 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2020-04-19 16:13 BUG #16379: configure with krb5 in centos6 will compile without linking to library com_err and krb5 PG Bug reporting form <noreply@postgresql.org>
2020-04-19 17:20 ` 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