LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-15-2007, 04:53 AM   #1
baby_php_guru
LQ Newbie
 
Registered: Dec 2007
Posts: 1

Rep: Reputation: 0
Why I can't install mcrypt on my server


I have a big problem in installing mcrypt on my server... My version of php is 4.3.2 (is old) an I am trying to install mcrypt and I've got this error every time even though I had installed limcrypt also....


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


Can anyone help me please... I need some suggestions .....
 
Old 12-15-2007, 07:23 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
The error message gave you several ideas to try. First see if libmcrypt exists. This will also tell you the version as well by the numbers after the library, as in /usr/lib/libmcrypt.so.4.4.8. Then check is the path to libmcrypt exists in ld.so.conf. If it is a standard location like /usr/lib/ it probably does and running "ldconf" won't help, but you can always run "sudo /sbin/ldconfig" without harm. If the path to libmcrypt doesn't exist in /etc/ld.so.conf, then add it and run "sudo /sbin/ldconfig".
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Live CD with mcrypt Marel Linux - Software 3 07-02-2007 01:08 PM
mcrypt libmcrypt gSalsero Linux - Software 1 03-31-2005 12:18 AM
using mcrypt from commandline Hano Linux - Security 5 12-11-2004 09:17 AM
using mcrypt Hano Linux - Software 0 12-06-2004 03:47 PM
php-mcrypt? nigeledge Linux - Software 0 10-03-2004 09:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration