[PHP-DEV] Bug #8753 Updated: Dynamic load library error From: ojo <email protected>
Date: 06/15/01

ID: 8753
User Update by: ojo <email protected>
Status: Open
Bug Type: Dynamic loading
Operating system: Linux
PHP Version: 4.0.4pl1
Description: Dynamic load library error

how did I compile PHP?
# ./configure --enable-versioning --enable-track-vars
--with-imap=/usr/local/src/imap-4.7
--with-apxs=/usr/local/apache/bin/apxs
# make
# make install

and modul (for example pgsql):
# mkdir /tmp/newext
# cd /tmp/newext/
# cp -rp /usr/local/src/php-4.0.5/ext/pgsql/* .
# ./configure
# make install
# cd /usr/local/lib/php/extensions/
# cp no-debug-non-zts-20001222/pgsql.so .
# pico /usr/local/lib/php.ini // uncommenting
extension=pgsql.so
# php

PHP Warning: Invalid library (maybe not a PHP library)
'pgsql.so' in Unknown on line 0

Using RH7.1, PHP 4.0.5

Previous Comments:
---------------------------------------------------------------------------

[2001-06-14 16:37:28] sniper <email protected>
How did you compile PHP ? What was the configure line used?

---------------------------------------------------------------------------

[2001-01-17 03:19:19] ojo <email protected>
dl("interbase.so")

Invalid library (maybe not a PHP library) ínterbase.so˝

---------------------------------------------------------------------------

Full Bug description available at: http://bugs.php.net/?id=8753

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>