Re: Installing mcrypt

From: Date: Wed, 12 Nov 2003 17:33:04 +0000
Subject: Re: Installing mcrypt
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-169321@lists.php.net to get a copy of this message
Mike R wrote:
That was it. :) Problem is, I'm getting a different error now: *** 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 Anyone know how to change the LD_LIBRARY_PATH variable? Or where to, actually.....
You can put where-ever you installed libmcrypt into /etc/ld.so.conf...ie, if you used '--prefix=/usr/local' when configuring libmcrypt, put /usr/local into /etc/ld.so.conf, and run 'ldconfig' -- By-Tor.com It's all about the Rush http://www.by-tor.com

« previous php.general (#169321) next »