[Mono-osx] Invoke an api using .so library
u.hertlein at gmail.com
Wed Aug 14 15:57:27 UTC 2013
A few things:
- OS X uses DYLD_LIBRARY_PATH rather than LD_LIBRARY_PATH
- .dylib is the usual extension for dynamic libraries on OS X so why fight
You could also check that the rpath in the library is correct; especially
if you are relying on external libraries, but that is another can of worms.
Other than that it's a straight drop-in from Linux/Windows to OS X, no
special magic required.
On Thu, Aug 8, 2013 at 3:14 PM, mickeyf <mickey at thesweetoasis.com> wrote:
> I see that you are working with OSX - I only know linux and Windows, but
> from Jonathan Pryor's article :
> It appears that OSX has its own considerations and may be more particular
> about where a library is located and what it is called.
> I don't know if the bug mentioned about GLib in OSX has been fixed, but if
> not, it looks like you may need to leave off the ".so" extension when
> mapping in the config file.
> I would also double check all those many search paths that may be used.
> View this message in context:
> Sent from the Mono - OSX mailing list archive at Nabble.com.
> Mono-osx mailing list
> Mono-osx at lists.ximian.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-osx