Results 1 to 5 of 5

Thread: libusb error when using lsusb in Ubuntu 22.04

  1. #1
    Join Date
    Aug 2024
    Beans
    2

    Post libusb error when using lsusb in Ubuntu 22.04

    I'm receiving the following error when using the command lsusb:
    ~$ lsusb
    lsusb: symbol lookup error: lsusb: undefined symbol: libusb_get_port_numbers

    I tried uninstalling and re-installing usbutils and libusb-1.0-0 with no luck.
    ~$ sudo apt-get install usbutils libusb-1.0-0
    [sudo] password for my_machine:
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    usbutils is already the newest version (1:014-1build1).
    libusb-1.0-0 is already the newest version (2:1.0.25-1ubuntu2).
    0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.

    Any idea what could be the issue or what I can try?

  2. #2
    #&thj^% is offline I Ubuntu, Therefore, I Am
    Join Date
    Aug 2016
    Beans
    Hidden!

    Re: libusb error when using lsusb in Ubuntu 22.04

    No idea yet, please show us this:
    Code:
    cd /etc/ld.so.conf.d && ls

  3. #3
    Join Date
    Sep 2024
    Beans
    1

    Re: libusb error when using lsusb in Ubuntu 22.04

    Quote Originally Posted by #&thj^% View Post
    No idea yet, please show us this:
    Code:
    cd /etc/ld.so.conf.d && ls
    Hijacking this thread. I am having the same error and the output I get is the following:
    libc.conf x86_64-linux-gnu.conf

    This is what happens when I run cat for each of this conf files.

    Code:
    # libc default configuration
    /usr/local/lib
    Code:
    /usr/local/lib/x86_64-linux-gnu
    /lib/x86_64-linux-gnu
    /usr/lib/x86_64-linux-gnu

  4. #4
    Join Date
    Aug 2024
    Beans
    2

    Re: libusb error when using lsusb in Ubuntu 22.04

    Sorry for the late reply. Here is what I'm getting:

    "$ cd /etc/ld.so.conf.d && ls
    fakeroot-x86_64-linux-gnu.conf x86_64-linux-gnu.conf
    libc.conf zz_i386-biarch-compat.conf"

    Also:

    "/etc/ld.so.conf.d$ ldconfig -p | grep libusb
    libusbmuxd-2.0.so.6 (libc6,x86-64) => /lib/x86_64-linux-gnu/libusbmuxd-2.0.so.6
    libusb-1.0.so.0 (libc6,x86-64) => /lib/x86_64-linux-gnu/libusb-1.0.so.0
    libusb-0.1.so.4 (libc6,x86-64) => /lib/x86_64-linux-gnu/libusb-0.1.so.4
    libhidapi-libusb.so.0 (libc6,x86-64) => /lib/x86_64-linux-gnu/libhidapi-libusb.so.0"
    Last edited by dhpanchaai; October 7th, 2024 at 09:33 PM.

  5. #5
    Join Date
    Jun 2016
    Beans
    2,941
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: libusb error when using lsusb in Ubuntu 22.04

    Quote Originally Posted by dhpanchaai View Post
    "/etc/ld.so.conf.d$ ldconfig -p | grep libusb
    libusbmuxd-2.0.so.6 (libc6,x86-64) => /lib/x86_64-linux-gnu/libusbmuxd-2.0.so.6
    libusb-1.0.so.0 (libc6,x86-64) => /lib/x86_64-linux-gnu/libusb-1.0.so.0
    libusb-0.1.so.4 (libc6,x86-64) => /lib/x86_64-linux-gnu/libusb-0.1.so.4
    libhidapi-libusb.so.0 (libc6,x86-64) => /lib/x86_64-linux-gnu/libhidapi-libusb.so.0"
    Please post the output from running this command in Terminal -
    Code:
    dpkg-query -S {/usr,}/lib/x86_64-linux-gnu/libusb-0.1.so.4
    Xubuntu 22.04, ArchLinux ♦ System76 hardware, virt-manager/KVM, VirtualBox
    If your questions are resolved to your satisfaction, please use Thread Tools > "Mark this thread as solved..."

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •