Re: ld: cycle in dylib re-exports with /Developer/SDKs/MacOSX10.5.sdk/usr/X11/lib/libGL.dylib
Re: ld: cycle in dylib re-exports with /Developer/SDKs/MacOSX10.5.sdk/usr/X11/lib/libGL.dylib
- Subject: Re: ld: cycle in dylib re-exports with /Developer/SDKs/MacOSX10.5.sdk/usr/X11/lib/libGL.dylib
- From: Jonas Maebe <email@hidden>
- Date: Mon, 30 Jun 2008 20:09:07 +0100
On 30 Jun 2008, at 19:37, Eric Sokolowsky wrote:
However, I'm continually getting the error in the subject line when
trying to use the /usr/X11 version instead of the Framework version.
I have seen many references (such ashttp://developer.apple.com/qa/qa2007/qa1567.html)
that indicate that the -dylib_file option should be used, but it
doesn't seem to work for me. Here are some command lines and
results. I am using Xcode to build the project. Any ideas?
------------ Example ------------
-dylib_file /System/Library/Frameworks/OpenGL.framework/Versions/A/
Libraries/libGL.dylib:/usr/X11/lib/libGL.dylib
Your -dylib_file option is wrong. It has to be, as mentioned in the
technote quoted above:
-dylib_file /System/Library/Frameworks/OpenGL.framework/Versions/A/
Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/
Versions/A/Libraries/libGL.dylib
(the origin of the bug is the fact that the linker is actually doing
what you specify in your -dylib_file option)
Jonas
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden