[GRASSLIST:9771] Re: NVIZ fails to build on an up-to-date Ubuntu Hoary (was: errors building today's NVIZ)
David Finlayson
david.p.finlayson at gmail.com
Mon Jan 9 12:21:01 EST 2006
For what it is worth, I just compiled GRASS CVS this weekend on Ubuntu
5.10. NVIS is working fine (against my new nVidia Graphics card even).
David
On 1/9/06, Glynn Clements <glynn at gclements.plus.com> wrote:
>
> Dylan Beaudette wrote:
>
> > here is something that came up related to NVIZ and X.org last september:
> >
> > http://grass.itc.it/pipermail/grass5/2005-September/019676.html
>
> Right. However, NVIZ isn't using these functions; libGL itself is.
>
> The obvious question is: why is libGL a static library rather than a
> shared library? A shared library would have the relevant dependency
> information:
>
> $ ldd /usr/lib/libGL.so
> libpthread.so.0 => /lib/libpthread.so.0 (0x4007e000)
> libXxf86vm.so.1 => /usr/lib/libXxf86vm.so.1 (0x400d1000)
> libXext.so.6 => /usr/lib/libXext.so.6 (0x400d7000)
> libX11.so.6 => /usr/lib/libX11.so.6 (0x400e5000)
> libdl.so.2 => /lib/libdl.so.2 (0x401ae000)
> libc.so.6 => /lib/libc.so.6 (0x401b2000)
> /lib/ld-linux.so.2 (0x80000000)
>
> Static libraries don't have dependency information, so the only
> solution is for the configure script to try adding various other
> libraries which might be required.
>
> The libGL check in configure.in should probably be updated to:
>
> LOC_CHECK_LIBS(GL,glBegin,OpenGL,$OPENGL_LIB_PATH,OPENGLLIB,$X_LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $MATHLIB,,,-lpthread,-ldl,-lXxf86vm)
>
> --
> Glynn Clements <glynn at gclements.plus.com>
>
>
--
David Finlayson
Marine Geology & Geophysics
School of Oceanography
Box 357940
University of Washington
Seattle, WA 98195-7940
USA
Office: Marine Sciences Building, Room 112
Phone: (206) 616-9407
Web: http://students.washington.edu/dfinlays
More information about the grass-user
mailing list