Import cad_to_dagmc error

Hi,

I am trying to build an image using the attached Dockerfile and use OpenMC in PyCharm.

Dockerfile_copy.py (10.3 KB)

I built OpenMC with the master (or develop or latest) version, along with DAGMC and Libmesh.
Docker build and making Python Interpreter were successful.
However, when I try to import cad_to_dagmc or from cad_to_dagmc import CadToDagmc in PyCharm, I get the following error.

/openmc_venv/bin/python3 /opt/project/ds.py
Traceback (most recent call last):
File “/opt/project/ds.py”, line 2, in
from cad_to_dagmc import CadToDagmc
File “/openmc_venv/lib/python3.12/site-packages/cad_to_dagmc/init.py”, line 16, in
from .core import *
File “/openmc_venv/lib/python3.12/site-packages/cad_to_dagmc/core.py”, line 4, in
import gmsh
File “/openmc_venv/lib/python3.12/site-packages/gmsh.py”, line 87, in
lib = CDLL(libpath)
^^^^^^^^^^^^^
File “/usr/lib/python3.12/ctypes/init.py”, line 379, in init
self._handle = _dlopen(self._name, mode)
^^^^^^^^^^^^^^^^^^^^^^^^^
OSError: libXft.so.2: cannot open shared object file: No such file or directory

Process finished with exit code 1

Is there a solution for this?