User-agent: Mozilla Thunderbird 1.0 (Macintosh/20041206)
Thomas DEGRIS wrote:
For a more general point of view, is MacOSX able to load multiple
libraries defining the same symbol ? If yes, do you know projects (using
libtools and automake) that use this method ?
The answer remains that loadable bundles are better, use the GNU libtool
-module flag for *all* the libraries which will be loaded at runtime and you
should be fine.
Now, it can also load dynamic shared libraries which are linked without the
-flat_namespace flag, in order to get gnu libtool to create such libraries
one must use the GNU libtool -no-undefined flag in your Makefile.am
(assuming your libraries have no undefined symbols), or set
MACOSX_DEPLOYMENT_TARGET=10.3 in your environment during configure and make.
I think I mistyped this as MAC_OSX_DEPLOYMENT_TARGET in my previous post.
I hope you have installed the latest and greatest gnu
autoconf/automake/libtool releases in /usr/local (or some prefix other than
/usr) before trying all this, the glibtool in /usr/bin is a little older and
behaves differently.
I'm sorry, I simply don't have the time right now to look at your project.