Results 1 to 3 of 3

Thread: libusb error when using lsusb in Ubuntu 22.04

  1. #1
    Join Date
    Aug 2024
    Beans
    1

    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

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
  •