Open andrewclarkson opened 10 years ago
Hi Andrew,
I will update the READ.me with some notes on this.
Thanks.
Thanks for this, I just had the exact same problem.
Even easier you can reboot the system or do the sneaky Linux solution. Just update the system's list of libraries by running "sudo ldconfig". Either way, the system should now be aware of the new library.
thanks a lot! I was really confused by this.
FWIW - if others hit this on MacOS
homebrew install nanomsg creates a dylib
cd /usr/local/lib
ln -s ./libnanomsg.dylib ./libnanomsg.so
In addition to the above env variable fix seems to have gotten this working for me
I ran into the same problem. After installing according to readme.md, the error mention by the OP occured. Then I realized that nanomsg works for Python 2.7 but not for Python3 (3.6 to be exact).
A simple apt-get install python3-nanomsg
did the trick.
I'm hoping this will help others, though I should note this only applies to *nix systems. After building nanomsg from source and installing this package via
pip install
, I hit a warning and an error when I tried to import.I figured, I shouldn't get the warning from Cpython, and shouldn't get the error as I did install the library (libnanomsg.so) via
sudo make install
After a little digging, I found this question on SO.
I checked out my library linking paths
and it was empty. I added a path to where libnanomsg.so installs itself.
and all was well with the world. This is a pretty temporary work around; is there a way we could build the library with the package? maybe use pyzmq as a model?