Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 May 2005 19:28:07 -0400 (EDT)
From:      Garrett Wollman <wollman@isfahel.csail.mit.edu>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/80869: postgresql80-* does not handle Kerberos correctly
Message-ID:  <200505102328.j4ANS7f9060127@isfahel.csail.mit.edu>
Resent-Message-ID: <200505102330.j4ANU43G033208@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         80869
>Category:       ports
>Synopsis:       postgresql80-* does not handle Kerberos correctly
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 10 23:30:03 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Garrett Wollman
>Release:        FreeBSD 5.4-STABLE i386
>Organization:
MIT
>Environment:
System: FreeBSD isfahel.csail.mit.edu 5.4-STABLE FreeBSD 5.4-STABLE #0: Wed Apr 13 23:55:37 EDT 2005 wollman@isfahel.csail.mit.edu:/usr/src/sys/i386/compile/CSAIL i386

postgresql80-client with MIT Kerberos (1.4.1, but this is not relevant)

>Description:

postgresql80-{server,client} tries to force configure to use the specified
Kerberos implementation by putting the libraries in LDFLAGS.  This is wrong;
in order for libpq to be linked properly, the libraries need to end up in
configure's LIBS variable instead.

>How-To-Repeat:
	
Build postgresql80-client.  Notice how things that use libpq fail to link
because of unresolved dependencies.

>Fix:

Workaround: edit the makefile to add $(LDFLAGS) to the $(filter ..., $(LIBS))
in src/libpq and rebuild libpq.so.4.

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200505102328.j4ANS7f9060127>