Markus Neteler wrote: > I also have a (different) problem compiling xganim in GRASS 7: > > [nete...@north grass70]$ cd /home/neteler/grass70/visualization/xganim > [nete...@north xganim]$ make
[snip] > LC_ALL=C /home/neteler/grass70/dist.x86_64-unknown-linux-gnu/bin/xganim > --html-description < /dev/null | grep -v '</body>\|</html>' > > xganim.tmp.html ; fi > /home/neteler/grass70/dist.x86_64-unknown-linux-gnu/bin/xganim: error > while loading shared libraries: libwx_gtk2u-2.8.so.0: cannot open > shared object file: No such file or directory > make: *** [xganim.tmp.html] Error 1 This isn't a problem compiling it, but running it. > But it is existing: > > [nete...@north xganim]$ locate libwx_gtk2u-2.8.so.0 > /usr/lib/wxPython/lib/libwx_gtk2u-2.8.so.0 > /usr/lib/wxPython/lib/libwx_gtk2u-2.8.so.0.5.0 > > 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). -L switches only tell the linker where to look for libraries. The loader uses $LD_LIBRARY_PATH and ld.so.cache (generated by ldconfig). Or you can manually hack the definition of WXWIDGETSLIB in Platform.make to include -Wl,-rpath,/usr/lib/wxPython/lib. This will embed the path into the executable. -- Glynn Clements <gl...@gclements.plus.com> _______________________________________________ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev