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

sgfplib.dll error #7

Open
nico2701 opened this issue Jul 15, 2021 · 3 comments
Open

sgfplib.dll error #7

nico2701 opened this issue Jul 15, 2021 · 3 comments

Comments

@nico2701
Copy link

Hello, when I try to run the extract.py file, this error happens:

File "extract.py", line 104, in
lib = ffi.dlopen('sgfplib')
File "C:\Users\A\anaconda3\lib\site-packages\cffi\api.py", line 150, in dlopen
lib, function_cache = _make_ffi_library(self, name, flags)
File "C:\Users\A\anaconda3\lib\site-packages\cffi\api.py", line 832, in _make_ffi_library
backendlib = _load_backend_lib(backend, libname, flags)
File "C:\Users\A\anaconda3\lib\site-packages\cffi\api.py", line 828, in _load_backend_lib
return backend.load_library(path, flags)
OSError: cannot load library '.\sgfplib.dll': error 0xc1

This is in Windows with sgfpamx, sgfplib & sgwsqlib dll's copied into the current directory.
Any help is appreciated.

@neilharan
Copy link
Owner

Hi, thanks for your interest in OpenAFIS.
Apologies for the delay in getting back to you.
There are x86 and x64 builds of the SecuGen SDK - you have to ensure that the dll's you use match the architecture of your python install. For example, if you have x84 python then you must use x86 dll's - irrespective of your machines arch.

@neilharan
Copy link
Owner

For info, sha256 of my x86 sgfplib.dll is d694d0ee94ee76e8292ce924f34be9ede1b9eaca0c4d23217ed0fceca0d25563. Version number is shown as 4.7.2.0.

@itsoulos
Copy link

itsoulos commented Apr 8, 2024

Hello
I try to install the software in Debian Linux bookworm and everything works as expected but the extract.py file does not work
The error that gives me is
OSError: cannot load library 'libsgfplib.so': /usr/local/lib/libsgfplib.so: undefined symbol: _ZTVN10__cxxabiv117__class_type_infoE

Can you help me about this?
Regards

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

3 participants