Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

pudge (1)

pudge
  (email not shown publicly)
http://pudge.net/
AOL IM: Crimethnk (Add Buddy, Send Message)

I run this joint, see?

Journal of pudge (1)

Thursday December 05, 2002
12:54 AM

Mac::AppleEvents, gcc3, C++

[ #9285 ]

I've got most of it ported, though I've not done any testing yet. I am running into some undefined symbol errors:

$ perl -Iblib/arch -Iblib/lib -MMac::AppleEvents -e1
dyld: perl Undefined symbols:
__ZdlPv
__Znwm
___gxx_personality_v0

They are apparently related to C++ (AppleEvents.xs links to PerlAEUtils.cp) and gcc and linking. I just don't really have a clue as to how to deal with it.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • I'm having the same problem. On installing Mac::Carbon, everything seemed to be going pretty well until...

    Speech/t/Speech................ok 3/8## Component Manager: attempting to find symbols in a component alias of type (regR/carP/x!bt)
    Speech/t/Speech................ok
    t/Carbon.......................dyld: /usr/bin/perl Undefined symbols:
    __ZdlPv
    __Znwm
    ___gxx_personality_v0
    t/Carbon.......................dubious

    • Do a make realclean, then edit AppleEvents/Makefile.PL and comment out the definition for LDDLFLAGS or whatever, then make one for $ARGS{LD} = 'c++'. Then it should work.

      FWIW, the warning from the Component Manager is caused by one of your installed components, I can't do anything about that. :) Some components decide to make noise like that. Check Google for info if you want to quiet the warning.