[Ipe-discuss] trouble installing CGAL ipelets
otfried at ipe.airpost.net
Sat Oct 31 06:33:34 CET 2015
Dynamic linking on Mac OS seems to be quite a mess. Indeed, according
Mac OS distinguishes shared libraries and loadable modules, even though
the only difference seems to be that the latter cannot be linked
Currently my makefiles build ipelets as shared libraries with the dylib
extension. In the next version I'll change the makefiles to use the
-bundle option for compiling ipelets, and the extension to .so.
I will also change the load to look first for <ipelet name>.so and if
that fails for <ipelet name>.dylib - so no matter how you compile it, it
In the meantime, however, Ipe 7.1.7 ~ 7.1.9 require ipelets to be named
.dylib on Mac OS. Just renaming them will be enough, it does not
matter if they are compiled as loadable plugins or shared libraries.
On Fri, Oct 30, 2015, at 23:35, Marc Glisse wrote:
> On Tue, 20 Oct 2015, Otfried Cheong wrote:
> > In Ipe 7.1.7, the file extension for dynamic library has changed from
> > .so to .dylib on Mac OS X, to satisfy Apple's desire to be different.
> I don't use a Mac, but my understanding is that .dylib is for shared
> libraries, while plugins are .so (or .bundle but nobody does that). And
> shared libraries can be used as plugins but *not* the other way around.
> .so seems more natural for ipelets, since I doubt you want to be able to
> link against them.
> Marc Glisse
More information about the Ipe-discuss