ports/80869: postgresql80-* does not handle Kerberos correctly

Garrett Wollman wollman at isfahel.csail.mit.edu
Tue May 10 23:30:04 UTC 2005


>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 at 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:



More information about the freebsd-ports-bugs mailing list