On Tue, Jan 5, 2010 at 2:16 AM, Glynn Clements <gl...@gclements.plus.com> wrote:
> Markus Neteler wrote:
>> 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.

Right.

>> 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).

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?

Markus

> -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

Reply via email to