[GRASS-user] v.digit under wxGUI

Vincent Bain bain at toraval.fr
Sun Jan 18 13:30:18 EST 2009


OK,

so in order to fully enjoy the wxpython GUI on an 64 bit architecture
(especially the wxdigit module) one should first read carefully the
README file located in the your_grass_source_location/gui/wxpython
directory.

The section named "7 - VECTOR DIGITIZER" tells you to create a symbolic
link to a wx library : 

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

The command locate _gdi_.so may points towards the 32 bit library and
ignore (?) the 64 bit libs path (/usr/lib64/...), so it fails. In my
configuration I had to type :

        sudo ln -s /usr/lib64/python2.5/site-packages\
        /wx-2.8-gtk2-unicode/wx/_gdi_.so /usr/local/lib/libgdi.so

And it worked !


Le dimanche 18 janvier 2009 à 18:59 +0100, Markus Neteler a écrit :
> Excellent.
> 
> Please post a short note to the list so that the next one
> in the trap finds it :)
> 
> thanks
> Markus
> 
> On Sun, Jan 18, 2009 at 6:21 PM, Vincent Bain <bain at toraval.fr> wrote:
> > Yes !
> > you guessed my mistake, the link was pointing to the lib32 lib... Now it
> > works fine.
> >
> > Thank you very much,
> >
> > Vincent.
> >
> >
> > Le dimanche 18 janvier 2009 à 17:59 +0100, Markus Neteler a écrit :
> >> Vincent,
> >>
> >> On Sun, Jan 18, 2009 at 10:35 AM, Vincent Bain <bain at toraval.fr> wrote:
> >> > Hello,
> >> >
> >> > Compiling grass64 on Ubuntu Hardy for 64bit system, I got this error
> >> > when running v.digit under wxpython interface :
> >> >
> >> > /usr/local/lib/libgdi.so: undefined symbol: Py_InitModule4
> >> >
> >> > Already pointed in this thread
> >> > http://lists.osgeo.org/pipermail/grass-dev/2008-May/037763.html
> >> >
> >> > but I can't catch any solution in the links proposed by Markus.
> >> >
> >> > Does anyone have a solution ? or should I give up on my 64bit
> >> > architecture ?
> >>
> >> No need to give up on 64bit, I am using it like many others here.
> >>
> >> Please post the result of
> >> file /usr/local/lib/libgdi.so
> >>
> >> I get
> >> /usr/local/lib/libgdi.so: symbolic link to
> >> `/usr/lib64/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_gdi_.so'
> >>
> >> As you see it links to the 64bit version of _gdi_.so.
> >>
> >> Perhaps you linked the 32bit version?
> >>
> >> Markus
> >>
> >
> >
> 
> 
> 



More information about the grass-user mailing list