[GRASS-user] Problems with OpenGL when compiling grass-6.4.0 on Mac OS X 10.5.4

Elvis Dowson elvis.dowson at mac.com
Sun Sep 21 17:31:45 EDT 2008


Hi William,
                      That solution worked. One step closer!!

Now when I try to run make within the nviz folder, I get the following  
errors

Undefined symbols:
   "_XOpenDisplay", referenced from:
       _Nviz_create_render_window in render.o
   "_XFreePixmap", referenced from:
       _Nviz_destroy_render_window in render.o
   "_XCreatePixmap", referenced from:
       _Nviz_create_render_window in render.o
   "_XFree", referenced from:
       _Nviz_create_render_window in render.o
ld: symbol(s) not found
collect2: ld returned 1 exit status

What should I do?

On Sep 22, 2008, at 1:14 AM, William Kyngesburye wrote:
>>
>>
> Ah, there's your problem.  They should only be symlinks within the  
> X11/lib dir:
>
> 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.dylib
> lrwxr-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.dylib
> lrwxr-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.dylib
>


More information about the grass-user mailing list