Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Mar 2006 16:32:23 GMT
From:      Marton Kenyeres <mkenyeres@konvergencia.hu>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/93988: www/mod_auth_pgsql2 broken [PATCH included]
Message-ID:  <200603011632.k21GWN2x027891@www.freebsd.org>
Resent-Message-ID: <200603011640.k21Ge7Pu070598@freefall.freebsd.org>

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

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



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