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: Cannot find GL lib



You're not going to get a "hey dummy!" from me, but it's probably easiest to put the flags in LDFLAGS, e.g.

$ export LDFLAGS="-dylib_file /System/Library/Frameworks/ OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/ Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib"
$ ./configure --enable-blah --disable-foo [etc]


On Dec 17, 2007, at 6:27 PM, Mike wrote:

Martin,

Pretty sure you nailed it. Looked at the webpage, and the error in the config.log file was exactly what was written on this page. Now to fix it. Of course, the example given on the page you sent is very simplistic, and figuring out how to add the "extra contortions" to a configure file that is ~27000 lines long without breaking something else will certainly be beyond me. But it is broken anyway, so I will try for fun. Thanks for the information. If anyone reads the last few lines and says to themselves, "hey dummy you aren't supposed to modify the configuration file you are supposed to modify the XXXX file!" please let me know.

-mike


On Dec 17, 2007, at 10:33 AM, Martin Costabel wrote:

Where to look: In the file "config.log" that sits beside the configure script.

Probable cause of the error: An infamous bug (or "improvement" according to Apple) in /usr/bin/ld that prevents linking to /usr/ X11/lib/libGL.dylib without extra contortions. See
<http://developer.apple.com/qa/qa2007/qa1567.html>

-- Ben Byer CoreOS / BSD Technology Group, XDarwin maintainer

_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/x11-users/email@hidden

This email sent to email@hidden
References: 
 >Cannot find GL lib (From: Mike <email@hidden>)
 >Re: Cannot find GL lib (From: Martin Costabel <email@hidden>)
 >Re: Cannot find GL lib (From: Mike <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.