The cause are

  - you haven't build PHP by yoursel
  - build PHP with different system
  - you have old libpq.so in your system
  - others?

Build PHP with your system and make sure you don't have
old libpq.so enabled on your system.

Use following order for ld.so.conf if you have old libpq.

 > /usr/local/pgsql/lib
 > /usr/lib
 > /usr/lib/qt-2.1.0/lib
 > /usr/lib/qt-1.45/lib
 > /usr/X11R6/lib
 > /usr/local/BerkeleyDB.3.2/lib
 >

--
Yasuo Ohgaki


Leonard Bouchet wrote:
> Hi,
> 
> I saw this problem has been reported a few times, but I still can't make it
> work on my system.
> 
> I get 
> 
> Syntax error on line 226 of /etc/httpd/conf/httpd.conf:
> Cannot load /etc/httpd/modules/libphp4.so into server:
> /etc/httpd/modules/libphp4.so: undefined symbol: PQoidValue
> 
> when I tried to start apache 1.3.22
> 
> I've compiled php 4.0.6 with
> 
> ./configure --with-pgsql=/usr/local/pgsql --with-apxs --without-mysql
> 
> And my ld.so.conf is
> 
> /usr/lib
> /usr/lib/qt-2.1.0/lib
> /usr/lib/qt-1.45/lib
> /usr/X11R6/lib
> /usr/local/BerkeleyDB.3.2/lib
> /usr/local/pgsql/lib
> 
> 
> So I can't figure out why it still doesn't work for me...
> 
> Any help would be appreciated
> 
> Thanks a lot in advance
> 
> -leo
> 
> (PostgreSQL version: 7.1.3)
> 
> 


-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to