Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: /lib/x86_64-linux-gnu/libp11-kit.so.0: undefined symbol: ffi_type_pointer, version LIBFFI_BASE_7.0 #78

Open
kermarrecg opened this issue Jul 4, 2023 · 1 comment

Comments

@kermarrecg
Copy link

Dear team,
I am trying to make palmpy work for the tutorial case but I get the following error which I am not able to fix:
(base) kermarrec@kornog:~/tmp/anaconda3/lib/python3.10/palmpy/palmpy-main/static generator$ python make_static.py tutorialcase.ini

INFO: Imported the tutorial mapdict.
Could not creat the output path as given in the namelist (e.g. exists already).

domain_0

SUCCESS: Chosen parameters and resulting nx, ny and nz match

Finalizing Checks:

Cell count test: nx, ny and nz are all integers. Test PASSED.
Traceback (most recent call last):
File "/home/kermarrec/tmp/anaconda3/lib/python3.10/palmpy/palmpy-main/static generator/make_static.py", line 307, in
gdt.cutortho(ortho, subdir_rasteredshp+filenames+'_baseortho.tif',
File "/home/kermarrec/tmp/anaconda3/lib/python3.10/palmpy/staticcreation/geodatatools.py", line 224, in cutortho
from osgeo import gdal
File "/home/kermarrec/.local/lib/python3.10/site-packages/osgeo/init.py", line 41, in
_gdal = swig_import_helper()
File "/home/kermarrec/.local/lib/python3.10/site-packages/osgeo/init.py", line 24, in swig_import_helper
_mod = imp.load_module('_gdal', fp, pathname, description)
File "/home/kermarrec/tmp/anaconda3/lib/python3.10/imp.py", line 243, in load_module
return load_dynamic(name, filename, file)
File "/home/kermarrec/tmp/anaconda3/lib/python3.10/imp.py", line 343, in load_dynamic
return _load(spec)
ImportError: /lib/x86_64-linux-gnu/libp11-kit.so.0: undefined symbol: ffi_type_pointer, version LIBFFI_BASE_7.0

I would really appreciate your support here. Many thanks in advance,
gael.

@stefanfluck
Copy link
Owner

Hi gael
sorry for the very late reply! To me that looks like it could be an issue with the gdal installation on your end. See also my reply to the email you sent me.
I think I should provide a docker image for a running environment to prevent any such issues in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants