PHP 4.0 Bug #4575 Updated: PHP4 does not load extension modules unless LD_LIBRARY_PATH is set
| From: | Bug Database | Date: | Fri, 09 Jun 2000 00:50:50 +0000 |
| Subject: | PHP 4.0 Bug #4575 Updated: PHP4 does not load extension modules unless LD_LIBRARY_PATH is set | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-20618@lists.php.net to get a copy of this message | ||
ID: 4575
Updated by: zeev
Reported By: blien@ozramp.net.au
Status: Closed
Bug Type: Dynamic loading related
Assigned To:
Comments:
That's really something PHP can't do much about. LD_LIBRARY_PATH is something that the
dynamic linker uses, and is beyond the control of PHP. pgsql.so (or whatever module you use) is
dependant on other dynamic libraries (most probably the PostgreSQL dynamic libraries), which
aren't on ld's search path. Thus, you get this error
Note that it probably has very little to do with the meaning of extension_dir, which is where PHP
looks for its extensions. If the extensions were linked against other dynamic libraries (which is
often the case) - you must ensure that these libraries are on ld's search path (e.g., by adding
them to the LD_LIBRARY_PATH environment variable)
Full Bug description available at: http://bugs.php.net/version4/?id=4575