• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Dynamic linking of perl library in Panther vs. Tiger
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dynamic linking of perl library in Panther vs. Tiger


  • Subject: Re: Dynamic linking of perl library in Panther vs. Tiger
  • From: Bob Ippolito <email@hidden>
  • Date: Sun, 24 Apr 2005 17:12:30 -0400


On Apr 24, 2005, at 1:27 PM, Nils Hjelte wrote:

My app links against OS X's perl library, and I start receiving feedback that the app won't start in Tiger because of the new perl version included. If I run 'otool -L' on the Panther build I get

/System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE/ libperl.dylib (compatibility version 5.8.0, current version 5.8.1)

whereas the version in Tiger apparently is 5.8.6.

How do I handle this without distributing the app as two different binaries (one for Panther, and one for Tiger).

Build your own Perl (or use DarwinPorts) and link to it statically.

This might be of interest:
http://svn.red-bean.com/bob/frozen-bubble/tags/frozen-bubble-1.0.0e/ macosx/Makefile


Which depends on macho_standalone (to scan for dylib dependencies and rewrite Mach-O load commands), a tool included with py2app:
http://undefined.org/python/#py2app


-bob

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Dynamic linking of perl library in Panther vs. Tiger (From: Nils Hjelte <email@hidden>)

  • Prev by Date: Re: NSTask Says: launch path not accessible
  • Next by Date: Re: Cocoa binding question
  • Previous by thread: Re: Dynamic linking of perl library in Panther vs. Tiger
  • Next by thread: iTunes Radio Tuner
  • Index(es):
    • Date
    • Thread