Library not loaded
Posted: 09 Sep 2020, 19:20
Trying to run the Bluezero test code for Python.
Recieving the following error:
/usr/local/bin/python3.8 "/Developer/PycharmProjects/BlueZero test/testing.py"
Found CoppeliaSim directory at /Applications/CoppeliaSim_Edu_V4_0_0_Mac
Traceback (most recent call last):
File "/Developer/PycharmProjects/BlueZero test/testing.py", line 3, in <module>
import b0RemoteApi
File "/Developer/PycharmProjects/BlueZero test/b0RemoteApi.py", line 6, in <module>
from b0 import init, Subscriber, ServiceClient, Node, Publisher
File "/Developer/PycharmProjects/BlueZero test/b0.py", line 26, in <module>
libb0 = ct.CDLL(libb0_fullpath)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/ctypes/__init__.py", line 373, in __init__
self._handle = _dlopen(self._name, mode)
OSError: dlopen(/Applications/CoppeliaSim_Edu_V4_0_0_Mac/coppeliaSim.app/Contents/Frameworks/libb0.dylib, 6): Library not loaded: @rpath/libzmq.5.dylib
Referenced from: /Applications/CoppeliaSim_Edu_V4_0_0_Mac/coppeliaSim.app/Contents/Frameworks/libb0.dylib
Reason: image not found
Thoughts?
Running the supplied B0 testing code. The only code I have been revising is the library loading code in B0.py. I can post the source code if it might help.
Thanks in advance.
Recieving the following error:
/usr/local/bin/python3.8 "/Developer/PycharmProjects/BlueZero test/testing.py"
Found CoppeliaSim directory at /Applications/CoppeliaSim_Edu_V4_0_0_Mac
Traceback (most recent call last):
File "/Developer/PycharmProjects/BlueZero test/testing.py", line 3, in <module>
import b0RemoteApi
File "/Developer/PycharmProjects/BlueZero test/b0RemoteApi.py", line 6, in <module>
from b0 import init, Subscriber, ServiceClient, Node, Publisher
File "/Developer/PycharmProjects/BlueZero test/b0.py", line 26, in <module>
libb0 = ct.CDLL(libb0_fullpath)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/ctypes/__init__.py", line 373, in __init__
self._handle = _dlopen(self._name, mode)
OSError: dlopen(/Applications/CoppeliaSim_Edu_V4_0_0_Mac/coppeliaSim.app/Contents/Frameworks/libb0.dylib, 6): Library not loaded: @rpath/libzmq.5.dylib
Referenced from: /Applications/CoppeliaSim_Edu_V4_0_0_Mac/coppeliaSim.app/Contents/Frameworks/libb0.dylib
Reason: image not found
Thoughts?
Running the supplied B0 testing code. The only code I have been revising is the library loading code in B0.py. I can post the source code if it might help.
Thanks in advance.