I have a customised perl installed:
[jgw@localhost Perl]$ perl -v
This is perl, v5.7.3 built for darwin-64int
As a result when building the example code I get an error:
/usr/bin/ld: warning can't open dynamic library: /System/Library/Perl/darwin/CORE/libperl.dylib (checking for undefined symbols may be affected) (No such file or directory, errno = 2)
sudo ln -s /System/Library/Perl/darwin-64int \ /System/Library/Perl/darwin
Get CamelBones to identify the location of libperl.dylib by asking Perl instead of hard coding?