Cannot run LAStools after compilation

40 views
Skip to first unread message

Man Singh

unread,
Apr 18, 2024, 2:29:10 AMApr 18
to LAStools - efficient tools for LiDAR processing
I am compiling Lastools using g++ (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0 .
The compilation was successfull. So I try it.

>lasinfo64 /home/theuser/repos/LAStools/LASzip/example/5points_14.las
lasinfo64: error while loading shared libraries: libgeotiff.so.5: cannot open shared object file: No such file or directory

>sudo apt-get install libgeotiff-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libgeotiff-dev is already the newest version (1.4.2-2build1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

>ls /lib/x86_64-linux-gnu/libgeo*
ls: cannot access '/lib/x86_64-linux-gnu/libgeo*': No such file or directory

>find /usr -name "libgeotiff.so*" -print
/usr/lib/x86_64-linux-gnu/libgeotiff.so.2
/usr/lib/x86_64-linux-gnu/libgeotiff.so
/usr/lib/x86_64-linux-gnu/libgeotiff.so.2.1.2

Why I am not able to get libgeotiff.so.5?

Jochen Rapidlasso

unread,
Apr 20, 2024, 9:18:19 AMApr 20
to LAStools - efficient tools for LiDAR processing
Hi Man Singh,
the ubuntu 7.5...~18.04 is a quite old one.
Maybe the libgeotiff.so.2 is the latest one for ubuntu 18.04 or you have to update your packet lists.

Best regards,

Jochen @rapidlasso
Reply all
Reply to author
Forward
0 new messages