[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Apache postgresql



Bon un petit pb avec apache et postgresql :

voici les paquets que j'ai d'installes :

< lam : nlamirault > dpkg -l | grep postgresql
ii  postgresql     7.1.3-4        Object-relational SQL database, descended fr
ii  postgresql-cli 7.1.3-4        Front-end programs for PostgreSQL
ii  postgresql-con 7.1.3-4        Additional facilities for PostgreSQL
ii  postgresql-dev 7.1.3-4        Header files for libpq (postgresql library)
< lam : nlamirault > dpkg -l | grep pgsql
ii  libpgsql       6.3.2-16.2     Library for connecting to PostgreSQL 6.3 bac
ii  libpgsql2.1    7.1.3-4        Shared library libpq.so.2.1 for PostgreSQL
ii  php3-cgi-pgsql 3.0.18-15      PostgreSQL module for PHP3 (cgi)
ii  php3-pgsql     3.0.18-15      PostgreSQL module for PHP3 (cgi)
ii  www-pgsql      0.5.7-12       a WWW interface for the PostgreSQL database

< lam : nlamirault > dpkg -l | grep apache
ii  apache         1.3.22-2.1     Versatile, high-performance HTTP server
ii  apache-common  1.3.22-2.1     Support files for all Apache webservers
ii  libapache-mod- 3.2.3-4        Apache connector for Tomcat servlet engine
ii  php3-mysql     3.0.18-17      Mysql module for PHP3 (apache)


J'ai ca dans mon fichier /etc/apache/httpd.conf :

< lam : nlamirault > grep pgsql /etc/apache/httpd.conf
 LoadModule pgsql_auth_module /usr/lib/apache/1.3/mod_auth_pgsql.so

Et quand je tente de lancer apache avec le module pour postgresql,
j'ai ce message d'erreur :

< lam : apache > /etc/init.d/apache start
Starting web server: apache.
Syntax error on line 241 of /etc/apache/httpd.conf:
Cannot load /usr/lib/apache/1.3/mod_auth_pgsql.so into server: /usr/lib/apache/1.3/mod_auth_pgsql.so: undefined symbol: PQexec
/usr/sbin/apachectl start: httpd could not be started

Or la lib est bien presente :

< lam : apache > ls /usr/lib/apache/1.3/mod_auth_pgsql*
/usr/lib/apache/1.3/mod_auth_pgsql.so


Alors franchement je capte pas d'ou vient l'erreur !
quelqu'un a t il une petite idee ?



-- 
Nicolas Lamirault
CVF Bordeaux 22 quai de Bacalan
33000 BORDEAUX



Reply to: