| Summary: | www/mod_auth_pgsql2 broken [PATCH included] | ||
|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Marton Kenyeres <mkenyeres> |
| Component: | Individual Port(s) | Assignee: | freebsd-apache (Nobody) <apache> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Latest | ||
| Hardware: | Any | ||
| OS: | Any | ||
Responsible Changed From-To: freebsd-ports-bugs->apache Over to maintainer State Changed From-To: open->closed committed |
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. Fix: 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--2Xe48SotpNTyoscNbOY7NxrLFMXnztgFAzg5OL5w4flo8zrG Content-Type: text/plain; name="file.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="file.diff" --- 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 How-To-Repeat: Build the www/mod_auth_pgsql2 port, enable it in httpd.conf, and restart the apache server.