Re: standalone executable on Mac OS X (as independent as possible from user's system)
Lyn Matten <[email protected]>
| Newsgroups | gmane.comp.ai.prolog.swi |
|---|---|
| Message-ID | <[email protected]> |
Hi Stijn, may i ask you if it would be possible to provide a step by step howto for creating a stand a lone binary under MAC OS X? Maybe Jan could place that on the swi website. I think it would be very helpful to build up apps for MAC using swi-prolog which than simply could be provided without the need of installing swi-prolog on the user´s system. Kind regards Lyn Am 14.10.2013 um 23:33 schrieb Stijn Heymans <[email protected]>: > On Thu, Oct 10, 2013 at 12:50 PM, Stijn Heymans <[email protected]>wrote: > >> Other things I was thinking of is changing the DYLD_LIBRARY_PATH but >> server_pl >> contains absolute paths to libncurses.5.6.dylib it seems. >> > > and that does not seem to matter actually. I just moved > /usr/lib/libncurses.5.4.dylib to ./pl ("pl" is a subdirectory of the > directory where server_pl would be located). > > Running server_pl then results in: > > dyld: Library not loaded: /usr/lib/libncurses.5.4.dylib > Referenced from: ..../server_pl > Reason: image not found > Trace/BPT trap: 5 > > But just setting the following variable to the "./pl" seems to get things > working again: > > $ export DYLD_FALLBACK_LIBRARY_PATH="./pl" > > If I run server_pl I no longer get the missing library error (even though > it is no longer at its original /usr/lib/location) > > So well, I think that's good news :) > -------------- next part -------------- > HTML attachment scrubbed and removed > _______________________________________________ > SWI-Prolog mailing list > [email protected] > https://lists.iai.uni-bonn.de/mailman/listinfo.cgi/swi-prolog -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 495 bytes Desc: Message signed with OpenPGP using GPGMail URL: <https://lists.iai.uni-bonn.de/pipermail/swi-prolog/attachments/20131017/757e1e6a/attachment.bin>