RE: [PHP] Installing mcrypt
| From: | Mike R | Date: | Wed, 12 Nov 2003 17:46:57 +0000 |
| Subject: | RE: [PHP] Installing mcrypt | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-169323@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: John Nichel [mailto:jnichel@by-tor.com]
> Sent: Wednesday, November 12, 2003 12:33 PM
> To: Mike R
> Cc: php-general@lists.php.net
> Subject: Re: [PHP] Installing mcrypt
>
>
> 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'
Did that. Same error. :\
-Mike