LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 05-28-2009, 08:04 AM   #1
matthewo256
LQ Newbie
 
Registered: May 2009
Posts: 10

Rep: Reputation: 0
Question mcrypt install


I tried to install mcrypt, and it said libmcrypt was not found. Oddly, yum seems to think it's there. Both messages at the bottom of this post.

This exists:
/usr/lib/libmcrypt.so.4.4.7

I copied it to:
/usr/lib/libmcrypt.so

Also:
vi /etc/ld.so.conf
added /usr/lib
ldconfig

Still no joy.

wget http://superb-west.dl.sourceforge.ne...t-2.6.7.tar.gz
tar -zxvf mcrypt-2.6.7.tar.gz
cd mcrypt-2.6.7
./configure
configure: error: *** libmcrypt was not found

yum list *mcrypt*
Installed Packages
libmcrypt.i386 2.5.7-1.2.el5.rf installed
 
Old 05-28-2009, 09:06 AM   #2
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,263

Rep: Reputation: 231Reputation: 231Reputation: 231
Quote:
Originally Posted by matthewo256 View Post
I tried to install mcrypt, and it said libmcrypt was not found. Oddly, yum seems to think it's there. Both messages at the bottom of this post.

This exists:
/usr/lib/libmcrypt.so.4.4.7

I copied it to:
/usr/lib/libmcrypt.so

Also:
vi /etc/ld.so.conf
added /usr/lib
ldconfig

Still no joy.

wget http://superb-west.dl.sourceforge.ne...t-2.6.7.tar.gz
tar -zxvf mcrypt-2.6.7.tar.gz
cd mcrypt-2.6.7
./configure
configure: error: *** libmcrypt was not found

yum list *mcrypt*
Installed Packages
libmcrypt.i386 2.5.7-1.2.el5.rf installed
The package mcrypt is available on the epel repo. That should take care of it.
 
Old 05-28-2009, 08:09 PM   #3
matthewo256
LQ Newbie
 
Registered: May 2009
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by stormtracknole View Post
The package mcrypt is available on the epel repo. That should take care of it.
Cool! That did the trick. Now what about these two?

No package mysql-devel available.
No package tinyxml available.
 
Old 05-28-2009, 08:41 PM   #4
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,263

Rep: Reputation: 231Reputation: 231Reputation: 231
Quote:
Originally Posted by matthewo256 View Post
Cool! That did the trick. Now what about these two?

No package mysql-devel available.
No package tinyxml available.
What version of redhat do you have? You need to turn on some of the extra channels in order to have access to some of the packages. For example, if you have the Desktop version, you need to enable the workstation channel in order to get the extra mysql stuff. For tinyxml, I'm not sure an rpm is available from Red Hat.
 
Old 05-28-2009, 08:51 PM   #5
matthewo256
LQ Newbie
 
Registered: May 2009
Posts: 10

Original Poster
Rep: Reputation: 0
Redhat Enterprise Linux - OS ES 5.0
Which channel do I need to enable? And how do I do so?

I've got a C++ program I'm trying to compile that depends on tinyxml. It would be nice to not have to re-write it.. any suggestions?
 
Old 05-28-2009, 09:40 PM   #6
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,263

Rep: Reputation: 231Reputation: 231Reputation: 231
Quote:
Originally Posted by matthewo256 View Post
Redhat Enterprise Linux - OS ES 5.0
Which channel do I need to enable? And how do I do so?

I've got a C++ program I'm trying to compile that depends on tinyxml. It would be nice to not have to re-write it.. any suggestions?
You will need to log in to your Red Hat account at rhn.redhat.com. In there, click on your system host (your actual computer hostname). You should see a section called "Alter Channel Subscription". Go ahead and click on it that link. On the next page, you should see a list of channels that you can sign up. Select all that applies, but in particular, you want to select "RHEL Desktop Workstation". That should enable you to download all the extra mysql packages (including the server stuff) along with other developmental compilers. This should get you going in the right direction! Let me know how that works.
 
Old 05-29-2009, 12:51 PM   #7
matthewo256
LQ Newbie
 
Registered: May 2009
Posts: 10

Original Poster
Rep: Reputation: 0
mysql-devel.rpm
- requires:
mysql-libs.rpm
- conflicts with:
MySQL-server

This is a production server, so I can't exactly remove MySQL-server

I'm looking at buying a copy of RHEL for my local computer. I see it's $349 for ES, and $80 for the basic desktop.

Either is OK, but it's silly to throw money away. Would desktop be equivalent, software-wise? Or is there a better path?
 
Old 06-01-2009, 09:56 AM   #8
matthewo256
LQ Newbie
 
Registered: May 2009
Posts: 10

Original Poster
Rep: Reputation: 0
OK, I talked with Red Hat sales and they think the $180 workstation will be what I need. Thanks for you help!
 
Old 06-01-2009, 10:12 AM   #9
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,263

Rep: Reputation: 231Reputation: 231Reputation: 231
Quote:
Originally Posted by matthewo256 View Post
OK, I talked with Red Hat sales and they think the $180 workstation will be what I need. Thanks for you help!
Sorry, I missed your previous post. You will need the workstation edition if you plan to require support for mysql. It sounds like you will, so it looks like it would be a good choice, especially for a production server. I use the Desktop version on my home computer with no problems. Enabling those extra channels gives me all available rpms, including those from the workstation edition. However, because I only have the desktop version, Red Hat will not provide support for the workstation packages. Red Hat only supports your main channel. Hope this made sense.
 
  


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
Magento Install: dom extension and mcrypt extension mjdb Linux - Newbie 0 02-21-2009 02:58 AM
Why I can't install mcrypt on my server baby_php_guru Linux - Newbie 1 12-15-2007 07:23 AM
Live CD with mcrypt Marel Linux - Software 3 07-02-2007 01:08 PM
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 - Distributions > Red Hat

All times are GMT -5. The time now is 04:23 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