Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with libltdl



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.

Peter
--
Peter O'Gorman - http://www.pogma.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Unix-porting mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/unix-porting/email@hidden

This email sent to email@hidden
References: 
 >Problem with libltdl (From: Thomas Degris <email@hidden>)
 >Re: Problem with libltdl (From: "Peter O'Gorman" <email@hidden>)
 >Re: Problem with libltdl (From: Thomas Degris <email@hidden>)
 >Re: Problem with libltdl (From: Thomas DEGRIS <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.