RE: [PHP-INST] Shared object "libpq.so.2" not found with PHP4.0.4 pl1 and Apache 1.3

From: Date: Mon, 15 Jan 2001 06:36:29 +0000
Subject: RE: [PHP-INST] Shared object "libpq.so.2" not found with PHP4.0.4 pl1 and Apache 1.3
Groups: php.install 
Request: Send a blank email to php-install+get-1611@lists.php.net to get a copy of this message
This means that you compiled PHP with support for PostgreSQL and that the PostgreSQL library (libpq.so.2) is not where expected. 1. Did you really want PostgreSQL support? 2. Do you have PostgreSQL installed somewhere in your system? where? 3. If you have a linux box, you can edit /etc/ld.so.conf and add the postgresql lib directory (don't forget the ldconfig) 4. For others, you should edit the appropriate environment variable to point to the shared library. BTW: I have supposed that you compiled with shared PostgreSQL support. If you just configure --with-pgsql=/path/to/lib instead of 'shared', you will get the configure stage to crash before compiling. Take care Christian > -----Mensaje original----- > De: Johan Bitsch Nielsen [mailto:bitsch@esolut.dk] > Enviado el: sábado 13 de enero de 2001 18:34 > Para: php-install@lists.php.net > Asunto: [PHP-INST] Shared object "libpq.so.2" not found with > PHP4.0.4pl1 > and Apache 1.3 > > > I managed to succesfully build a libphp4.so shared library to load in > httpd.conf. > > When I restart Apache and request a page, the server responds with: > > "Internal Server Configuration Error > Syntax error on line 40 of > /usr/local/etc/httpd/conf/httpd.conf: Cannot load > /usr/local/etc/httpd/modules/libphp4.so into server: Shared object > "libpq.so.2" not found" > > Where do I find libpq.so.2? Am I missing something here? > > Any help appreciated! > > - Johan - > > > I use this directive in httpd.conf: > > LoadModule php4_module modules/libphp4.so > > I used this configure command: > > ./configure --enable-track-vars > --with-imap=/usr/home/bitsch/tmp/imap-2000a/ > c-client --with-mysql > --with-apxs=/usr/local/apache/1.3/bin/apxs --with-conf > ig-file-path=/usr/home/bitsch/usr/local/etc/httpd/conf > --with-system-regex - > -disable-debug --enable-trans-sid --enable-versioning > --with-ttf --enable-ft > p --with-gd=/usr/local > --with-pgsql=/usr/home/bitsch/usr/local/pgsql --enabl > e-sockets > > > -- > PHP Install Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-install-unsubscribe@lists.php.net > For additional commands, e-mail: php-install-help@lists.php.net > To contact the list administrators, e-mail: > php-list-admin@lists.php.net > *************************************************************************** DISCLAIMER: Este mensaje contiene información propietaria de la cual parte o toda puede contener información confidencial o protegida legalmente. Esta exclusivamente destinado al usuario de destino. Si, por un error de envio o transmisión, ha recibido este mensaje y usted no es el destinatario del mismo, por favor, notifique de este hecho al remitente. Si no es el destinatario final de este mensaje no debe usar, informar, distribuir, imprimir, copiar o difundir este mensaje bajo ningún medio. --------- DISCLAIMER: This e-mail contains propietary information some or all of which may be legally privileged. It is for the intended recipient only. If an addressing or transmission error has misdirected this e-mail, please notify the author by replying to this e-mail. If you are not the intended recipient you must not use, disclose, distribute, copy, print or relay on this e-mail. ***************************************************************************

« previous php.install (#1611) next »