← Back to team overview

yade-users team mailing list archive

[Question #696260]: yade container image 20.04 can't run on centos

 

New question #696260 on Yade:
https://answers.launchpad.net/yade/+question/696260

Two virtual machines were build, one installed ubuntu 20.04, the other installed centos 7.9.

go 1.16.2 and singularity 3.7 were both installed in the two systems.  

Make a def file named yade.def:

BootStrap: docker
From: registry.gitlab.com/yade-dev/docker-prod:ubuntu20.04

Then build a singularity container:

sudo singularity build yade.sif yade.def

Run:

singularity exec yade.sif yade -n --test

On the ubuntu system, all test passed.

But on the centos system, a error occured:
Traceback (most recent call last):
  File "/usr/bin/yade", line 144, in <module>
    import yade
  File "/usr/lib/x86_64-linux-gnu/yade/py/yade/__init__.py", line 75, in <module>
    from yade import boot
ImportError: libQt5Core.so.5: cannot open shared object file: No such file or directory

Would you mind to find reasons of the error ?  Why the same container run differently on the two systems ?


-- 
You received this question notification because your team yade-users is
an answer contact for Yade.