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 ;

[EMAIL PROTECTED] 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

[EMAIL PROTECTED] 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 !



-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to