How to link against an older dylib in a framework?
How to link against an older dylib in a framework?
- Subject: How to link against an older dylib in a framework?
- From: Tom Loredo <email@hidden>
- Date: Fri, 5 Mar 2010 15:08:20 -0500
Hi-
I'm not sure darwin-dev is the right place for this (it might also
fit on Cocoa-dev, unix-porting, and perhaps elsewhere); let me know
if another forum would be better.
I'd like to know how to link against the older version of a
framework provided by Apple in System/Library/Frameworks/, i.e.,
what gcc/ld options or flags to use.
Details: I'm installing a new (public framework) version of Python on
a 10.6 system. Its tkinter package provides access to Tcl/Tk. An unfortunate
coincidence of Python and Tk bugs in Tcl/Tk 8.5 prevents tkinter
apps from working properly. However, indications are that Tcl/Tk 8.4
should work fine (e.g., all works fine built against 8.4 on 10.5).
Apple provides both 8.4 and 8.5 in the Tcl and Tk frameworks, with
"Current" symlinked to 8.5. When Python's tkinter extension gets
built, what should be done to get it to use the 8.4 dylibs?
Is it just a matter of putting full paths to the 8.4 dylibs as
arguments for gcc? Or should I be using ld's -install_name option
to specify a version switch? If the latter, what exactly should
the install_name be (the path to the top of the framework, or
through "Current" to the specific current version)?
Thanks for any advice,
Tom
-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden