gopherdata / gophernotes

The Go kernel for Jupyter notebooks and nteract.
MIT License
3.82k stars 265 forks source link

OSX Installation Error: Package 'libunwind' not found #157

Open alexejk opened 5 years ago

alexejk commented 5 years ago

While it's related to #96 in the sort of error it is, libzmq is found when installed with Homebrew via brew install zmq. However, go get still fails due to requirement of libunwind in libzmq.pc file that is provided by ZeroMQ installation.

Error seen below:

go get -u github.com/gopherdata/gophernotes
# pkg-config --cflags  -- libzmq
Package libunwind was not found in the pkg-config search path.
Perhaps you should add the directory containing `libunwind.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libunwind', required by 'libzmq', not found
pkg-config: exit status 1
pavanagrawal123 commented 5 years ago

Hi @alexejk,

I'm not using gophernotes, but I am running into the same problem. It doesn't seem to be a problem at the gophernotes level, because I cannot even get one of the go packages gophernotes uses to work. Seems to be a package issue of github.com/pebbe/zmq4.

I am trying to find a solution, but a bit of experimentation has not yielded any results. Please let me know if anyone has found a solution!

Thanks.