Tags:
create new tag
view all tags

SID-01196: Can't locate object method "new" via package "Image::Magick"

Status: Answered Answered TWiki version: 5.0.2 Perl version: 5.10
Category: Server OS: SLES 11 Last update: 14 years ago

I am trying to get ImagePlugin working under twiki. The following error appears when I try to use the plugin on a Wiki Page

Can't locate object method "new" via package "Image::Magick" (perhaps you forgot to load "Image::Magick"?)

Magick.pm is in the following directory: '/usr/lib/perl5/site_perl/5.10.0/s390x-linux-thread-multi/Graphics'

I even copied Magick.pm to '/usr/lib/perl5/site_perl/5.10.0/s390x-linux-thread-multi/Image'

I have even updated localPerlLibPath as follows:

@localPerlLibPath = ( '/usr/lib/perl5/site_perl/5.10.0/s390x-linux-thread-multi/Image', '/usr/lib/perl5/site_perl/5.10.0/s390x-linux-thread-multi/Graphics' );

The following packages were installed via Yast: GraphicsMagick Viewer and Converter for Images 1.2.5

ImageMagick Viewer and Converter for Images 6.4.3.6

libGraphicsMagick2 Viewer and Converter for Images - runtime library 1.2.5

perl-GraphicsMagick Viewer and Converter for Images - perl interface 1.2.5

perl-PerlMagick Perl interface for ImageMagick 6.4.3.6

-- RonMascarenhas - 2011-06-06

Discussion and Answer

Hello,

Have you read this topic? There may be useful information in there.

http://twiki.org/cgi-bin/view/Support/HowToInstallImageMagickOnSuse

-- EnriqueCadalso - 2011-06-08

Yes, installed libjpeg-devel as well using Yast, but the problem still persists.

-- RonaldoMascarenhas - 2011-06-10

Closing this question after more than 30 days of inactivity. Feel free to reopen if needed. Consider engaging one of the TWiki consultants if you need timely help. We invite you to get involved with the community, it is more likely you get community support if you support the open source project!

-- PeterThoeny - 2011-08-01

      Change status to:
ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
SupportForm
Status Answered
Title Can't locate object method "new" via package "Image::Magick"
SupportCategory

TWiki version 5.0.2
Server OS SLES 11
Web server Apache V2
Perl version 5.10
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2011-08-01 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.