This is expected behaviour. saga_cmd expects a module library, if you don't give one it will give you this error. Check the examples in the manfile (man saga_cmd) or here: http://manpages.ubuntu.com/manpages/maverick/man1/saga_cmd.1.html and the saga wiki http://sourceforge.net/apps/trac/saga-gis/wiki/Executing%20Modules%20with%20SAGA%20CMD
Johan On Tue, Jan 11, 2011 at 11:22 PM, Ricardo Filipe Soares Garcia da < ricardo.garcia.si...@gmail.com> wrote: > Hi Johan > > I did as you suggested and deleted /usr/lib/saga/libta_compound.so > > Now saga_cmd executes without the segmentation fault, but I am still > getting an error: > > error: module library > > available module libraries: > ... shows all the available modules > > Thanks for you help > > On Tue, Jan 11, 2011 at 8:38 PM, Johan Van de Wauw > <johan.vandew...@gmail.com> wrote: > > It's a known bug in saga 2.0.5. Not really problematic - it seems that > > module doesn't work on linux command line. Deleting the file > > /usr/lib/saga/libta_compound.so will fix saga_cmd. The module is not that > > interesting anyway (only combines functionality of other modules). > > I'm planning to update the ubuntugis unstable repository to 2.0.6 soon. > If > > you are too impatient to wait for that, there are daily builds of saga > > at: > > https://launchpad.net/~johanvdw/+archive/sagacvs<https://launchpad.net/%7Ejohanvdw/+archive/sagacvs> > > Johan > > > > On Tue, Jan 11, 2011 at 8:35 PM, Ricardo Filipe Soares Garcia da > > <ricardo.garcia.si...@gmail.com> wrote: > >> > >> Hello list > >> > >> I have installed SAGA GIS from the ubuntugis-unstable repository. I am > >> using Ubuntu 10.10. > >> In trying to use the 'saga_cmd' tool I get a segmentation fault. The > >> whole error follows: > >> > >> error: module library > >> > >> available module libraries: > >> - libgrid_spline.so > >> - libgeostatistics_kriging.so > >> - libio_grid_image.so > >> - libtransect.so > >> - libtable_tools.so > >> - libta_hydrology.so > >> - libsim_cellular_automata.so > >> - libgrid_analysis.so > >> - libta_compound.so > >> Segmentation fault > >> > >> > >> This happens as I type saga_cmd, without arguments in a bash prompt. > >> However, I can run saga_gui normally. Could this be some kind of > >> packaging error? > >> Thank you > >> > >> -- > >> ___________________________ ___ __ > >> Ricardo Garcia Silva > >> _______________________________________________ > >> UbuntuGIS mailing list > >> Ubuntu@lists.osgeo.org > >> http://lists.osgeo.org/mailman/listinfo/ubuntu > >> http://trac.osgeo.org/ubuntugis/wiki > > > > > > > > -- > ___________________________ ___ __ > Ricardo Garcia Silva > _______________________________________________ > UbuntuGIS mailing list > Ubuntu@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/ubuntu > http://trac.osgeo.org/ubuntugis/wiki >
_______________________________________________ UbuntuGIS mailing list Ubuntu@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/ubuntu http://trac.osgeo.org/ubuntugis/wiki