I have a new mac and am in the process of trying to install all my old projects and scripts. The biggest challenge is, as always, getting Image::Magick and PerlMagick up and running. Here are the specifics.

OS: 10.6.6

ImageMagick: installed via macports, version 6.6.7

I then followed the instructions on http://globalmoxie.com/blog/imagemagick-install-osx.shtml to install perlmagick. I should note that the instructions are slightly out of date as to the changes to the makefile. The parameters are now placed into variables closer to the top of the program than I remember. In any case, that appears to have worked.

Now when I load one of my programs into Komodo (using #!/usr/local/ActivePerl-5.10/bin/perl -w)and attempt to run it, it no longer tells me that it can't find Image::Magick. Instead I get the following error:

dyld: lazy symbol binding failed: Symbol not found: _MagickCoreGenesis Referenced from: /usr/local/ActivePerl-5.10/site/lib/auto/Image/Magi +ck/Magick.bundle Expected in: dynamic lookup
dyld: Symbol not found: _MagickCoreGenesis Referenced from: /usr/local/ActivePerl-5.10/site/lib/auto/Image/Magi +ck/Magick.bundle Expected in: dynamic lookup

Some research indicated that it may be related to the environment variable VERSIONER_PERL_PREFER_32_BIT. I put the following line in my .bash_rc file.

export VERSIONER_PERL_PREFER_32_BIT=no

Alas, that made no difference.

Is there a module/library that I need to update to prevent this?

Thanks

Phemto

In reply to Yet another Snow leopard dyld issue by Phemto

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.