Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot open libzmq.so.3 #177

Closed
raul678 opened this issue Apr 3, 2015 · 10 comments
Closed

cannot open libzmq.so.3 #177

raul678 opened this issue Apr 3, 2015 · 10 comments

Comments

@raul678
Copy link

raul678 commented Apr 3, 2015

I use python from anaconda through tcsh.

After mlab.start(), I met this error.

'''
Invalid MEX-file
'/chimerahomes/jingtao/anaconda/lib/python2.7/site-packages/pymatbridge/matlab/messenger.mexa64':
libzmq.so.3: cannot open shared object file: No such file or directory

Error in matlabserver (line 7)
messenger('init', socket_address);
'''

I found the location of libzmq.so.3 is /chimerahomes/jingtao/anaconda/lib. And I add this to DYLD_LIBRARY_PATH in .cshrc file.
'''
setenv LD_LIBRARY_PATH /opt/stow/cuda/cuda-5.0.35/lib64
setenv DYLD_LIBRARY_PATH /chimerahomes/jingtao/anaconda/lib
'''

Also I installed pyzmq via 'conda install pyzmq'.

How can I fix it?
Thanks :)

@arokem
Copy link
Owner

arokem commented Apr 6, 2015

Hi - are you installing pymatbridge from the current master or from a released version?

@raul678
Copy link
Author

raul678 commented Apr 7, 2015

Hi I use "pip install pymatbridge"..

@arokem
Copy link
Owner

arokem commented Apr 11, 2015

I think that the recent changes on the master branch of the repo might help you. Would you mind trying to download the code from the repo and installing using python setup.py install?

@kjaquier
Copy link

I have the same issue on Ubuntu 14.04 with Python 3.4. My whole project is in a virtual environment, so I installed pyzmq in it, and then pymatbridge. Both using pip.

@arokem
Copy link
Owner

arokem commented Apr 20, 2015

Hi - could you try installing from source instead? It should solve this
problem. We should put out another release soon...

On Mon, Apr 20, 2015 at 5:57 AM, Kevin Jaquier notifications@github.com
wrote:

I have the same issue on Ubuntu 14.04 with Python 3.4. My whole project is
in a virtual environment, so I installed pyzmq in it, and then pymatbridge.
Both using pip.


Reply to this email directly or view it on GitHub
#177 (comment)
.

@kjaquier
Copy link

Alright, so I followed the instructions on the README to do so. These are not exactly correct ; the following commands :

python make.py
...
python setup.py

Must be replaced with :

python make.py matlab
...
python setup.py install

And python make.py matlab gave an error (Not a directory). But the setup worked.
I also had to install numpy.

Anyway, at the end it worked, I could execute some Matlab code and get the result. Even in the virtual environement (just need to activate it before running python setup.py install).
I'm still waiting for a more convenient package though 😉

@arokem
Copy link
Owner

arokem commented Apr 21, 2015

Is this what you meant? #181

@kjaquier
Copy link

Yes, well, I guess its also python setup.py installfor Octave.
Also, it's written in the introduction that Numpy is only necessary for the Matlab magic extension, which apparently is not case.

@arokem
Copy link
Owner

arokem commented Apr 21, 2015

Thanks for the feedback - I updated the PR accordingly.

On Tue, Apr 21, 2015 at 9:38 AM, Kevin Jaquier notifications@github.com
wrote:

Yes, well, I guess its also python setup.py installfor Octave.
Also, it's written in the introduction that Numpy is only necessary for
the Matlab magic extension, which apparently is not case.


Reply to this email directly or view it on GitHub
#177 (comment)
.

@arokem
Copy link
Owner

arokem commented Apr 24, 2015

Closing this (?)

@arokem arokem closed this as completed Apr 24, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants