Re: Cannot find GL lib
Re: Cannot find GL lib
- Subject: Re: Cannot find GL lib
- From: Ben Byer <email@hidden>
- Date: Mon, 17 Dec 2007 19:17:26 -0800
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)
This email sent to email@hidden