[Qgis-user] Issue with libQt5Core when running QGI 3.22 via singularity

Shan-ho Tsai shtsai at uga.edu
Tue Jan 18 10:18:31 PST 2022


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 at 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 at 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 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20220118/831c2b1f/attachment-0001.html>


More information about the Qgis-user mailing list