libpq not linked against libgssapi

Markus Schaaf <[email protected]> Wed, 01 Oct 2008 16:13:24 +0200
Newsgroups gmane.comp.db.postgresql.devel.patches
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--------------010408000202050307060201
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

src/interfaces/libpq/Makefile is missing a reference to libgssapi.
The problem occurred while compiling 8.3.3 on NetBSD --with-gssapi,
and is still present in HEAD. A patch is attached.

--------------010408000202050307060201
Content-Type: text/plain;
 name="libpq_add_libgssapi_to_link.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="libpq_add_libgssapi_to_link.diff"

Index: src/interfaces/libpq/Makefile
===================================================================
RCS file: /projects/cvsroot/pgsql/src/interfaces/libpq/Makefile,v
retrieving revision 1.167
diff -b -u -r1.167 Makefile
--- src/interfaces/libpq/Makefile	17 Sep 2008 04:31:08 -0000	1.167
+++ src/interfaces/libpq/Makefile	1 Oct 2008 13:57:49 -0000
@@ -56,7 +56,7 @@
 # shared library link.  (The order in which you list them here doesn't
 # matter.)
 ifneq ($(PORTNAME), win32)
-SHLIB_LINK += $(filter -lcrypt -ldes -lcom_err -lcrypto -lk5crypto -lkrb5 -lgssapi_krb5 -lgss -lssl -lsocket -lnsl -lresolv -lintl, $(LIBS)) $(LDAP_LIBS_FE) $(PTHREAD_LIBS)
+SHLIB_LINK += $(filter -lcrypt -ldes -lcom_err -lcrypto -lk5crypto -lkrb5 -lgssapi_krb5 -lgss -lgssapi -lssl -lsocket -lnsl -lresolv -lintl, $(LIBS)) $(LDAP_LIBS_FE) $(PTHREAD_LIBS)
 else
 SHLIB_LINK += $(filter -lcrypt -ldes -lcom_err -lcrypto -lk5crypto -lkrb5 -lgssapi32 -lssl -lsocket -lnsl -lresolv -lintl $(PTHREAD_LIBS), $(LIBS)) $(LDAP_LIBS_FE)
 endif

--------------010408000202050307060201
Content-Type: text/plain
Content-Disposition: inline
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable


--=20
Sent via pgsql-patches mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-patches

--------------010408000202050307060201--