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