precimed / mixer

Causal Mixture Model for GWAS summary statistics
GNU General Public License v3.0
52 stars 16 forks source link

CDLL ('c_functions_lin.so') file not found error #61

Open Charxil opened 1 year ago

Charxil commented 1 year ago

Hello, I am using linux aarch64 architecture. I create a virtual environment using miniconda3 in the linux. When I use CDLL(lib_path), I got the following error: The script is

from ctypes import c_double, c_int, CDLL
lib_path = "/home/su/project/P1/c_functions_lin.so"
a=CDLL(lib_path)

The error is

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/su/miniconda3/envs/myenv/lib/python3.7/ctypes/__init__.py", line 364, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: /home/su/project/P1/c_functions_lin.so: cannot open shared object file: No such file or directory

May I know how can I solve the issue?