aster2asp

16 views
Skip to first unread message

Geospatial

unread,
Aug 31, 2025, 7:04:53 AM (8 days ago) Aug 31
to Ames Stereo Pipeline Support

I am trying to work with ASTER images to generate a DEM with ASP.

I am using Windows 10 Enterprise Version 22H2 OIS Build 19045.6093 on an x64-based processor.

I have installed Windows Subsystem for Linux (WSL): Ubuntu Version 2.

I am using ASTER Level 1A product in Geotiff format.

I am using the following commands:

st@H6SY6K3:/mnt/d/ames/bin$ ./aster2asp mnt/d/ames/bin/aster/Level1A -o mnt/d/ames/bin/aster/Level1Aout

Getting the following error:

grep: error while loading shared libraries: /mnt/d/ames/lib/libpcre2-8.so.0: file too short

/mnt/d/ames/libexec/aster2asp: error while loading shared libraries: /mnt/d/ames/libexec/../lib/libpcl_common.so.1.13: file too short

Any suggestions?

Oleg Alexandrov

unread,
Aug 31, 2025, 12:21:36 PM (8 days ago) Aug 31
to Geospatial, Ames Stereo Pipeline Support
I think the libraries you have are likely messed up somehow. You can try a fresh download in a new directory. Also try fetching the latest build (https://github.com/NeoGeographyToolkit/StereoPipeline/releases)


That distribution is built with conda's own tools, which may be more robust for the kind of cross-platform work you are trying to do.




--
You received this message because you are subscribed to the Google Groups "Ames Stereo Pipeline Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ames-stereo-pipeline...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/ames-stereo-pipeline-support/14cbffae-7b10-428b-a925-0f697d121b23n%40googlegroups.com.
Message has been deleted

Geospatial

unread,
Sep 2, 2025, 12:41:20 PM (6 days ago) Sep 2
to Ames Stereo Pipeline Support
Hi Oleg,
Many thanks for your reply. I tried with the latest build and getting the following error:
bin$ ./aster2asp mnt/d/ames2/bin/aster/Level1A -o mnt/d/ames2/bin/aster/Level1Aout
grep: error while loading shared libraries: /mnt/d/ames2/lib/libpcre2-8.so.0: file too short
/mnt/d/ames2/libexec/aster2asp: error while loading shared libraries: /mnt/d/ames2/libexec/../lib/libpcl_common.so.1.13: file too short
Also, I looked into the file  lib/libpcl_common.so.1.13. THis file is of 0kb and has nothing in it.
I have to try conda.
Regards,
Sanjeev

Oleg Alexandrov

unread,
Sep 2, 2025, 12:46:06 PM (6 days ago) Sep 2
to Ames Stereo Pipeline Support
Also, I looked into the file  lib/libpcl_common.so.1.13. THis file is of 0kb and has nothing in it.

Yeah, that's a problem. I am now looking at the 2025-09-02 build (latest) and see libpcl_common.so.1.13 being a symbolic link to libpcl_common.so.1.13.1, which has 825 kb. Same thing with libpcre2-8.so.0.

Maybe your system cannot interpret symbolic links properly? WSL normally should do well. Or maybe unzipping it did not do a good job?
Message has been deleted

Geospatial

unread,
Sep 5, 2025, 4:56:12 PM (3 days ago) Sep 5
to Ames Stereo Pipeline Support
Hi Oleg,
Thanks. I am using 7zip to unzip the tar file. While doing so, I am getting the following messages:
'Cannot create symbolic link: A required privilege is not held by the client: D:\......'. Please see the attached screenshot. Is this the issue?
Regards,
Sanjeev
Untitled.pdf

Oleg Alexandrov

unread,
Sep 5, 2025, 5:05:05 PM (3 days ago) Sep 5
to Geospatial, Ames Stereo Pipeline Support
It looks like you don't have enough permissions on your machine to properly extract the ASP archive. It is something specific to your system settings or the location you download the archive to.


Geospatial

unread,
Sep 6, 2025, 9:23:26 AM (2 days ago) Sep 6
to Ames Stereo Pipeline Support
Hi Oleg,
Thanks. The issue is now resolved. I unzipped the files using commands within WSL, and this was without any warnings. ASTER2ASP and subsequent DSM generation are running fine.
With regards,
Sanjeev

On Monday, September 1, 2025 at 2:21:36 AM UTC+10 oleg.al...@gmail.com wrote:
Reply all
Reply to author
Forward
0 new messages