[GRASS-dev] compile error with vdigit nviz

Martin Landa landa.martin at gmail.com
Thu Dec 11 15:02:12 EST 2008


2008/12/11 Jamie Adams <jaadfoo at gmail.com>:
> Ok, that helped.  Now I'm only getting an error with vdigit
>
>>>cd /usr/local/work/build/grass6_devel/gui/wxpython/vdigit
>>>make
> ........
> /usr/bin/ld: cannot find -lgdi
> collect2: ld returned 1 exit status
> make: *** [OBJ.x86_64-unknown-linux-gnu/_grass6_wxvdigit.so] Error 1

from

http://svn.osgeo.org/grass/grass/trunk/gui/wxpython/README

"""
First, create a symlink to _gdi_.so shared library

$ sudo ln -s `locate _gdi_.so` /usr/local/lib/libgdi.so

e.g.

$ sudo ln -s /usr/lib/python2.4/site-packages/wx-2.8-gtk2-unicode/wx/_gdi_.so
/usr/local/lib/libgdi.so

Then update LD_LIBRARY_PATH or add '/usr/local/lib' to /etc/ld.so.conf
(in this case run 'sudo ldconfig').
"""

Martin

-- 
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa *


More information about the grass-dev mailing list