CMU-Perceptual-Computing-Lab / openpose

OpenPose: Real-time multi-person keypoint detection library for body, face, hands, and foot estimation
https://cmu-perceptual-computing-lab.github.io/openpose
Other
31.1k stars 7.86k forks source link

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

Open carlosverastegui opened 3 years ago

carlosverastegui commented 3 years ago

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

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
chen-del commented 3 years ago

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

jasmineekka3010 commented 3 years ago

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.

bill-ysn commented 3 years ago

@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!

stale[bot] commented 2 years ago

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.

flacle commented 2 years ago

@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?