php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #9368 Impossible to load pgsql.so
Submitted: 2001-02-21 07:58 UTC Modified: 2001-02-21 14:52 UTC
From: dbucher at niftycom dot com Assigned:
Status: Closed Package: PostgreSQL related
PHP Version: 3.0 Latest CVS (21/02/2001) OS: Debian Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: dbucher at niftycom dot com
New email:
PHP Version: OS:

 

 [2001-02-21 07:58 UTC] dbucher at niftycom dot com
COULD NOT LOAD pgsql.so : I tryed two ways :

 * dl("pgsql.so")  gives an error :

Fatal error: Unable to load dynamic library '/usr/lib/php3/apache/pgsql.so' - /usr/lib/php3/apache/pgsql.so: undefined symbol: empty_string in /var/www/admin/sushis/exemple.php3 on line 6


 * "extension=pgsql.so" in /etc/php3/apache/php3.ini has NO effect :

Fatal error: Call to unsupported or undefined function pg_connect() in /var/www/admin/sushis/exemple.php3 on line 8


SOS ! PLEASE ! I am really annoyed and don't know *at* *all* what to do ?

The server is under Debian potato, the installed packages are :

 *** Opt web      php3         3.0.18-1.po 3.0.18-1.po A server-side, HTML-embed
 *** Opt web      php3-cgi     3.0.18-1.po 3.0.18-1.po A server-side, HTML-embed
 *** Opt web      php3-cgi-mys 3.0.18-1.po 3.0.18-1.po Mysql module for PHP3 (cg
 *** Opt web      php3-cgi-pgs 3.0.18-1.po 3.0.18-1.po PostgreSQL module for PHP
 *** Opt web      php3-mysql   3.0.18-1.po 3.0.18-1.po Mysql module for PHP3 (ap
 *** Opt web      php3-pgsql   3.0.18-1.po 3.0.18-1.po PostgreSQL module for PHP

# uname -a
Linux sashimi 2.2.18pre21 #1 Sat Nov 18 18:47:15 EST 2000 i686 unknown

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-02-21 14:51 UTC] dbucher at niftycom dot com
It is really a bug. But it is not a PHP bug.

For information :
=================

The bug is due to Debian. In some cases, you get a very
slightly different package name, for example from KDE
and this package is NOT compatible !!!

The package you should have is :
"3:3.0.18-1potato.2"
BUT you have :
"3:3.0.18-1.potato.2"

Just remark the point !!!
You have to get the right package (remove wrong package,
remove KDE from your sources.tree, reinstall correct
package)



 [2001-02-21 14:52 UTC] dbucher at niftycom dot com
Bug closed.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 00:01:28 2024 UTC