LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 10-16-2007, 07:35 PM   #1
wyntre
LQ Newbie
 
Registered: Oct 2003
Posts: 2

Rep: Reputation: Disabled
Configuring mcrypt and libmcrypt


I am having problems with configuring mcrypt and libmcrypt.

I am running RHEL 5, with Apache 2.2.6 and PHP 5.2.4.

I have installed libmcrypt 5.2.7 and mcrypt 2.6.4-2 through rpms. I try to re-configure php with mcrypt and gives me the error:

checking for mcrypt support... yes
configure: error: mcrypt.h not found. Please reinstall libmcrypt.

i've unistalled mcrypt and libmcrypt, then tried to configure them from source, but i get errors from those, mainly dealing with the g++ and c++ compiler, but i have the entire gcc suite installed.
 
Old 10-17-2007, 03:11 AM   #2
Hko
Senior Member
 
Registered: Aug 2002
Location: Groningen, The Netherlands
Distribution: ubuntu
Posts: 2,530

Rep: Reputation: 108Reputation: 108
I think you rproblem will be solved by just installing one more package: "libmcrypt-devel".

"-devel" packages generally. contain header file (*.h) for compiling software against libraries. They are packaged seperately because the are not needed to run ready-compiled programs that use the lib.

Last edited by Hko; 10-17-2007 at 03:13 AM.
 
Old 10-17-2007, 10:28 PM   #3
wyntre
LQ Newbie
 
Registered: Oct 2003
Posts: 2

Original Poster
Rep: Reputation: Disabled
libphp5.la

i configure with:

./configure --with-gd --with-jpeg-dir=/usr/lib --with-png-dir=/usr/lib --with-freetype-dir=/usr/lib --with-mysql --with-mcrypt --with-apxs2=/usr/local/apache2/bin/apxs --with-xpm-dir=/usr/lib

and when i run make i get:

/usr/bin/ld: cannot find -lltdl
collect2: ld returned 1 exit status
make: *** [libphp5.la] Error 1

what is with the libphp5 error? Do you know how to fix that? I did a google search of the error, but didn't find much on how to fix it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
libmcrypt-2.5.8 linuxNYC Linux - Newbie 5 07-02-2007 12:53 PM
mcrypt libmcrypt gSalsero Linux - Software 1 03-31-2005 12:18 AM
using mcrypt Hano Linux - Software 0 12-06-2004 03:47 PM
Mcrypt/Libmcrypt Installation on Mandrake 10 Xandrake Linux - Newbie 12 05-12-2004 08:05 PM
libmcrypt and PHP Saeven Linux - Software 2 11-25-2002 01:39 PM


All times are GMT -5. The time now is 06:35 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration