Re: Trouble installing mcrypt



On 2006-04-29, laredotornado@xxxxxxxxxxx wrote:
Hi,

I'm trying to install mcrypt 2.6.4 on my Mandrake Linux system. When I
run "./configure", I get this error:

checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for libmcrypt-config... no
checking for libmcrypt - version >= 2.5.0... no
*** Could not run libmcrypt test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means LIBMCRYPT was incorrectly installed
*** or that you have moved LIBMCRYPT since it was installed. In the latter case, you
*** may want to edit the libmcrypt-config script: no configure: error:
*** libmcrypt was not found

which baffles me because I do have libmcrypt installed -- I installed
it right before. The location is /usr/local/lib/libmcrypt.

First, did you do as the ouput suggested and check the config.log
file for the exact error?

Second, do you need to install the development version, e.g.
libcrypt-devel?

--
Chris F.A. Johnson, author <http://cfaj.freeshell.org>
Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)
===== My code in this post, if any, assumes the POSIX locale
===== and is released under the GNU General Public Licence
.



Relevant Pages

  • RE: [PHP] Installing mcrypt
    ... > I had a similiar problem recently when trying to install aspell from ... > the RPM of libmcrypt installed too...that might be causing the conflict. ... *** that the run-time linker is not finding LIBMCRYPT or finding the wrong ...
    (php.general)
  • Trouble installing mcrypt
    ... I'm trying to install mcrypt 2.6.4 on my Mandrake Linux system. ... checking for gcc option to accept ANSI C... ... *** Could not run libmcrypt test program, ...
    (comp.os.linux.misc)
  • Re: C++ compiler cannot create executables
    ... I added a couple of repositories before it would work, ... I tried to install the PHP extension like so: ... checking for libmcrypt version... ...
    (comp.os.linux.setup)