Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
10-22-2008, 07:17 AM
|
#1
|
Member
Registered: May 2007
Location: /dev/random
Distribution: CentOS, Fedora, RHEL, SuSE
Posts: 62
Rep:
|
How to fix ImageMagick issue in CentOS ?
Dear Members,
I'm trying to install ImageMagick for perl in CentOS 5 box. Here are some information:
First I tried installation using yum, which goes ok. I can verify:
Code:
# rpm -qa | grep ImageMagick
ImageMagick-6.2.8.0-3.el5.4
ImageMagick-perl-6.2.8.0-3.el5.4
But when testing it, its throwing errors:
Code:
# perl -e 'use Image::Magick; print $Image::Magick::VERSION."\n"'
Can't load '/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/Image/Magick/Magick.so' for module Image::Magick: libMagickCore.so.1: cannot open shared object file: No such file or directory at /usr/lib/perl5/5.8.8/i386-linux-thread-multi/DynaLoader.pm line 230.
at -e line 1
Compilation failed in require at -e line 1.
BEGIN failed--compilation aborted at -e line 1.
Then I tried manual installation of ImageMagick (ImageMagick-6.4.4, which includes module for perl also) and its compilation/installation goes okay but same error afterwards.
Some more input:
Code:
# ldd /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/Image/Magick/Magick.so
linux-gate.so.1 => (0xbfffe000)
libMagickCore.so.1 => not found
libMagickWand.so.1 => not found
libc.so.6 => /lib/libc.so.6 (0xb7d75000)
/lib/ld-linux.so.2 (0x80000000)
# cat /etc/ld.so.conf
include ld.so.conf.d/*.conf
/usr/local/lib
/usr/lib
Any help will be appreciated.
|
|
|
10-23-2008, 01:38 AM
|
#2
|
Senior Member
Registered: Jan 2006
Posts: 4,363
Rep: 
|
Not sure if this will help or not, but a lot of times you need the -devel version of a package:
ImageMagick-devel
|
|
|
10-23-2008, 03:04 AM
|
#3
|
LQ Guru
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509
|
It works well on my system, but I have a slightly different (updated) version:
Code:
$ rpm -qa | grep ImageMagick
ImageMagick-perl-6.2.8.0-4.el5_1.1
ImageMagick-6.2.8.0-4.el5_1.1
Which CentOS are you running on? Mine is
Code:
# lsb_release -d
Description: CentOS release 5.2 (Final)
|
|
|
10-24-2008, 12:21 AM
|
#4
|
Member
Registered: May 2007
Location: /dev/random
Distribution: CentOS, Fedora, RHEL, SuSE
Posts: 62
Original Poster
Rep:
|
Quote:
Originally Posted by lazlow
ImageMagick-devel
|
I installed it but no help
@colucix: My box is CentOS 5.0:
Code:
# cat /etc/redhat-release
CentOS release 5.0 (Final)
Any other clue ?
|
|
|
10-24-2008, 12:34 AM
|
#5
|
Senior Member
Registered: Jan 2006
Posts: 4,363
Rep: 
|
Looks like you may be missing a lot of updates. I installed as 5.0 but through updates I now show 5.2. When was the last time you ran a yum update?
|
|
|
10-24-2008, 12:38 AM
|
#6
|
Member
Registered: May 2007
Location: /dev/random
Distribution: CentOS, Fedora, RHEL, SuSE
Posts: 62
Original Poster
Rep:
|
Quote:
Originally Posted by lazlow
Looks like you may be missing a lot of updates. I installed as 5.0 but through updates I now show 5.2. When was the last time you ran a yum update?
|
Yeh, seems I'm missing updates. well, buddy, could you please reply with the command to install vital updates? (yum update ? )
|
|
|
10-24-2008, 12:43 AM
|
#7
|
Senior Member
Registered: Jan 2006
Posts: 4,363
Rep: 
|
Well vital is going to depend on you. But to install the updates of whatever you already have installed run "yum update" as root. I will warn you that if you have not done so in a while (and it looks that way) you are going to have a lot of updates.
|
|
|
10-24-2008, 01:07 AM
|
#8
|
Member
Registered: May 2007
Location: /dev/random
Distribution: CentOS, Fedora, RHEL, SuSE
Posts: 62
Original Poster
Rep:
|
Hi lazlow, Thanks for the info. Running 'yum update' commands results in several dependecy errors:
Code:
--lines--
--> Processing Dependency: libevent-1.1a.so.1 for package: mysql-proxy
--> Processing Dependency: libaprutil-0.so.0 for package: subversion
--> Processing Dependency: libgeos.so.2 for package: gdal
--> Processing Dependency: libmysqlclient.so.14 for package: perl-DBD-mysql
--> Finished Dependency Resolution
Error: Missing Dependency: python-imaging = 1.1.5-5.el5 is needed by package python-imaging-devel
Error: Missing Dependency: libneon.so.24 is needed by package subversion
Error: Missing Dependency: libapr-0.so.0 is needed by package subversion
Error: Missing Dependency: libmysqlclient.so.14(libmysqlclient_14) is needed by package perl-DBD-mysql
Error: Missing Dependency: libevent-1.1a.so.1 is needed by package mysql-proxy
Error: Missing Dependency: libmysqlclient.so.14 is needed by package perl-DBD-mysql
Error: Missing Dependency: libevent-1.1a.so.1 is needed by package nfs-utils
Error: Missing Dependency: libgeos.so.2 is needed by package gdal
Error: Missing Dependency: libaprutil-0.so.0 is needed by package subversion
We only need mysql, perl, php and httpd in this server.I've enabled 'updates','extras','centosplus', 'rpmforge' etc. repositories but doesnt help.
Any further hints in this regard ?
|
|
|
10-24-2008, 02:04 AM
|
#9
|
Senior Member
Registered: Jan 2006
Posts: 4,363
Rep: 
|
1st be careful mixing 3rd party repos, you can get in a world of hurt that way.
Try "yum update yum" first and then try 'yum update' again(a good place to start anytime you are behind on updates). This may or may not help.
One possible problem is that you have mixed two third party repos that are not compatible(not as common as it used to be, but it still happens). Another is that you are so far behind that yum is lost. You can try yum updating a few of the apps you listed first, just to give yum a running start.
One thing to keep in mind when running a packaged distro is that there is no such thing as just a few packages you need. Packages have dependencies, and those dependencies often have dependencies. Also there may be system critical components that rely on some of those same dependencies. So changing one package may seem simple but one may have to update half the system just to update that one package (extreme example). Think of it as replacing just one line in a fishing net. This is why yum (generally) is superior to rpm(the tool not the package). It is also why it is such a pita when yum is being pissy.
|
|
|
All times are GMT -5. The time now is 04:12 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|