Skip navigation.
 
mlRe: Dynamic linking of perl library in Panther vs. Tiger
FROM : Bob Ippolito
DATE : Sun Apr 24 23:12:30 2005

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

Related mailsAuthorDate
mlDynamic linking of perl library in Panther vs. Tiger Nils Hjelte Apr 24, 19:27
mlRe: Dynamic linking of perl library in Panther vs. Tiger Sherm Pendley Apr 24, 19:54
mlRe: Dynamic linking of perl library in Panther vs. Tiger Bob Ippolito Apr 24, 23:12