There is an incompatible JNA native library installed on this system /usr/java/packages/lib/amd64:/usr/lib/x86_64-linux-gnu/jni:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/jni:/lib:/usr/lib. To resolve this issue you may do one of the following: - remove or uninstall the offending library - set the system property jna.nosys=true - set jna.boot.library.path to include the path to the version of the jnidispatch library included with the JNA jar file you are using
You can solve it in the .abclrc
(handler-case
(progn
(require :abcl-contrib)
(require :jna))
(condition (c)
(progn
(warn "~&For Lisp implementation version: ~S~&Failed to load JNA via ABCL-CONTRIB on because: ~S~%Attempting to monkey patch via ABCL-ASDF."
(lisp-implementation-version)
c)
(require :abcl-contrib)
(require :abcl-asdf)
(java:add-to-classpath
(funcall (intern #.(string :resolve-dependencies) :abcl-asdf)
"com.sun.jna" "jna" :version "3.0.9"))
(provide :jna))))