LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 05-06-2010, 08:57 AM   #1
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

Rep: Reputation: Disabled
Error installing Image::Magick via CPAN


Hello all,

There is this server that I have just put with Bugzilla. It needs Image::Magick module for rendering bmp or other image types to png to save some disk space and compress the images.
The best way to install it is using CPAN repos. And it gives whole lot of errors. I am attaching the file for errors.
But if try to install from cpan console it says Image::Magick is already the recent version.

Code:
cpan> install Image::Magick
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
  Database was generated on Thu, 06 May 2010 02:29:01 GMT
Image::Magick is up to date.
And this is the bugzilla error:

Code:
The new value for convert_uncompressed_images is invalid: Error requiring Image::Magick: '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.3: 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 (eval 134) line 3 Compilation failed in require at (eval 134) line 3. '.
Attached Files
File Type: txt txt.txt (30.5 KB, 28 views)
 
Old 05-06-2010, 09:32 AM   #2
PMP
Member
 
Registered: Apr 2009
Location: ~
Distribution: RHEL, Fedora
Posts: 381

Rep: Reputation: 58
http://www.linuxquestions.org/questi...l-make-604297/
 
Old 05-07-2010, 12:01 AM   #3
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

Original Poster
Rep: Reputation: Disabled
That does not solve the issue. I already have the settings done in CPAN.pm and make has correct path. I have tried installing using yum as well.
And you are missing on this statement of mine:
Code:
cpan> install Image::Magick
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
  Database was generated on Thu, 06 May 2010 02:29:01 GMT
Image::Magick is up to date.
It says Image::Magick is installed and is up-to-date as well. But somehow bugzilla is not finding the modules.
 
Old 05-07-2010, 12:12 AM   #4
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

Original Poster
Rep: Reputation: Disabled
These are the results for my yum installation for ImageMagick:

Code:
Package ImageMagick-6.2.8.0-4.el5_1.1.i386 already installed and latest version
Nothing to do
Code:
Package ImageMagick-perl-6.2.8.0-4.el5_1.1.i386 already installed and latest version
Nothing to do
 
Old 05-07-2010, 12:40 AM   #5
PMP
Member
 
Registered: Apr 2009
Location: ~
Distribution: RHEL, Fedora
Posts: 381

Rep: Reputation: 58
Have you tried removing and re-installing it ?
What about giving a force update.
 
Old 05-07-2010, 02:41 AM   #6
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

Original Poster
Rep: Reputation: Disabled
Yes tried reinstalling everything. Still the same error. Please do not ask to reinstall bugzilla. This is another error given by bugzilla:

Code:
Software error:

&Image::Magick::constant not defined. The required ImageMagick libraries are not installed or not installed properly.
END failed--call queue aborted.
 
Old 05-07-2010, 01:46 PM   #7
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# yum install ImageMagick-perl bugzilla

bugzilla is in the EPEL repo ( and has 42 dependencies.)
https://fedoraproject.org/wiki/EPEL
https://fedoraproject.org/wiki/EPEL/FAQ#howtouse

I don't known how you used (or installed) bugzilla ? ?
May be show some command(s), you tried to use.
http://tldp.org/LDP/bugzilla/Bugzilla-Guide/how.html
https://landfill.bugzilla.org/bugzilla-tip/
 
Old 05-07-2010, 11:55 PM   #8
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

Original Poster
Rep: Reputation: Disabled
I manually installed bugzilla as given in the documentation. Everything is fine. This Image::Magick is required for image compression. I have already installed ImageMagick ImageMagick-perl ImageMagick-devel. And you can see that CPAN does say that it is installed and up-to-date as well.
 
Old 05-08-2010, 01:56 AM   #9
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
For the sake of completeness, these are the bugzilla dependencies,
when yum installs it ......

mod_perl perl-AppConfig perl-BSD-Resource perl-Convert-ASN1
perl-Convert-BinHex perl-Email-Abstract perl-Email-Address
perl-Email-MIME perl-Email-MIME-Attachment-Stripper
perl-Email-MIME-ContentType perl-Email-MIME-Creator
perl-Email-MIME-Encodings perl-Email-MIME-Modifier
perl-Email-MessageID perl-Email-Reply perl-Email-Send
perl-Email-Simple perl-Email-Simple-Creator perl-File-HomeDir
perl-IO-Socket-SSL perl-IO-stringy perl-LDAP perl-MIME-Lite
perl-MIME-Types perl-MIME-tools perl-MailTools
perl-Module-Pluggable perl-Net-SSLeay perl-Pod-POM
perl-Return-Value perl-SOAP-Lite perl-TeX-Hyphen
perl-Template-Toolkit perl-Text-Autoformat perl-Text-Reform
perl-TimeDate perl-XML-NamespaceSupport perl-XML-Parser
perl-XML-SAX perl-XML-Twig perl-version
( Most of these are from the EPEL repo.)

When you tell, which actions you are taking for the error to
appear, there may be a solution. Are you doing a command to
compress images ? Which command ? Or is some GUI used ? → →
Which Menu or button ? ?
..

Last edited by knudfl; 05-08-2010 at 01:58 AM.
 
Old 05-08-2010, 03:45 AM   #10
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

Original Poster
Rep: Reputation: Disabled
There is this option in bugzilla administration to compress the images attached to save the disk space. If I just enable it through the radio button and click Save, it gives all the errors I have pasted in the above posts.
I will try out the yum install for bugzilla on some other test machine and then let you know. But this will not solve my problem. The bugzilla is in use so it will not be possible to remove it or replace it immediately. Will see if just replacing the mysql database works for it.
The page is here:

Bugzilla > Administration > Parameters > Index > convert_uncompressed_images. This option can be enabled or disabled using a radio button. It makes the use of Image::Magick.
 
Old 05-08-2010, 04:28 AM   #11
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

Original Poster
Rep: Reputation: Disabled
@knudfl

Added the EPEL repository and installed all the dependencies it would install with bugzilla but the problem still persists.
 
Old 05-10-2010, 03:53 AM   #12
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

Original Poster
Rep: Reputation: Disabled
Done. I am going to mark it solved. Had to manually install the ImageMagick and PerlMagick.

Code:
wget ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick.tar.gz

cd imageMagick
./configure
make
make install
Code:
cd PerlMagick
perl Makefile.PL
make install
All was I needed to do. Working fine now.

@knudfl,

The bugzilla version in EPEL repos is old. Testopia would not work on 3.2 version. The one I am running is 3.4.5. So installing from yum would not completely solve my problem.
 
  


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
Error installing PerlMagick 6.32 (Image::Magick) Akhran Linux - Software 4 11-25-2012 12:59 AM
image magick install help needed DotHQ Linux - Software 6 01-20-2009 09:02 AM
Image magick help! disruptive Programming 1 02-13-2008 06:54 PM
How to uninstall old image magick? centosfan Linux - Server 4 12-22-2007 09:09 AM
Finding Image Magick Binary Cyric Slackware 1 10-17-2004 09:28 PM

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

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