Hello,

I'm trying to run QGIS 3.22 on an HPC cluster. Docker is not available on the 
cluster, but Singularity is. I created a singularity image from the official 
docker container documented at https://hub.docker.com/r/qgis/qgis. The command 
I used to create the singularity image is

singularity pull docker://qgis/qgis

and this created qgis_latest.sif

But when I run it via Singularity, I get the error that libQt5Core.so cannot be 
found:

[shtsai@b1-24 ~]$ singularity run qgis_latest.sif qgis --help
/usr/bin/qgis: error while loading shared libraries: libQt5Core.so.5: cannot 
open shared object file: No such file or directory

This library is available in the container, but perhaps the library path is not 
set up correctly for using it via Singularity:

[shtsai@b1-24 ~]$ singularity run qgis_latest.sif ls -l 
/usr/lib/x86_64-linux-gnu/libQt5Core.so
lrwxrwxrwx 1 root root 20 Jan  5 13:54 /usr/lib/x86_64-linux-gnu/libQt5Core.so 
-> libQt5Core.so.5.12.8
[shtsai@b1-24 ~]$ singularity run qgis_latest.sif ls -l 
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5.12.8
-rw-r--r-- 1 root root 5519624 Jan  5 13:54 
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5.12.8

Any thoughts why this error occurred and how I can resolve it?

Thank you in advance.
Regards,
Shan-Ho

--------
Shan-Ho Tsai
GACRC/EITS, University of Georgia
Athens, GA 30602
_______________________________________________
Qgis-user mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to