8 Replies Latest reply on Aug 16, 2017 12:41 PM by Massamba

    zr300 ubuntu 16.04 server edition undefined symbol: libusb_get_parent

    Massamba

      Dear Support,


      System (Server edition -   [cat lsb_release]):

       

      DISTRIB_ID=Ubuntu

      DISTRIB_RELEASE=16.04

      DISTRIB_CODENAME=xenial

      DISTRIB_DESCRIPTION="Ubuntu 16.04 LTS"


      PC: Intel® NUC Kit NUC5i3RYH Product Specifications

       

      While following this guide Introduction to Intel® RealSense™ SDK for Linux: Getting Started I have encountered the following error when running:

       

      /usr/bin/rs_or_tutorial_1_gui or cpp-capture

       

      errors:

       

      /usr/bin/rs_or_tutorial_1_gui: symbol lookup error: /usr/lib/x86_64-linux-gnu/librealsense.so.1: undefined symbol: libusb_get_parent

       

      cpp-capture: symbol lookup error: /usr/lib/x86_64-linux-gnu/librealsense.so.1: undefined symbol: libusb_get_parent

       

       

      These are the libusb packages on my system (dpkg --get-selections | grep libusb):

       

      libusb++-0.1-4v5:amd64                          install

      libusb++-dev                                    install

      libusb-0.1-4:amd64                              install

      libusb-1.0-0:amd64                              install

      libusb-1.0-0-dbg:amd64                          install

      libusb-1.0-0-dev:amd64                          install

      libusb-1.0-doc                                  install

      libusb-dev                                      install

       

      I have tried following this forum post to solve the problem (makefile - Undefined reference to libusb_get_parent() - compiling freenect - Stack Overflow )


      [
      The only difference is that instead of using the following command
      sudo ln -s /usr/lib/libusb-1.0.so /usr/lib/arm-linux-gnueabihf/libusb-1.0.so
      I used the following command
      sudo ln -s /usr/lib/libusb-1.0.so /usr/lib/x86_64-linux-gnu/libusb-1.0.so

      as /usr/lib/x86_64-linux-gnu/librealsense.so.1 is in the directory /usr/lib/x86_64-linux-gnu/ not /usr/lib/arm-linux-gnueabihf/

      ]

       

      But upgrading to version 1.0.21 of libusb-1.0-0-dev does not solve the problem.

       

      I have version 1.0.20-1 of libusb-1.0-0-dev and libsusb-1.0.0 installed on my system (dpkg -s libusb-1.0-0 && dpkg -s libusb-1.0-0-dev):


      Package: libusb-1.0-0-dev

      Status: install ok installed

      Priority: optional

      Section: libdevel

      Installed-Size: 264

      Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>

      Architecture: amd64

      Multi-Arch: same

      Source: libusb-1.0

      Version: 2:1.0.20-1

      Depends: libusb-1.0-0 (= 2:1.0.20-1)

      Recommends: libusb-1.0-doc

       

      Package: libusb-1.0-0

      Status: install ok installed

      Priority: optional

      Section: libs

      Installed-Size: 122

      Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>

      Architecture: amd64

      Multi-Arch: same

      Source: libusb-1.0

      Version: 2:1.0.20-1

      Depends: libc6 (>= 2.17), libudev1 (>= 183)

       

      Would you kindly be able to provide me with assistance ?