Hi, the drivers for the CNS reader in Italy are provided here
https://swdownload1.agenziaentrate.gov.it/pub/sanita/libbit4xpki-idemia-amd64.1.4.10-647.deb
Well on the same S.O. But run with two different kernels (both 64bit) in one case it works, in the other it doesn't.
I can't figure out where the incompatibility (cannot execute binary file: Invalid executable format) might originate.
I am attaching some command line tests, in the hope that someone can suggest me what I am doing wrong in the kernel configuration
libbit4xpki-idemia-amd64.1.4.10-647.deb
kernel that does not run
tux@slitaz:~$ uname -a
Linux slitaz 5.15.0-slitaz64 #10 SMP Wed Dec 27 19:16:15 CET 2023 x86_64 GNU/Linux
tux@slitaz:~$ file /usr/share/bit4id/x/pinmanager/bin/python.exe
/usr/share/bit4id/x/pinmanager/bin/python.exe: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, BuildID[sha1]=f6eef9ea560556194c72caf9c3ccaf889dbdc106, stripped
tux@slitaz:~$ /usr/share/bit4id/x/pinmanager/bin/python.exe -m crtmgr.gui
-sh: /usr/share/bit4id/x/pinmanager/bin/python.exe: cannot execute binary file: Formato eseguibile non valido
bash /usr/share/bit4id/x/pinmanager/bin/python.exe -m crtmgr.gui
/usr/share/bit4id/x/pinmanager/bin/python.exe: /usr/share/bit4id/x/pinmanager/bin/python.exe: impossibile eseguire il file binario
-----------------------------------------------------------------------------------------------------------------------
kernel that works
tux@slitaz:~$ uname -a
Linux slitaz 3.16.55-slitaz64 #8 SMP Fri Mar 25 18:55:30 CET 2022 x86_64 GNU/Linux
tux@slitaz:~$ file /usr/share/bit4id/x/pinmanager/bin/python.exe
/usr/share/bit4id/x/pinmanager/bin/python.exe: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, BuildID[sha1]=f6eef9ea560556194c72caf9c3ccaf889dbdc106, stripped
tux@slitaz:~$ /usr/share/bit4id/x/pinmanager/bin/python.exe -m crtmgr.gui
Traceback (most recent call last):
File "src\crtmgr\util.py", line 225, in <module>
File "/usr/local/lib/python2.7/logging/handlers.py", line 118, in __init__
File "/usr/local/lib/python2.7/logging/handlers.py", line 65, in __init__
File "/usr/local/lib/python2.7/logging/__init__.py", line 893, in __init__
File "/usr/local/lib/python2.7/logging/__init__.py", line 912, in _open
IOError: [Errno 2] No such file or directory: '/4log/crtmgr.log'
INFO:crtmgr.log:Log started...
“
tux@slitaz:~$
Executed correctly!
-------------------------------------------------------------------------
Italiano
Salve, i driver per il lettore CNS in Italia vengono forniti qui
https://swdownload1.agenziaentrate.gov.it/pub/sanita/libbit4xpki-idemia-amd64.1.4.10-647.deb
ebbene sullo stesso S.O. Ma eseguito con due kernel diversi (entrambi a 64bit) in un caso funziona, nell'altro no.
Non riesco a capire dove possa avere origine l'incompatibilità (cannot execute binary file: Formato eseguibile non valido)
vi allego alcuni test da riga di comando, nella speranza che qualcuno mi possa suggerire cosa sbaglio nella configurazione del kernel
libbit4xpki-idemia-amd64.1.4.10-647.deb
kernel che non esegue
tux@slitaz:~$ uname -a
Linux slitaz 5.15.0-slitaz64 #10 SMP Wed Dec 27 19:16:15 CET 2023 x86_64 GNU/Linux
tux@slitaz:~$ file /usr/share/bit4id/x/pinmanager/bin/python.exe
/usr/share/bit4id/x/pinmanager/bin/python.exe: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, BuildID[sha1]=f6eef9ea560556194c72caf9c3ccaf889dbdc106, stripped
tux@slitaz:~$ /usr/share/bit4id/x/pinmanager/bin/python.exe -m crtmgr.gui
-sh: /usr/share/bit4id/x/pinmanager/bin/python.exe: cannot execute binary file: Formato eseguibile non valido
bash /usr/share/bit4id/x/pinmanager/bin/python.exe -m crtmgr.gui
/usr/share/bit4id/x/pinmanager/bin/python.exe: /usr/share/bit4id/x/pinmanager/bin/python.exe: impossibile eseguire il file binario
kernel che funziona
tux@slitaz:~$ uname -a
Linux slitaz 3.16.55-slitaz64 #8 SMP Fri Mar 25 18:55:30 CET 2022 x86_64 GNU/Linux
tux@slitaz:~$ file /usr/share/bit4id/x/pinmanager/bin/python.exe
/usr/share/bit4id/x/pinmanager/bin/python.exe: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, BuildID[sha1]=f6eef9ea560556194c72caf9c3ccaf889dbdc106, stripped
tux@slitaz:~$ /usr/share/bit4id/x/pinmanager/bin/python.exe -m crtmgr.gui
Traceback (most recent call last):
File "src\crtmgr\util.py", line 225, in <module>
File "/usr/local/lib/python2.7/logging/handlers.py", line 118, in __init__
File "/usr/local/lib/python2.7/logging/handlers.py", line 65, in __init__
File "/usr/local/lib/python2.7/logging/__init__.py", line 893, in __init__
File "/usr/local/lib/python2.7/logging/__init__.py", line 912, in _open
IOError: [Errno 2] No such file or directory: '/4log/crtmgr.log'
INFO:crtmgr.log:Log started...
“
tux@slitaz:~$
Eseguito correttamente!