Openpose: Quick start demo error: symbol lookup error: libopenpose.so.1.4.0: undefined symbol

Created on 12 Apr 2019  路  5Comments  路  Source: CMU-Perceptual-Computing-Lab/openpose

Issue Summary

I have finished installation, but when I want to run the quickstart, there's some wrong. I can't solve it, could anyone help me?

Executed Command (if any)

sun@sun-ThinkPad-Edge-E431:~/openpose$ ./build/examples/openpose/openpose.bin --video examples/media/video.avi

OpenPose Output (if any)

Starting OpenPose demo...
Configuring OpenPose...
Starting thread(s)...
Auto-detecting all available GPUs... Detected 1 GPU(s), using 1 of them starting at GPU 0.
./build/examples/openpose/openpose.bin: symbol lookup error: /home/sun/openpose/build/src/openpose/libopenpose.so.1.4.0: undefined symbol: _ZN5caffe3NetIfE21CopyTrainedLayersFromERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE

Errors (if any)

symbol lookup error: ./build/src/examples/openpose/libopenpose.so.1.4.0: undefined symbol;

Type of Issue

  • Execution error

Your System Configuration

  1. Whole console output:
    sun@sun-ThinkPad-Edge-E431:~/openpose$ ./build/examples/openpose/openpose.bin --video examples/media/video.avi
    Starting OpenPose demo...
    Configuring OpenPose...
    Starting thread(s)...
    Auto-detecting all available GPUs... Detected 1 GPU(s), using 1 of them starting at GPU 0.
    ./build/examples/openpose/openpose.bin: symbol lookup error: /home/sun/openpose/build/src/openpose/libopenpose.so.1.4.0: undefined symbol: _ZN5caffe3NetIfE21CopyTrainedLayersFromERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE

  2. OpenPose version:
    Latest GitHub code

  3. General configuration:

    • Installation mode: Ubuntu18.04 Cmake
    • Operating system (lsb_release -a in Ubuntu):
      No LSB modules are available.
      Distributor ID: Ubuntu
      Description: Ubuntu 18.04.2 LTS
      Release: 18.04
      Codename: bionic
    • Ubuntu18.04 LTS
    • No compiler, just quick start demo.
  4. Non-default settings:

  5. 3rd-party software:

    • Caffe version: Default from OpenPose
    • CMake version (cmake --version in Ubuntu):cmake version 3.12.4
    • OpenCV version: pre-compiled apt-get install libopencv-dev (only Ubuntu)
  6. If GPU mode issue:

    • Cuda10.1
    • CuDnn7.5.0
    • GeForce GT 740M
3rd party (unsupported - might not reply) help wantequestion

All 5 comments

This seems like an error coming from Caffe. XXXCopyTrainedLayersFromXXX seems to be a function from there. Are you sure no other Caffe versions are installed on your machine? Otherwise, try installing Caffe by your own, test it works, and then simply link OpenPose to your custom Caffe with the proper CMake flag. Hope this helps. (I must close this as it is a 3rd-party library issue rather than OP issue). Best

Thank you very much. I have deleted my own caffe, but there's still the problem. Then I will try to change centos system. Best project!

@Sun1Plus Did you resolve the issue? I'm curious about the steps you took. I'm facing the same error message coming from the docker installation.

@Sun1Plus Did you resolve the issue? I'm curious about the steps you took. I'm facing the same error message coming from the docker installation.

In the system of Ubuntu18.04, I can't solve the problem. I guess that some libraries are incompatible. Then I tried to rebuild in Windows10 + VS2017, followed the steps of installation, it was ok. Maybe you could try another system.

@Sun1Plus @neonb88 I have the same issue. Do you have the solution?

Was this page helpful?
0 / 5 - 0 ratings