ports/162179: databases/postgresql84-client's libpq.so does not depend on libgssapi.so when built with GSSAPI=on
Raphael Kubo da Costa
rakuco at FreeBSD.org
Mon Oct 31 00:50:02 UTC 2011
>Number: 162179
>Category: ports
>Synopsis: databases/postgresql84-client's libpq.so does not depend on libgssapi.so when built with GSSAPI=on
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Oct 31 00:50:01 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Raphael Kubo da Costa
>Release: FreeBSD 8.2-STABLE amd64
>Organization:
>Environment:
System: FreeBSD gibbon 8.2-STABLE FreeBSD 8.2-STABLE #35: Sat Oct 22 16:49:14 BRST 2011 root at gibbon:/usr/obj/usr/src/sys/GIBBON amd64
>Description:
Some time ago I tried updating mail/dovecot2 with PGSQL=on (see ports/162134). However, the configuration failed, as the test program failed to link with libpq.so:
configure:22904: cc -o conftest -std=gnu99 -O2 -pipe -march=core2 -fno-strict-aliasing -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -Wstrict-aliasing=2 -I/usr/local/include -I/usr/local/include -L/usr/local/lib -L/usr/local/lib conftest.c -lpq -lrt -L/usr/local/lib >&5
/usr/local/lib/libpq.so: undefined reference to `gss_import_name'
/usr/local/lib/libpq.so: undefined reference to `gss_release_name'
/usr/local/lib/libpq.so: undefined reference to `gss_delete_sec_context'
/usr/local/lib/libpq.so: undefined reference to `gss_display_status'
/usr/local/lib/libpq.so: undefined reference to `gss_release_buffer'
/usr/local/lib/libpq.so: undefined reference to `gss_init_sec_context'
/usr/local/lib/libpq.so: undefined reference to `GSS_C_NT_HOSTBASED_SERVICE'
ldd shows libpq.so does not depend on libgssapi.so even though support for it was activated:
===> The following configuration options are available for postgresql-client-8.4.9:
NLS=on "Use internationalized messages"
PAM=off "Build with PAM support (server only)"
LDAP=off "Build with LDAP authentication support"
MIT_KRB5=off "Build with MIT's kerberos support"
HEIMDAL_KRB5=off "Builds with Heimdal kerberos support"
OPTIMIZED_CFLAGS=on "Builds with compiler optimizations (-O3)"
XML=on "Build with XML data type (server)"
TZDATA=on "Use internal timezone database (server)"
DEBUG=off "Builds with debugging symbols"
GSSAPI=on "BUild with GSSAPI support"
ICU=on "Use ICU for unicode collation (server)"
INTDATE=on "Builds with 64-bit date/time type (server)"
SSL=on "Build with OpenSSL support"
>How-To-Repeat:
Build databases/postgresql84-{client,server} with GSSAPI=on and then try to link a program against libpq.so.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list