[GRASS-dev] xganim compilation on GRASS 7

Glynn Clements glynn at gclements.plus.com
Tue Jan 5 08:23:20 EST 2010


Markus Neteler wrote:

> >> How to tell GRASS where it is without adding nasty links?
> >
> >        export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/wxPython/lib
> >
> > before running "make".
> >
> > Or add /usr/lib/wxPython/lib to /etc/ld.so.conf then run ldconfig (as
> > root).
> 
> This would be the easiest solution but I am surprised that it is needed.
> Do you all have the library in a different place? Problem of packaging
> in my distro?

The fact that the wxWidgets libraries are in /usr/lib/wxPython
suggests that they're provided solely for use by wxPython. The binary
wxPython modules probably have the path to the wxWidgets libraries
embedded into them.

It's possible that the distribution has a separate wxWidgets package
(although I doubt that GRASS' configure will handle this; we assume
that the same settings are used both for wxPython and wxWidgets).

FWIW, Gentoo puts the wxWidgets libraries in /usr/lib.

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-dev mailing list