Dear all,

I have got the following problem, please kindly help. 
The problem was caused that when I compiled Apache 1.3.14 with DSO, which is running 
properly. And then I compiled PHP 4.0.4 is also running properly. 
However, I tried to compile PHP 4.0.4 with libmcrypt 2.4.8 and mhash 0.8.5 by this 
configure (./configure --with-apxs=[path to apxs of apache] --enable-memory-limit=yes 
--enable-debug=no --enable-track-vars --with-mysql --enable-ftp --enable-bcmath 
--enable-calendar --with-mcrypt=/usr/local/lib --with-mhash=/usr/local/lib 
--enable-wddx); The "libmcrypt.so.4" and "libmhash.so.2" files stored in 
/usr/local/lib, then I tested the apache (apachectl configtest)... I got the error 
message: 

Syntax error on line 238 of /www/apache/conf/httpd.conf: 
Cannot load /www/apache/libexec/libphp4.so into server: libmhash.so.2: cannot op 
en shared object file: No such file or directory 

If I didn't compile with mcrypt or mhash, the apache and php are running properly. But 
the file "libmhash.so.2" is in /usr/local/lib, either I config without the path 
(--with-mhash) it also failed. 
Please help ... Thank you! 



Regards,
Keiran Tai
Email: [EMAIL PROTECTED]


---------------------------------------
Billion Smart Enterprises Ltd.
Tel: 27628223   Fax: 27628121

Reply via email to