quinnj / Sublime-IJulia

An IJulia Frontend for Sublime Text 3
90 stars 16 forks source link

zmq version problem (undefined symbol: zmq_ctx_new) #44

Closed shoibalc closed 10 years ago

shoibalc commented 10 years ago

I am on linux, ubuntu 12.04. Does sublime text expect a newer version of zmq (I have /usr/lib/libzmq.so.1.0.0) and encounter the following error.

AttributeError: /usr/lib/libzmq.so: undefined symbol: zmq_ctx_new

IJulia works fine.

Traceback (most recent call last):
  File "/home/shoibalc/sublime_text_3/sublime_plugin.py", line 157, in on_api_ready
    m.plugin_loaded()
  File "Kernel in /home/shoibalc/.config/sublime-text-3/Installed Packages/IJulia.sublime-package", line 31, in plugin_loaded
  File "X/ctypes/__init__.py", line 366, in __getattr__
  File "X/ctypes/__init__.py", line 371, in __getitem__
AttributeError: /usr/lib/libzmq.so: undefined symbol: zmq_ctx_new
Package Control: Skipping automatic upgrade, last run at 2014-03-12 11:34:34, next run at 2014-03-12 12:34:34 or after
Traceback (most recent call last):
  File "/home/shoibalc/sublime_text_3/sublime_plugin.py", line 231, in on_close
    callback.on_close(v)
  File "IJulia in /home/shoibalc/.config/sublime-text-3/Installed Packages/IJulia.sublime-package", line 442, in on_close
  File "IJulia in /home/shoibalc/.config/sublime-text-3/Installed Packages/IJulia.sublime-package", line 34, in julia_view
IndexError: list index out of range
Starting IJulia backend...
Command Executed: /usr/bin/julia  /home/shoibalc/.julia/IJulia/src/kernel.jl "/home/shoibalc/.config/sublime-text-3/Packages/User/profile-0.json"
Traceback (most recent call last):
  File "IJulia in /home/shoibalc/.config/sublime-text-3/Installed Packages/IJulia.sublime-package", line 53, in start_kernel
  File "Kernel in /home/shoibalc/.config/sublime-text-3/Installed Packages/IJulia.sublime-package", line 245, in __init__
  File "Kernel in /home/shoibalc/.config/sublime-text-3/Installed Packages/IJulia.sublime-package", line 112, in __init__
  File "X/ctypes/__init__.py", line 366, in __getattr__
  File "X/ctypes/__init__.py", line 371, in __getitem__
AttributeError: /usr/lib/libzmq.so: undefined symbol: zmq_ctx_new
quinnj commented 10 years ago

Yes, we require ZMQ version of at least 2.0. I should add this to the home page.

quinnj commented 10 years ago

Let me know if you have problems upgrading, closing for now.