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



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 ?

Best regards,

Thomas

Thomas Degris wrote:

I tried your suggestions (they are commited and you can find test02 in
the cvs module satom-test) but the problem stays the same.

Thanks for helping me,
Best,

Thomas

Peter O'Gorman wrote:

Thomas Degris wrote:


As, you can see, it works well for the first library loaded but never for the second. Any hint to explain/solve this problem will be greatly appreciate.



Build loadable modules with the -module flag to gnu libtool and things should work better.

For example:
libstutils_la_LDFLAGS = `$(XML2CONFIG) --libs` -module -avoid-version

Alternatively, limit yourself to 10.3 or later, use a recent stable GNU
libtool and set MAC_OSX_DEPLOYMENT_TARGET to 10.3 during configure and build
and things should work okay.


Hope this helps,
Peter



_______________________________________________
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

_______________________________________________ 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>)



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.