Hi Guys
Has anyone had issues installing LIGGGHTS on Ubuntu 24.04 LTS?
My installation seems to go okay however there is an error wit regard to vtk which prevents any simulation from running. Refer to the error below.
./lmp_auto: error while loading shared libraries: libvtkCommonCore-8.0.so.1: cannot open shared object file: No such file or directory
I have tried compiling vtk separately however the issue persists. Noting that I have done the same installation on the Raspberry Pi5 running Ubuntu without any issues.
Would it be easier to revert back to Ubuntu 20.4?
beifenghhh | Wed, 09/24/2025 - 16:59
Same problem using ubuntu 24.04
Hi friend,
Unfortunately I encounter with the same problem today. I'm using the same ubuntu version as you, ubuntu24.04. If your libvtk error was solved, can you share your experience about this. Thanks!
beifenghhh | Wed, 09/24/2025 - 17:19
problem solved
My vtklib is downloaded by turning on AUTOINSTALL_VTK option, all related files are stored in LIGGGHTS-PUBLIC folder. So, I used this line searching for my libvtk link file in the folder:
find . -name "libvtkCommonCore-8.0.so.1"
after I found the location, export the path and my program went well
export LD_LIBRARY_PATH=~/LIGGGHTS-PUBLIC/lib/vtk/build/lib:$LD_LIBRARY_PATH