mcrypt can't find libmcrypt
| From: | Peter Nyberg | Date: | Thu, 30 Jan 2003 12:37:19 +0000 |
| Subject: | mcrypt can't find libmcrypt | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-9887@lists.php.net to get a copy of this message | ||
Hi everyone!
I've tried to compile libmcrypt, mhash and libmcrypt with instructions on
http://www.alt-php-faq.org/local/95/
It didn't help. I'm still getting error when configure mcrypt.
My system is RH Linux 7.3.
checking for libmcrypt-config... /usr/local/bin/libmcrypt-config
checking for libmcrypt - version >= 2.5.0... no
*** Could not run libmcrypt test program, checking why...
*** The test program compiled, but did not run. This usually means
*** that the run-time linker is not finding LIBMCRYPT or finding the wrong
*** version of LIBMCRYPT. If it is not finding LIBMCRYPT, you'll need to set
your
*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point
*** to the installed location Also, make sure you have run ldconfig if that
*** is required on your system
***
*** If you have an old version installed, it is best to remove it, although
*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
***
configure: error: *** libmcrypt was not found
I looked for the path in ld.so.conf
[root@xxxxx mcrypt-2.6.3]# cat /etc/ld.so.conf
/usr/kerberos/lib
/usr/X11R6/lib
/usr/lib/qt-3.0.3/lib
/usr/lib/sane
/usr/lib/wine
/usr/local/lib
/usr/local/lib/libmcrypt
I also checked the version and as you can see 2.5.5 is there
[root@xxxxx mcrypt-2.6.3]# /usr/local/bin/libmcrypt-config --version
2.5.5
I'm very confused and don't know what to do next! So please soemone. HELP ME!
Thanks
Peter Nyberg
----------------------------------------------------------------
Department of Biochemistry and Biophysics: http://www.dbb.su.se/