On Sep 21, 2008, at 3:34 PM, Elvis Dowson wrote:
I get the following errors: /Users/elvis/Tool/grass-6.4.0/lib/nvizcc -dynamiclib -compatibility_version 6.4 -current_version 6.4 - install_name /usr/local/grass-6.4.svn/lib/libgrass_nviz.dylib -o / Users/elvis/Tool/grass-6.4.0/dist.i386-apple-darwin9.5.0/lib/ libgrass_nviz.6.4.svn.dylib -L/Users/elvis/Tool/grass-6.4.0/ dist.i386-apple-darwin9.5.0/lib -arch i386 -Os -arch i386 -Os
...
-L/usr/local/lib -lgdal -L/usr/X11/lib -lGL -lGLU
...
Undefined symbols:
Everything looks right - that's what my cc command looks like also.
If I look at libGL.dylib in the /usr/X11/lib folder, it is actually a symbolic link to /System/Library/Frameworks/OpenGL.framework/ Versions/A/Libraries/libGL.dylib whose size is only 568kb.Ah, there's your problem. They should only be symlinks within the X11/ lib dir:However, I can see that there is another file called libGL.1.dylib in the /usr/X11/lib folder whose size is 2.3MB. Perhaps this is the correct one?
lrwxr-xr-x 1 root wheel 13 Oct 27 2007 libGL.1.2.dylib -> libGL.1.dylib
-rwxr-xr-x 1 root wheel 2390592 Aug 21 23:45 libGL.1.dyliblrwxr-xr-x 1 root wheel 13 Oct 27 2007 libGL.dylib -> libGL. 1.dylib lrwxr-xr-x 1 root wheel 14 Oct 27 2007 libGLU.1.3.dylib -> libGLU.1.dylib
-rwxr-xr-x 1 root wheel 3304064 Aug 21 23:45 libGLU.1.dyliblrwxr-xr-x 1 root wheel 14 Oct 27 2007 libGLU.dylib -> libGLU.1.dylib
Try: sudo ln -sf libGL.1.dylib /usr/X11/lib/libGL.dylib sudo ln -sf libGL.1.dylib /usr/X11/lib/libGL.1.2.dylibUse a similar ln for the GLU libs if they are also pointing to the system framework.
----- William Kyngesburye <kyngchaos*at*kyngchaos*dot*com> http://www.kyngchaos.com/"This is a question about the past, is it? ... How can I tell that the past isn't a fiction designed to account for the discrepancy between my immediate physical sensations and my state of mind?"
- The Ruler of the Universe _______________________________________________ grass-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-user
