openpose icon indicating copy to clipboard operation
openpose copied to clipboard

dyld: Library not loaded: @rpath/libopenpose.1.7.0.dylib (MacOS)

Open carlosverastegui opened this issue 4 years ago • 5 comments
trafficstars

Issue Summary

I have not had any issue running the command below, until I decided to run openpose with the same command today after a few weeks of not using it, and the following was outputted:

dyld: Library not loaded: @rpath/libopenpose.1.7.0.dylib Referenced from: /Users/carlosverastegui/Documents - CORE-LITE/Projects/openpose/./build/examples/openpose/openpose.bin Reason: image not found [1] 44268 abort ./build/examples/openpose/openpose.bin --video ~/Movies/openpose_gesture_3.mo

Executed Command (if any)

./build/examples/openpose/openpose.bin --video ~/Movies/openpose_gesture_3.mov --write_json output_json_folder/ --display 0 --render_pose 0. Adding debugging flags outputted nothing extra.

Type of Issue

  • Execution error
  • Help wanted

Your System Configuration

  1. Whole console output (if errors appeared), paste the error to PasteBin and then paste the link here: LINK

  2. OpenPose version: openpose v1.7.0

  3. General configuration:

    • Installation mode: CMake, sh script, manual Makefile installation, ... (Mac)
    • Operating system: MacOS
    • Operating system version: MacOS Catalina
    • Release or Debug mode?: Release
    • Compiler: Apple clang version 12.0.0 (clang-1200.0.32.28)
  4. Non-default settings:

    • 3-D Reconstruction module added?: No
    • Any other custom CMake configuration with respect to the default version?: No
  5. 3rd-party software:

    • Caffe version: Default from OpenPose
    • CMake version: 3.19.1
    • OpenCV version: 4.5.0
  6. If Python API:

    • Python version: 3.9.0
    • Numpy version: 1.16.6

carlosverastegui avatar Jan 16 '21 21:01 carlosverastegui

Hi, hello, I also encountered the same problem when running in unbantu18.04. If it is solved, can you provide a solution? Thank you!

chen-del avatar Jan 25 '21 08:01 chen-del

Hi, when I import openpose, it is saying :

Import error: libopenpose.so.1.7.0: cannot open shared object file: No such file or directory

I am using google colaboratory. Running the entire project is working fine after cloning it from here. But I want to do more analysis like calculating angles between ankles. But I am unable to import openpose. Please help me with this.

jasmineekka3010 avatar Feb 22 '21 13:02 jasmineekka3010

@chen-del @jasmineekka3010 I found two so files from build and copied them into / usr / lib / to run again to solve this problem; In addition, I think adding paths to bashrc can also solve this problem. Hope it will be useful to you!

bill-ysn avatar May 27 '21 09:05 bill-ysn

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jan 09 '22 07:01 stale[bot]

@chen-del @jasmineekka3010 I found two so files from build and copied them into / usr / lib / to run again to solve this problem; In addition, I think adding paths to bashrc can also solve this problem. Hope it will be useful to you!

Hi @bill-ysn, which so files would these be?

flacle avatar Mar 12 '22 16:03 flacle