> Seb wrote: > > | configure:11476: checking for glBegin in -lGL > > | configure:11493: gcc -o conftest -g -Wall -L/usr/lib64 > -Wl,--export-dynamic -L/usr/lib64 conftest.c -lGL -lSM -lICE -lX11 -lm > 1>&5 > > | /usr/bin/ld: cannot find -lGL Glynn: > I was assuming that it was going to be more involved than that; > failure to detect a library is often due to missing dependencies > (rather than the library itself). > > Somewhere on your system should be a library named e.g. libGL.so.1.2. > There should also be a symlink to this file, named libGL.so.
Is the libgl1-mesa-dev package installed? It provides that. In general you can check the control file in DebianGIS SVN to see what packages are needed to build GRASS with the latest Debian/unstable: http://svn.debian.org/wsvn/pkg-grass/packages/grass/trunk/debian/?rev=0&sc=0 The rules file is good to get a working ./configure line. apt-file is a nice Debian tool for finding which pacakge(s) contains the missing library. If multiple packages are listed for the same file, you can expect they will conflict with each other. #the following is for Etch not unstable! $ apt-file search libGL.so fglrx-driver: usr/lib/libGL.so.1 fglrx-driver: usr/lib/libGL.so.1.2 libgl1-mesa-dev: usr/lib/libGL.so libgl1-mesa-glide3: usr/lib/i686/mmx/cmov/libGL.so.1 libgl1-mesa-glide3: usr/lib/i686/mmx/cmov/libGL.so.1.5.060201 libgl1-mesa-glide3: usr/lib/libGL.so.1 libgl1-mesa-glide3: usr/lib/libGL.so.1.5.060201 libgl1-mesa-glide3-dev: usr/lib/i686/mmx/cmov/libGL.so libgl1-mesa-glide3-dev: usr/lib/libGL.so libgl1-mesa-glx: usr/lib/libGL.so.1 libgl1-mesa-glx: usr/lib/libGL.so.1.2 libgl1-mesa-swx11: usr/lib/i686/cmov/libGL.so.1 libgl1-mesa-swx11: usr/lib/i686/cmov/libGL.so.1.5.060501 libgl1-mesa-swx11: usr/lib/libGL.so.1 libgl1-mesa-swx11: usr/lib/libGL.so.1.5.060501 libgl1-mesa-swx11-dbg: usr/lib/debug/i686/cmov/libGL.so libgl1-mesa-swx11-dbg: usr/lib/debug/i686/cmov/libGL.so.1 libgl1-mesa-swx11-dbg: usr/lib/debug/i686/cmov/libGL.so.1.5.060501 libgl1-mesa-swx11-dbg: usr/lib/debug/libGL.so libgl1-mesa-swx11-dbg: usr/lib/debug/libGL.so.1 libgl1-mesa-swx11-dbg: usr/lib/debug/libGL.so.1.5.060501 libgl1-mesa-swx11-dev: usr/lib/i686/cmov/libGL.so libgl1-mesa-swx11-dev: usr/lib/libGL.so lsb-build-base2: usr/lib/lsb2/libGL.so lsb-build-base3: usr/lib/lsb3/libGL.so nvidia-glx: usr/lib/libGL.so.1 nvidia-glx: usr/lib/libGL.so.1.0.8776 nvidia-glx-legacy: usr/lib/libGL.so.1 nvidia-glx-legacy: usr/lib/libGL.so.1.0.7184 nvidia-glx-legacy-dev: usr/lib/libGL.so > Going back to your original message: > > > I can see /usr/lib/libGL.so.1, although there's also > > /usr/lib64/libGL.so.1, and they're both a symlink to > > /usr/lib/libGL.so.100.14.19. Any help would be appreciated. > > you don't mention the libGL.so symlink, so I would guess that it's > missing. This symlink is needed for compilation, but not at run time. > > The unversioned .so symlinks are normally included in the development > package (e.g. "opengl-devel") along with the headers. If you already > have the headers, the missing symlink may to be due to a botched > package management operation. > > [A Google search on libGL.so.100.14.19 suggests that this is nVidia's > proprietary OpenGL library. nVidia's OpenGL packaging leaves a lot to > be desired.] > > In any case, it should suffice to just add the symlink, manually e.g.: > > ln -s libGL.so.1 /usr/lib64/libGL.so Those tricks are almost never needed in Debian, you just have to install the correct packages & then things work. e.g. I first installed Debian on my busy development machine in Jan 2004 and still have not needed to add /usr/local/lib to /etc/ld.so.conf or symlink to any library version. Actually, with Debian, I have found using those tricks or trying to be smarter than the packagers usually backfires. Hamish ____________________________________________________________________________________ Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase. http://farechase.yahoo.com/ _______________________________________________ grassuser mailing list grassuser@grass.itc.it http://grass.itc.it/mailman/listinfo/grassuser