This is a self-contained example of loading the CDK in ABCL and trying to call the InChI routines. In order to get this to work, I have to manually the aarch64 version of libjnainchi.dylib in /usr/local/lib.
To load this, make sure this directory is on the asdf:*central-registry* path, or that there’s a link to this directory in ~/quicklisp/local-projects, if you’re using quicklisp.
If your using emacs and in the current directory, you can do:
(pushnew *default-pathname-defaults* asdf:*central-registry*)
Otherwise, do:
(pushnew ".../path/to/your/directory" asdf:*central-registry*)
Then load with:
(asdf:load-system "cdk-inchi-test")