Professional Web Applications Themes

image magick problem on free bsd - PERL Beginners

I am having trouble using image magick on a free bsd box, the code below works fine on redhat but gets the following error message using bsd /libexec/ld-elf.so.1: /usr/local/lib/perl5/site_perl/5.8.3/i386-freebsd/auto/Image/Magick/Magick.so: Undefined symbol "AcquireMagickMemory" Can anybody give some direction on how to fix this thanks. #!/usr/bin/perl -w use CGI qw(:all); use Image::Magick::Thumbnail; # Load your source image $src = new Image::Magick; $src->Read("ideloveto1.jpg"); # Create the thumbnail from it, where the biggest side is 200 px ($thumb,$x,$y) = Image::Magick::Thumbnail::create($src,200); # Save your thumbnail $thumb->Write("th$filename"); -- Regards David Inglis ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program....

  1. #1

    Default image magick problem on free bsd

    I am having trouble using image magick on a free bsd box, the code below works
    fine on redhat but gets the following error message using bsd

    /libexec/ld-elf.so.1:
    /usr/local/lib/perl5/site_perl/5.8.3/i386-freebsd/auto/Image/Magick/Magick.so:
    Undefined symbol "AcquireMagickMemory"

    Can anybody give some direction on how to fix this thanks.


    #!/usr/bin/perl -w
    use CGI qw(:all);
    use Image::Magick::Thumbnail;

    # Load your source image
    $src = new Image::Magick;
    $src->Read("ideloveto1.jpg");
    # Create the thumbnail from it, where the biggest side is 200 px
    ($thumb,$x,$y) = Image::Magick::Thumbnail::create($src,200);

    # Save your thumbnail
    $thumb->Write("th$filename");





    --
    Regards


    David Inglis





    ----------------------------------------------------------------
    This message was sent using IMP, the Internet Messaging Program.
    David Guest

  2. #2

    Default Re: image magick problem on free bsd

    I may have compiled it initially but I later used the sysinstall program on free
    bsd to download the bsd port ver image-Magic-5.5.7.11-1
    --
    Regards


    David Inglis


    Quoting "Randy W. Sims" <org>:
     
    > works 
    > /usr/local/lib/perl5/site_perl/5.8.3/i386-freebsd/auto/Image/Magick/Magick.so: 
    >
    > Did you compile the extension or download a binary dist? Do you have
    > ImageMagick installed? Is it the version required by the perl extension?
    >
    > Randy.
    >
    >
    >[/ref]


    ----------------------------------------------------------------
    This message was sent using IMP, the Internet Messaging Program.
    David Guest

  3. #3

    Default Re: image magick problem on free bsd

    On 7/20/2004 8:12 PM, David Inglis wrote:
     

    Did you compile the extension or download a binary dist? Do you have
    ImageMagick installed? Is it the version required by the perl extension?

    Randy.


    Randy Guest

Similar Threads

  1. Image::Magick::Thumbnail::create problem
    By wapboy in forum PERL Modules
    Replies: 4
    Last Post: September 27th, 07:56 PM
  2. Image Magick
    By Kae Verens in forum PHP Development
    Replies: 4
    Last Post: January 9th, 07:06 PM
  3. Image::Magick Read Problem
    By Tim Hill in forum PERL Modules
    Replies: 6
    Last Post: September 18th, 07:41 AM
  4. [PHP] Image Magick
    By David T-G in forum PHP Development
    Replies: 0
    Last Post: August 26th, 10:42 PM
  5. unicode in Image::Magick (hex values and braces problem?)
    By Anno Siegel in forum PERL Miscellaneous
    Replies: 1
    Last Post: June 24th, 01:46 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139