laszip installation in Ubuntu

253 views
Skip to first unread message

Mohammad Asad Riaz

unread,
Oct 31, 2023, 7:59:14 AM10/31/23
to LAStools - efficient tools for LiDAR processing
can any one tell me the proper and easy way to install laszip in ubuntu?

Jochen Rapidlasso

unread,
Oct 31, 2023, 8:03:28 AM10/31/23
to LAStools - efficient tools for LiDAR processing
Hi  Mohammad,
there you find ready to use linux binaries. Please use las2las64 to zip LAS files to LAZ format.

Best,

Jochen @rapidlasso

Albert Godfrind

unread,
Nov 2, 2023, 10:49:58 AM11/2/23
to last...@googlegroups.com
The pre-build X64 binaries offered here have strong dependencies on your C++ and C runtime version:

./lasinfo64: /lib64/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by ./lasinfo64)

This is difficult to fix, unless you use it in container environment where you can switch to any runtime you need. I’d rather just build the binaries from the sources. I have done that for several Unix/Linux platforms: RHEL7 an RHEL8 on X64, RHEL8 and RHEL9 on ARM64, macOS on X64 (I still need to test with macOS on ARM64). The process is simple and straightforward, like this (for linux)

# Fetch sources

# Unzip archive
unzip -qf LAStools.zip

# Build: ignore the warnings. Results go into ./LAStools/bin64
cd LAStools
cmake -DCMAKE_BUILD_TYPE=Release .
cmake --build . --target=clean

# Install: link binaries in /usr/bin
for F in ./bin64/* ; do sudo ln -sf $(readlink -e $F) /usr/bin/$(basename ${F:0:-2}) ; done

# Check that everything works
lasinfo ./data/test.laz

--
Albert Godfrind
France
+33 6 09 97 27 23

--
Download LAStools at
https://rapidlasso.de
Manage your settings at
https://groups.google.com/g/lastools/membership
---
You received this message because you are subscribed to the Google Groups "LAStools - efficient tools for LiDAR processing" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lastools+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lastools/a393ae62-8a2e-4ce5-9482-76456b8cf32fn%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages