Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Yet another Snow leopard dyld issue

by Phemto (Acolyte)
on Jan 19, 2011 at 18:53 UTC ( [id://883192]=perlquestion: print w/replies, xml ) Need Help??

Phemto has asked for the wisdom of the Perl Monks concerning the following question:

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

Replies are listed 'Best First'.
Re: Yet another Snow leopard dyld issue
by luis.roca (Deacon) on Jan 19, 2011 at 19:35 UTC

    Have you been able to get Image::Magick, or other non core modules working with Snow Leopard in the past? (Is this your first Snow Leopard machine?) I know from my own admittedly limited experience with modules in Snow Leopard installing is tricky at best. Through some of the research I've done having a separate Perl install is important but I've read it still doesn't resolve the 64/32 bit conflicts (brian d foy has posted on Snow Leopard trouble shooting to one of his sites). That's where the problem seems to lie in getting modules loaded and working appropriately. However I've never seen the error you're getting.

    Sorry I can't be more help but appreciate the Snow Leopard question. :)


    "...the adversities born of well-placed thoughts should be considered mercies rather than misfortunes." Don Quixote
      Now that you mention it. I believe that this is my first attempt at installing Image::Magick on a Snow Leopard machine.
Re: Yet another Snow leopard dyld issue
by Anonymous Monk on Jan 20, 2011 at 05:31 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://883192]
Approved by NiJo
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (6)
As of 2024-04-17 11:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found