John Peterson wrote:
[]
> I found several libGL's when running the locate command.  Maybe the
> one in /usr/X11 is in the way?
> 
> petersons-mac(70)$ locate libGL.dylib
> /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
> /Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib/libGL.dylib
> /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
> /Developer/SDKs/MacOSX10.5.sdk/usr/X11/lib/libGL.dylib
> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
> /usr/X11/lib/libGL.dylib

This is all perfectly OK. The library referred to on the on the linker 
line is /usr/X11/lib/libGL.dylib, and it re-exports symbols from 
/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
You can see this via

   otool -l /usr/X11/lib/libGL.dylib

which shows among other things the following:

Load command 10
           cmd LC_REEXPORT_DYLIB
       cmdsize 104
          name 
/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib 
(offset 24)

Among the re-exported symbols are all the _glBegin etc symbols that your 
error message claimed were undefined. The mystery remains.

-- 
Martin








-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to