You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Ezra <ez...@acedsl.com> on 2003/04/17 08:26:54 UTC

Re: [users@httpd] start up errors usingmod_auth_pgsql-2.0.1

I'm using PostGresql 7.3.2


Ezra wrote:
> Hello all:
>                         I installed mod_auth_pgsql-2.0.1 as a DSO 
> successfuly, but when I try to start apache(apachectl -k start) I 
> receive the error:
> 
> Syntax error on line 265 of /etc/httpd/conf/httpd.conf:
> Cannot load /usr/lib/apache/mod_auth_pgsql.so into server: libpq.so.3: 
> cannot open shared object file: No such file or directory
> 
> I think my Makefile is not correct for the linux distro I'm using(RedHat 
> 7.2)
> 
> My Makefile is as follows:
> 
> APACHE2_HOME=/usr/local/apache2
> PGSQL_LIB=/usr/local/pgsql/lib
> PGSQL_INCLUDE=/usr/local/pgsql/include
> 
> shared:
>        ${APACHE2_HOME}/bin/apxs  -i -a -c -I ${PGSQL_INCLUDE} -L 
> ${PGSQL_LIB} -lpq mod_auth_pgsql.c
> 
> indent:
>        indent -kr -ts4 mod_auth_pgsql.c
> 
> clean:
>        rm -rf .libs/ *.la *.o *.lo *.slo *~
> 
> 
> 
> NOTE:  Apache config file is in:                                        
>    /etc/httpd/conf/httpd.conf
>              Apache libs are located:                                  
>         /usr/lib/apache/
>              Apache source directory:                                   
>     /usr/httpd-2.0.45
>              PostGresql installed using default directories     
> /usr/local/pgsql   /usr/local/pgsql/lib   /usr/local/pgsql/include
> 
> The file libpq.so.3 does exists and is located in /usr/local/pgsql/lib
> 
> 
> 
> I can't think of anything else right now.  If you need more info let me 
> know.
> 
> 
> Thank You
> Ezra Taylor
> 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
> 



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org