Bug #8753 Updated: Dynamic load library error

From: Date: Tue, 19 Jun 2001 13:55:46 +0000
Subject: Bug #8753 Updated: Dynamic load library error
Groups: php.dev 
Request: Send a blank email to php-dev+get-57259@lists.php.net to get a copy of this message
ID: 8753 Updated by: sniper Reported By: ojo@gic.sk Status: Closed Bug Type: Dynamic loading Operating system: PHP Version: 4.0.4pl1 Assigned To: Comments: And if you really want to have shared extensions, you can compile them same time you compile main PHP by configuring like this: --with-pgsql=shared --Jani Previous Comments: --------------------------------------------------------------------------- [2001-06-19 09:54:53] sniper@php.net You seem to be skipping one important step here: phpize Try reading these instructions found in the package: README.SELF-CONTAINED-EXTENSIONS And exactly WHY do you want to do this? It's better to configure with everything in the first place.. Also, update to 4.0.5 as it has some fixes regarding this issue. --Jani --------------------------------------------------------------------------- [2001-06-15 02:05:12] ojo@gic.sk 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 --------------------------------------------------------------------------- [2001-06-14 16:37:28] sniper@php.net How did you compile PHP ? What was the configure line used? --------------------------------------------------------------------------- [2001-01-17 03:19:19] ojo@gic.sk dl("interbase.so") Invalid library (maybe not a PHP library) ínterbase.so½ --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=8753&edit=2

« previous php.dev (#57259) next »