LibMcrypt Linking Problem
| From: | John Peebles | Date: | Wed, 11 Jul 2001 16:42:53 +0000 |
| Subject: | LibMcrypt Linking Problem | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-3503@lists.php.net to get a copy of this message | ||
Hi everyone,
I am trying to recompile php with mcrypt and I downloaded libmcrypt, and
ran the configure script, did a make, a make test (no errors), and a make
install. Then I tried to do the same with mcrypt and I got the following
error:
*** 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 tried adding "/usr/local/bin" to the "/etc/ld.so.conf " file since that is
where the INSTALL file said the executable is usually installed. Can anyone
help me with this?
Thanks in advance,
John