pulsar-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [pulsar] nathan-zhu commented on issue #5514: use pulsar get error in mac os
Date Thu, 07 Nov 2019 08:48:56 GMT
nathan-zhu commented on issue #5514: use pulsar get error in mac os
URL: https://github.com/apache/pulsar/issues/5514#issuecomment-550982495
 
 
   > pulsar-client-cpp
   Hi, tuteng, thanks for help. i follow your step to reinstall python3, but still get error,
like below. 
   
   ```
   
   -- BUILD_TESTS:  ON
   -- BUILD_PYTHON_WRAPPER:  ON
   -- LINK_STATIC:  OFF
   -- USE_LOG4CXX:  OFF
   -- CMAKE_BUILD_TYPE:  RelWithDebInfo
   -- PYTHON: 2.7.10
   CMake Warning at /usr/local/Cellar/cmake/3.15.4/share/cmake/Modules/FindBoost.cmake:2003
(message):
     No header defined for python-mt; skipping header check
   Call Stack (most recent call first):
     CMakeLists.txt:143 (find_package)
   
   CMake Warning at /usr/local/Cellar/cmake/3.15.4/share/cmake/Modules/FindBoost.cmake:2003
(message):
     No header defined for python-py27; skipping header check
   Call Stack (most recent call first):
     CMakeLists.txt:143 (find_package)
   
   CMake Warning at /usr/local/Cellar/cmake/3.15.4/share/cmake/Modules/FindBoost.cmake:2003
(message):
     No header defined for python27-mt; skipping header check
   Call Stack (most recent call first):
     CMakeLists.txt:143 (find_package)
   
   CMake Error at CMakeLists.txt:151 (MESSAGE):
     Could not find Boost Python library
   
   -- Configuring incomplete, errors occurred!
   See also "/Users/lidongzhu/python/Pulsar/pulsar-branch-2.4/pulsar-client-cpp/CMakeFiles/CMakeOutput.log".
   ```
   i use pip3 install pulsar-client==2.4.1 get successfully
   ![image](https://user-images.githubusercontent.com/1650457/68373650-45fdf600-017e-11ea-8e60-a7aa1f645df7.png)
   
   but get new error at below.
   
   ```
   ython 3.7.5 (default, Nov  1 2019, 02:16:32)
   [Clang 11.0.0 (clang-1100.0.33.8)] on darwin
   Type "help", "copyright", "credits" or "license" for more information.
   >>> import pulsar
   Traceback (most recent call last):
     File "<stdin>", line 1, in <module>
     File "/usr/local/lib/python3.7/site-packages/pulsar/__init__.py", line 102, in <module>
       import _pulsar
   ImportError: dlopen(/usr/local/lib/python3.7/site-packages/_pulsar.cpython-37m-darwin.so,
2): Library not loaded: /usr/local/opt/protobuf/lib/libprotobuf-lite.20.dylib
     Referenced from: /usr/local/lib/python3.7/site-packages/_pulsar.cpython-37m-darwin.so
     Reason: image not found
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message