[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: AC_LTDL_SHLIBEXT setting LT_MODULE_EXT with wrong extension on mac o
Re: AC_LTDL_SHLIBEXT setting LT_MODULE_EXT with wrong extension on mac os x
Thu, 10 Sep 2009 10:03:07 -0500 (CDT)
On Thu, 10 Sep 2009, Husam Senussi wrote:
More appropriate for the libtool list, but that's ok.
I will keep that in mind for next time :)
Yes, well, .so is the right extension on Mac OS X for loadable modules.
.dylib is the right extension for shared libraries.
I guess better to change my make files to create loadable modules with the
.so extension since this how it's suppose to work,
my problem was the code expect .so and the make file generate .dylib
I prefer too do that so I don't break the link for other platforms.
As further clarification, for modules built by libtool and when using
libltdl to load them, it is best to install the .la files for the
module and then have the code request to load the .la file rather than
directly load the module binary. With this approach, the code does
not need to know the naming convention on the system, and any
prerequisites are automatically loaded for the module.
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/