Mac OS X Panther 10.3.4 perl 5.8.1 (came w/OS) PAR 0.87 wxWidgets 2.5.3 wxPerl 0.22
I've been trying to pack a wxperl program as a standalone executable that will run on systems without perl or wx installed. Even when I use the -l option to include the wx library file, though, running the program on anything besides the development machine always gives me the error:
dyld: ./CDArchiveCalculator can't open library: /usr/local/lib/libwx_mac_adv-2.5.3.dylib (No such file or directory, errno = 2)
Trace/BPT trap
I included that file specifically via -l. The file itself is just a symlink, though:
libwx_mac_adv-2.5.3.0.0.dylib libwx_mac_adv-2.5.3.dylib -> libwx_mac_adv-2.5.3.0.0.dylib
So when I check the PAR_TEMP directory I see only libwx_mac_adv-2.5.3.0.0.dylib, not the link. I can only imagine the problem is that wxperl is expecting the link file itself to still be there. Should PAR, then, in addition to following symlinks, include them in the archive?
Unfortunately I don't have access to a Mac at this moment, so I can't test it to see if that would work. In the meantime, I welcome your comments and suggestions.
The only other thing I can think of that might be doing this is that the executable was modified with `wx-config --rezflags`. Admittedly I have no idea what this command does other than having the effect of giving the program a GUI...
Brian
