yitzchak / common-lisp-jupyter

A Common Lisp kernel for Jupyter along with a library for building Jupyter kernels.
https://yitzchak.github.io/common-lisp-jupyter
MIT License
223 stars 28 forks source link

Failure on the latest ZMQ library #106

Closed snunez1 closed 1 year ago

snunez1 commented 1 year ago

I recently upgraded my MSYS2 installation, and it includes zeromq 4.3.4-2. Common-lisp-jupyter now fails with the error below:

sbcl-libzmq-error

This doesn't happen if I load at the REPL, only when loading with JupyterLab.

OS: Windows 10, latest update SBCL: 2.1.6

Any ideas? I seem to recall this happening before due to some changes in the underlying zmq library.

snunez1 commented 1 year ago

@yitzchak, can you confirm this works with the latest zmq? I've reinstalled everything from scratch using the Miniconda installation instructions for MS Windows and it's still not working:

; Loading "common-lisp-jupyter"
...Unhandled LOAD-FOREIGN-LIBRARY-ERROR in thread #<SB-THREAD:THREAD "main thread" RUNNING {101C540003}>: Unable to load foreign library (LIBZMQ).
  Error opening shared object "libzmq.dll":
 The specified procedure could not be found.
snunez1 commented 1 year ago

Confirming the problem still exists in the latest SBCL, version 2.3.8.

snunez1 commented 1 year ago

Hello, anyone home?

yitzchak commented 1 year ago

Everything works fine with the same versions on Arch, so this looks like a Windows/MSYS specific issue. I don't have a Windows machine so I'll have to find some time to have to setup a VM to replicate.

snunez1 commented 1 year ago

Anything discovered? I noticed a new docker issue reported on stackoverflow; not sure if it's related.

snunez1 commented 1 year ago

Is there something I can do to help here?

yitzchak commented 1 year ago

I have not been able to replicate this yet.

yitzchak commented 1 year ago

I did use the JupyterLab that is part of msys2, so it could be a conflict between miniconda and msys2.

snunez1 commented 1 year ago

OK, closing because it works if jupyter-lab is invoked from MSYS2 MING64 shell, but not if invoked from PowerShell. Finally, for anyone finding this in future, jupyter-lab is the one installed from windows miniconda, not from MSYS.

I wonder if a self-contained installer would be helpful here?