shared-library

Supertuxkart is not running

Supertuxkart is not running I installed Supertuxkart but it won’t run. hasan@ubuntu:~$ supertuxkart supertuxkart: symbol lookup error: /lib/x86_64-linux-gnu/libshaderc.so.1: undefined symbol: _ZTVN8spvtools5utils5TimerE Asked By: fsgdfgdfgd || Source It looks like you’re experiencing this bug: https://groups.google.com/g/linux.debian.bugs.dist/c/F1cmusZVNBE?pli=1 Which is a bug in the dev version of libshaderc in Debian (presumably Ubuntu too) so it could potentially affect other …

Total answers: 1

What does "6" mean in glibc.so.6?

What does "6" mean in glibc.so.6? When exploring the C++ binary, I find that libstdc++.so.6 is dyn-linked into libm.so.6 and libc.so.6: $ ldd /lib/x86_64-linux-gnu/libstdc++.so.6 linux-vdso.so.1 (0x00007ffcb737b000) libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fd3b2295000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fd3b1c00000) /lib64/ld-linux-x86-64.so.2 (0x00007fd3b2396000) libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fd3b2275000) My questions are: What does 6 mean in the name? I originally thought it was …

Total answers: 2

Making changes to the shared library

Making changes to the shared library Suppose we have a C program that uses the shared library. If you make changes to a shared library and rebuild it, all programs using that library will automatically receive those changes the next time they run. In the case of a static library, the changes become visible only …

Total answers: 3

Substitute a new man page for an older one

Substitute a new man page for an older one I’ve just built (from source) a current version (ver 2.1) of libgpiod on my RPi 4B. There are six (6) "command-line tools" included in the source tarball for libgpiod. During the make install process, these tools – and their new man pages – were installed in …

Total answers: 1

Unable to start gnome applications because of shared library libappstream

Unable to start gnome applications because of shared library libappstream Whenever I am trying to start a gnome applications (like calculator, Files, event gnome-control-center), I get the following error: gnome-control-center: error while loading shared libraries: libappstream.so.4: cannot open shared object file: No such file or directory After further research, It appeared that I don’t have …

Total answers: 1

Distinguish direct and indirect dependencies of a binary on Linux?

Distinguish direct and indirect dependencies of a binary on Linux? ldd on Linux will give the list of all shared libraries on which a given binary depends. This is usually much more extensive than the libraries that were listed on the linker command line used to create the binary: it will include most if not …

Total answers: 2

Missing libmpdec2 for deadsnakes libpython3.9-stdlib in 22.04 LTS (jammy)

Missing libmpdec2 for deadsnakes libpython3.9-stdlib in 22.04 LTS (jammy) From deadsnakes at http://ppa.launchpad.net/deadsnakes/ppa/ubuntu the libpython3.9-stdlib depends on libmpdec2, but that is not available on 22.04 LTS (jammy) as far as I can tell, see https://packages.ubuntu.com/search?keywords=libmpdec2. The page displays that libmpdec2 is available for 18.04 LTS and 20.04 LTS. What is to do in this case? …

Total answers: 1

Are library symlinks used to load libraries?

Are library symlinks used to load libraries? I had someone tell me this, "I do know the symlinks are not used on linux when loading a library." However, this does not seem correct to me. Too often I have had to fix broken symlinks when I have been messing around in Linux. I can find …

Total answers: 2

How to install libprotobuf.so.7 on ubuntu 20.04 machine?

How to install libprotobuf.so.7 on ubuntu 20.04 machine? I see this message while running a program. error while loading shared libraries: libprotobuf.so.7: cannot open shared object file: How can I install libprotobuf.so.7? I’m on ubuntu 20.04. I tried apt-file libprotobuf.so.7 but it gives me nothing. I tried sudo apt install libprotobuf7 or for libprotobuf-c and …

Total answers: 1

error while loading shared libraries: libmkl_intel_lp64.so

error while loading shared libraries: libmkl_intel_lp64.so I executed a program and I got an error message as follows: error while loading shared libraries: libmkl_intel_lp64.so: cannot open shared object file: No such file or directory So, it seems that this program requires mkl library. I followed the instructions indicated here: https://www.intel.com/content/www/us/en/developer/tools/oneapi/onemkl-download.html?operatingsystem=linux&distributions=online Meaning that I executed: wget …

Total answers: 1

How to install ttyd from source on Fedora?

How to install ttyd from source on Fedora? I’m trying to compile ttyd that requires libwebsockets on Fedora. My system has an outdated version of ttyd and I need a newer one to run vhs tool. Both projects use CMake, I was able to compile and install both. When I run ttyd from the build …

Total answers: 1

Shared library error when using rsync

Shared library error when using rsync I’m trying to transfer a folder from a backup location to my $HOME folder but I keep getting the error: rsync: error while loading shared libraries: libcrypto.so.3: cannot open shared object file: No such file or directory I’ve tried adding export LD_LIBRARY_PATH:/usr/lib/:/usr/lib64/ to my .bashrc, echo "/usr/lib64" | sudo …

Total answers: 1

VBoxClient: error while loading shared libraries: libXt.so.6:

VBoxClient: error while loading shared libraries: libXt.so.6: Through VirtualBox for many Virtual Machines for Ubuntu Server – for each one an upgrade was done from 20.04 to 22.04. The apt update and apt upgrade commands work fine. But just few days ago I did realize that if I execute the following command to all the …

Total answers: 2

Debian shared library setup

Debian shared library setup I have a Debian package for a shared library. Lets assume the lib is called threadx. And I have the version 0.0.1 installed. So this package contains: /lib/i386-linux-gnu/libthreadx.so.0.0.1 /lib/i386-linux-gnu/libthreadx.so.0 # symlink to libthreadx.so.0.0.1 If I want to upgrade now to 0.0.2 the package will contain: /lib/i386-linux-gnu/libthreadx.so.0.0.2 /lib/i386-linux-gnu/libthreadx.so.0 # symlink to libthreadx.so.0.0.2 …

Total answers: 1

Find shared libraries that ldd won't list?

Find shared libraries that ldd won't list? I have a script that would run through and pull in needed shared libraries (and another that will report unused libraries), using ldd however certain things like the libnss_* items part of the glibc don’t show up. How can I find those type of dependencies? Thanks Asked By: …

Total answers: 1

apt-get install does not find local library

apt-get install does not find local library After I tried to install gstreamer1.0-rockchip1 and get: The following packages have unmet dependencies: gstreamer1.0-rockchip1 : Depends: librockchip-mpp1 but it is not installable E: Unable to correct problems, you have held broken packages. I cloned, compiled and and installed the repository mpp with make and sudo make install. …

Total answers: 2

Executable vs Library in Bash Script

Executable vs Library in Bash Script When reading over Google’s shell style guide, I found the following line that confused me a little: "Executables should have no extension (strongly preferred) or a .sh extension. Libraries must have a .sh extension and should not be executable."link At least when it comes to bash scripts, what exactly …

Total answers: 4

Figuring out location of a loaded shared library

Figuring out location of a loaded shared library I’m maintaining a C-program, that uses Oracle client libraries. The libraries expect the ORACLE_HOME environment variable to be set, and fail to work without it — in many cases. In our situation, the value of the variable is always derived from the location of the shared libraries …

Total answers: 2

apt packages – static vs dynamic libraries

apt packages – static vs dynamic libraries I use Ubuntu 18.04. I install libraries using apt, for example: sudo apt install freeglut3-dev Does apt always install dynamic libraries or I can determine if a package contains static or dynamic library ? Asked By: Irbis || Source By convention: libfoo1 will contain a dynamic library, while …

Total answers: 1

How do I "install" a shared libray

How do I "install" a shared libray I am developing a C++ application that uses external libraries, using gcc. For instance libtiff and libpng. I obtained these by apt-get and everything is working fine. But then I added another third party library delivered as a stand-alone pair of .a and .so lib files. I detected …

Total answers: 2