From: David G. <dav...@gm...> - 2024-10-24 16:17:07
|
Your problem has nothing to do with libusb. Your Ubuntu system is broken. You might have to reinstall it, or maybe you can find a copy of that library from a different *trusted* system and copy it over. --David On Thu, Oct 24, 2024 at 1:59 AM Swati Agarwal <swa...@qt...> wrote: > Hi, > > > > > > Output of ldd /usr/bin/apt-get in which it says libcgmanager.so.0 => not > found > > > > linux-vdso.so.1 (0x00007fffc7572000) > > libapt-private.so.0.0 => > /lib/x86_64-linux-gnu/libapt-private.so.0.0 (0x00007f0b8a228000) > > libapt-pkg.so.6.0 => /lib/x86_64-linux-gnu/libapt-pkg.so.6.0 > (0x00007f0b8a061000) > > libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 > (0x00007f0b89e35000) > > libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 > (0x00007f0b89e15000) > > libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f0b89bec000) > > libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f0b89bce000) > > libbz2.so.1.0 => /lib/x86_64-linux-gnu/libbz2.so.1.0 > (0x00007f0b89bbb000) > > liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 > (0x00007f0b89b90000) > > liblz4.so.1 => /lib/x86_64-linux-gnu/liblz4.so.1 > (0x00007f0b89b70000) > > libzstd.so.1 => /lib/x86_64-linux-gnu/libzstd.so.1 > (0x00007f0b89aa1000) > > libudev.so.1 => /lib/x86_64-linux-gnu/libudev.so.1 > (0x00007f0b89800000) > > libsystemd.so.0 => /lib/x86_64-linux-gnu/libsystemd.so.0 > (0x00007f0b89739000) > > libgcrypt.so.20 => /lib/x86_64-linux-gnu/libgcrypt.so.20 > (0x00007f0b895fb000) > > libxxhash.so.0 => /lib/x86_64-linux-gnu/libxxhash.so.0 > (0x00007f0b89a8a000) > > libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f0b89514000) > > /lib64/ld-linux-x86-64.so.2 (0x00007f0b8a2b4000) > > libcgmanager.so.0 => not found > > libnih.so.1 => not found > > libnih-dbus.so.1 => not found > > libdbus-1.so.3 => /lib/x86_64-linux-gnu/libdbus-1.so.3 > (0x00007f0b89a3a000) > > librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f0b89a35000) > > libcap.so.2 => /lib/x86_64-linux-gnu/libcap.so.2 > (0x00007f0b89a2a000) > > libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0 > (0x00007f0b894ee000) > > > > Regards, > > Swati > > > > *From:* Swati Agarwal > *Sent:* Thursday, October 24, 2024 1:04 PM > *To:* David Grayson <dav...@gm...>; Tim Roberts <ti...@pr... > > > *Cc:* lib...@li... > *Subject:* RE: [libusb] Need help in installing libusb library > > > > Hi David, > > > > I tried this as well but getting similar error > > > > sudo apt-get install libusb-1.0-0-dev > > apt-get: error while loading shared libraries: libcgmanager.so.0: cannot > open shared object file: No such file or directory > > > > The question still boil out to , if ubuntu version is 22.04, what are the > ways to install libcgmanager. > > > > Regards, > > Swati > > > > *From:* David Grayson <dav...@gm...> > *Sent:* Thursday, October 24, 2024 12:43 PM > *To:* Tim Roberts <ti...@pr...> > *Cc:* lib...@li... > *Subject:* Re: [libusb] Need help in installing libusb library > > > > *WARNING:* This email originated from outside of Qualcomm. Please be wary > of any links or attachments, and do not enable macros. > > Instead of downloading libusb's source just install it with apt-get: > > sudo apt-get install libusb-1.0-0-dev > > --David > > > > On Thu, Oct 24, 2024, 12:09 AM Tim Roberts <ti...@pr...> wrote: > > On 10/23/24 10:11 PM, Swati Agarwal via libusb-devel wrote: > > > > getting below error while installing it--- > > > > error while loading shared libraries: libcgmanager.so.0: cannot open > shared object file: No such file or directory > > > > sudo apt-get install libcgmanager > > apt-get: error while loading shared libraries: libcgmanager.so.0: cannot > open shared object file: No such file or directory > > Did you search for this at all before asking? You need to install the > libcgmanager0 package: > > > https://askubuntu.com/questions/715714/error-loading-shared-libraries-libcgmanager-so-0-no-such-file-or-directory > > -- > > Tim Roberts, ti...@pr... > > _______________________________________________ > libusb-devel mailing list > lib...@li... > https://lists.sourceforge.net/lists/listinfo/libusb-devel > > |