ports/93988: www/mod_auth_pgsql2 broken [PATCH included]

Marton Kenyeres mkenyeres at konvergencia.hu
Wed Mar 1 16:40:10 UTC 2006


>Number:         93988
>Category:       ports
>Synopsis:       www/mod_auth_pgsql2 broken [PATCH included]
>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:   Wed Mar 01 16:40:07 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Marton Kenyeres
>Release:        FreeBSD 5.4-SECURITY
>Organization:
KVG Konvergencia Kft.
>Environment:
>Description:
www/mod_auth_pgsql when compiled from ports and enabled in httpd.conf gives the following error:

Syntax error on line xx of /usr/local/etc/apache2/httpd.conf:
Cannot load /usr/local/libexec/apache2/mod_auth_pgsql.so into server:
/usr/local/libexec/apache2/mod_auth_pgsql.so: Undefined symbol "PQexec"

This is probably caused by a typo in the port's Makefile. The attached one-line change seems to cause the module to link against libpq, and make it work.

Cheers,
m.


>How-To-Repeat:
Build the www/mod_auth_pgsql2 port, enable it in httpd.conf, and restart the apache server.
>Fix:
--- Makefile.orig       Wed Mar  1 17:31:47 2006
+++ Makefile    Wed Mar  1 17:32:27 2006
@@ -19,7 +19,7 @@
 LATEST_LINK=   mod_auth_pgsql2

 AP_INC?=       ${LOCALBASE}/include
-AP_LIBS?=      ${LOCALBASE}/lib -lpq
+AP_LIB?=       ${LOCALBASE}/lib -lpq
 AP_FAST_BUILD= YES
 AP_GENPLIST=   YES
 PORTDOCS=      mod_auth_pgsql.html

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



More information about the freebsd-ports-bugs mailing list