[gdal-dev] Install GDAL with gdal_ls available in PATH

Abdul Raheem Siddiqui abdulraheemsiddiqui at gmail.com
Thu Dec 12 12:23:29 PST 2024


Hello,

I am developing a compiled program in Golang that calls GDAL through
subprocess calls. In one of the program's features that I am developing, I
want to call *gdal_ls*. However, I see that gdal_ls is not available in
PATH by default and hence can't be called directly in a terminal without
specifying the full path or moving `gdal_ls.py` script to the path.

My program will be shipped as a binary, and GDAL is expected to be
available on the machine where the binary is executed. This has worked well
so far but now that I want to call *gdal_ls *in the new feature, the new
feature will not work out of the box.

Is there a way to install GDAL with gdal_ls available in Path (so that I
can ask my users to do this) or is there a better solution for my problem?

Thanks,

Abdul Siddiqui

ERT Corp.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20241212/9000ef35/attachment.htm>


More information about the gdal-dev mailing list