Unable to load dynamic library './imap.so'
| From: | Frederic Trudeau | Date: | Wed, 09 Apr 2003 15:07:24 +0000 |
| Subject: | Unable to load dynamic library './imap.so' | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-10560@lists.php.net to get a copy of this message | ||
I managed to build custom RPMS of PHP 4.3.1 using the spec file of PHP
4.2.1, for RedHat.
However, it appears the shared module were not build properlly (imap, ldap,
odbc...)
When I try to run PHP from the command line, I get this error ;
[root@zesolution RPMS]# php
HTTP/1.0 0 X
Content-type: text/html
PHP Warning: Unknown(): Unable to load dynamic library './imap.so' -
./imap.so: cannot open shared object file: No such file or directory in
Unknown on line 0
PHP Warning: Unknown(): Unable to load dynamic library './ldap.so' -
./ldap.so: cannot open shared object file: No such file or directory in
Unknown on line 0
PHP Warning: Unknown(): Unable to load dynamic library './snmp.so' -
./snmp.so: cannot open shared object file: No such file or directory in
Unknown on line 0
However, the modules are in /usr/lib/php4
[root@zesolution php4]# ls -la
total 1508
drwxr-xr-x 2 root root 4096 Apr 8 23:49 .
drwxr-xr-x 61 root root 24576 Apr 8 18:38 ..
-rwxr-xr-x 1 root root 1405641 Apr 8 23:03 imap.so
-rwxr-xr-x 1 root root 34365 Apr 8 23:03 ldap.so
-rwxr-xr-x 1 root root 41065 Apr 8 23:03 mysql.so
-rwxr-xr-x 1 root root 17313 Apr 8 23:03 snmp.so
Any idea ?
Thanks !