Questions tagged as ['shared-library']

related to shared libraries, .so files and their manipulation in Ubuntu
Score: 12
Bram avatar
Why is a 21.10 built binary not compatible with 21.04 install?
cn flag

I don't understand why a binary built on 21.10 is not compatible with an 21.04 system.

The binary is linked against libc.so.6 which is available on the 21.04 OS version as well.

Same binary, on the 21.10 system:

$ ldd turboledzd
    linux-vdso.so.1 (0x00007ffdc2595000)
    libhidapi-hidraw.so.0 => /lib/x86_64-linux-gnu/libhidapi-hidraw.so.0 (0x00007fdd64057000)
    libc.so.6 => /lib/x86_64-linux ...
Score: 0
why is /bin/ls linking to libpthread?
cn flag

so strange, is ls multi-threaded somehow? what could ls possibly need libpthread for?

ldd /bin/ls
    linux-vdso.so.1 (0x00007ffff7fce000)
    libselinux.so.1 => /lib/x86_64-linux-gnu/libselinux.so.1 (0x00007ffff7f57000)
    libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007ffff7d65000)
    libpcre2-8.so.0 => /usr/lib/x86_64-linux-gnu/libpcre2-8.so.0 (0x00007ffff7cd2000)
    libdl.so.2 => / ...
Score: 2
Azeem avatar
Error while loading shared libraries: libicui18n.so.60 (magfieldmapper_gui)
bl flag

I am very new to ubuntu and when I tried to run the magfieldmapper_gui by xsens, it throws me this error.

$ ./magfieldmapper_gui
 
./magfieldmapper_gui: error while loading shared libraries: libicui18n.so.60: cannot open shared object file: No such file or directory

I googled a lot but I could not find a solution. Can Someone please point out what I'm doing wrong or the solution for this error.

 ...
Score: 1
sequence avatar
libtidy5 in Ubuntu 20.04
gb flag

I'm trying to install a program, which depends on libtidy5 and getting the following message:

wime depends on libtidy5 (>= 5.2.0); however: Package libtidy5 is not installed.

However, I have already installed libtidy5deb1, which is available from the repository. Unfortunately, this library does not appear to be what the program I'm trying to install needs. Or are these libraries the same and I ne ...

Score: 0
DamManc avatar
libffi and libp11-kit - no version information available
sa flag

Every time I update the package sources list with:

sudo apt update

I get many lines of code like this:

/usr/lib/apt/methods/https: /usr/local/lib/x86_64-linux-gnu/libffi.so.7: no version information available (required by /lib/x86_64-linux-gnu/libp11-kit.so.0)

How can I solve this problem about dynamic libraries?

Score: 2
pserra avatar
Where can I find /lib/ld-lsb.so.3 for Ubuntu 21.04?
cn flag

I need to get a 32 bit ELF interpreter for an old binary.

file ./actlmgrd 
./actlmgrd: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-lsb.so.3, for GNU/Linux 2.6.18, BuildID[sha1]=74d9c7780145f113e746c1c1bccfb4d9264022bf, stripped

I was able to get the 64 bit variant in the lsb-core package, but I cannot find i386 equivalent.

Score: 2
KJ7LNW avatar
How do libatlas3, liblapacke, and libopenblas0 interact in Focal?
us flag

I'm trying to figure out the interaction between the following library packages:

  • libatlas3-base
  • liblapacke
  • OpenBLAS
    • libopenblas0-openmp
    • libopenblas0-pthread
    • libopenblas0-serial

It looks like the OpenBLAS packages can only be used one at a time because they are in different subdirs shown here. How do I select the active one?

  • /usr/lib/x86_64-linux-gnu/openblas-openmp/libopenblas.so.0
  • /usr/lib/x86_6 ...
Score: 0
sadkfdsfjklsdfjklds avatar
Mpv cannot find fftw library
si flag

When I try to run mpv to watch a youtube video, e.g.:

mpv [url]

it gives the error:

mpv: error while loading shared libraries: libfftw3.so.3: cannot open shared object file: No such file or directory

I installed FFTW3 from source for my study some months previously, as I didn't know there was an apt package for it. Maybe that has something to do with it.

How do I fix this?

Score: 0
Aarush Aggarwal avatar
Couldn't Display [program] -- No application installed for "shared library" files
eg flag

I think the problem is -- to Ubuntu, it doesn't seem that some of the files are executable at all or rather it doesn't know its file to type. The Files Manager due to which instead of showing the original icon (let's say the Arduino icon in this case) always tends to show some sort of unexecutable icon (as is visible in the attached image) for almost every (downloaded) file/program.

So, when I doub ...

Score: 1
psaniac avatar
/usr/sbin/mysqld: error while loading shared libraries: liblz4.so.1: cannot open shared object file: No such file or directory
ng flag
p2@P2:~$sudo systemctl restart mariadb
Job for mariadb.service failed because the control process exited with error code.
See "systemctl status mariadb.service" and "journalctl -xe" for details.
p2@P2:~$sudo systemctl status mariadb
mariadb.service - MariaDB 10.3.31 database server
     Loaded: loaded (/lib/systemd/system/mariadb.service; enabled; vendor preset: enabled)
    Drop-In: /etc/systemd/sys ...
Score: 1
Jibril avatar
Shared Object Files not creating - Boost, Python, Ubuntu 18.04
ae flag

System : Ubuntu 18.04. Python 3.8 is my global install, but I have multiple local installs of various versions of Python from 2.7, 3.4, 3.6, 3.7, 3.8 and 3.9.

I have a project I am using with a boost dependency. When I try to import it it says

ImportError: libboost_python36.so.1.67.0: cannot open shared object file: No such file or directory.

To confirm it doesn't exist I did

locate libboost_python ...
Score: 1
Student Dev avatar
Error while loading shared library libx264.so.155 :Permission denied
br flag

While starting softwares such ffmpeg and audacity, I am getting error while loading shared libraries: libx264.so.152: cannot enable executable stack as shared object requires: Permission denied . I am using Ubuntu18.4. Can anyone knows how to fix it?

Score: 1
Rohit Nagpal avatar
How to compile .so file in Ubuntu with GLIBC_2.27
pr flag

I have an executable and some .so file in Ubuntu 20.04 but I need to use these .so files in Ubuntu 18.04. Now, when I try to copy and use these .so files in Ubuntu 18.04, it is giving me error which is /lib/x86_64-linux-gnu/libm.so.6: version GLIBC_2.29' not found (required by test.so).

I got to know that we cannot upgrade the GLIBC_2.27 on Ubuntu 18.04 to GLIBC_2.29. So, I want to try compiling the .so ...

Score: 2
xenos avatar
Cant open qt based applications
cn flag

cant open qt based applications such as qbittorrent, nomacs, etc . Getting error:

nomacs: error while loading shared libraries: libicui18n.so.56: cannot open shared object file: No such file or directory

qbittorrent: error while loading shared libraries: libicui18n.so.56: cannot open shared object file: No such file or directory

SOLVED :: sudo apt install --reinstall libqt5widgets5 libqt5gui5 lib ...

Score: 0
xenos avatar
Can't open some applications.. error while loading shared libraries: libicudata.so.56: cannot open shared object file: No such file or directory
cn flag

Cant open some applications such as qbittorrent, nomacs

getting error the following error while loading shared libraries: libicudata.so.56: cannot open shared object file: No such file or directory

Score: 0
fadedbee avatar
How to fix java.lang.ClassNotFoundException: gnu.io.CommPortIdentifier with libRXTX on Ubuntu 20.04?
us flag

I have the following error:

$ sudo java -jar /home/fadedbee/tc65sh-1.4.0/bin/tc65sh.jar -Djava.library.path=/usr/lib/jni/ -cp /usr/share/java/RXTXcomm.jar -p /dev/ttyUSB0 -b 115200 -f push.txt
tc65sh v1.4.0
processing command file push.txt
connecting /dev/ttyUSB0 with 115200 baud, flowControl r
Exception in thread "main" java.lang.NoClassDefFoundError: gnu/io/CommPortIdentifier
    at org.tc65sh.de ...
Score: 1
Offline commandline Thesaurus?
cn flag

Online command-line thesaurus?

This here has answers for an Online thesaurus. I need an offline thesaurus for the commandline. If there is none, is there a library available in the repos containing something like a database for synonymns and antonymns that I can use to make an application with?

Thanks.

Score: 1
Amir Pourmand avatar
DroidCam error while loading shared libraries
pw flag

I have installed Droidcam On Xubuntu 20.04 LTS with this great tutorial.

After running Droidcam in terminal, I came across this error:

error while loading shared libraries: libappindicator3.so.1: cannot open shared object file: No such file or directory
Score: 0
How to install library headers without downgrading
jp flag

I have Ubuntu 20.04.2 LTS and want to install libsystemd-dev but got an error:

$sudo apt install libsystemd-dev
The following packages have unmet dependencies:
 libsystemd-dev : Depends: libsystemd0 (= 245.4-4ubuntu3) but 245.4-4ubuntu3.4 is to be installed

And this strange mismatch:

$ apt-cache policy libsystemd0
libsystemd0:
  Installed: 245.4-4ubuntu3.4
  Candidate: 245.4-4ubuntu3.4
  Version table:
 ...
Score: 1
pinekit avatar
how can I get package libz.so.1?
cn flag

I'm trying to make a Minecraft bedrock edition server and I can't make it work cause of a library called libz.so.1. The following error pops up 'cannot open shared library libz.so.1'.

I have tried installing and updating zlib1g but it made no difference.