[GRASS-user] Grass-GIS 6.4 - v.digit and tcl-tk
Hamish
hamish_b at yahoo.com
Mon Jun 1 01:48:55 EDT 2009
Richard wrote:
> >> v.digit: error while loading shared libraries: libtk8.4.so:
> >> cannot open shared object file: No such file or directory
> >>
> >> - Running 6.4 on OpenSUSE 11.1
> >>
> >> - I have installed and compiled tcl-tk 8.4
> >>
> >> - I recompiled Grass-GIS using --with-tcltk=/usr/include/
> >> (which contains tcl.h)
(which version one?)
> >> Any suggestions?
> >
> > what does this say:
> > $ locate libtk8.4.so
> >
> > if it is in /usr/local/lib is that listed in /etc/ld.so.conf?
> > in not, add it and as root run ldconfig.
> >
> > if it exists but not by that name (e.g. as libtk8.4.so.0), make a
> > symlink to the libtk8.4.so name from the .0 name (simplify,
> > but obviously don't lie about the version number).
> The file exists and I added it to ld.so.conf. No improvement.
added the file or "/usr/local/lib"? you just want the dir.
did you run ldconfig after?
> When installing wish, OpenSUSE installs tcl-tk 8.5, but Grass-GIS seems
> to be looking for 8.4.
only because you told it to with ./configure
it probably doesn't help any but fwiw this is what I use on debian:
../configure --with-tcltk-includes=/usr/include/tcl8.4
> If I kill 8.5 it causes problems in other places. Thoughts?
is there a tcl tk -dev package there? what version is it?
what does "ldd `which v.digit`" say about the libraries used?
(see wiki debugging page about that)
Hamish
More information about the grass-user
mailing list