Questions tagged [shared-library]
related to shared libraries, .so files and their manipulation in Ubuntu
428
questions
2
votes
0
answers
49
views
Shared libraries not found after upgrade to 24.04 [duplicate]
Since upgrading to 24.04, I've been running into a lot of error messages pertaining to missing shared object files. Here are two related examples.
wget https://en.wikipedia.org/wiki/Paul_Gauguin#/...
0
votes
0
answers
97
views
Ubuntu 24.04 Desktop After Upgrade GD Library is not loading
Ubuntu Desktop 24.04, after upgrading this PC a few days ago from 23.10 I found that the GD library is no longer working. I tried reinstalling with sudo apt install --reinstall php-gd, then purging ...
0
votes
0
answers
56
views
I recently upgraded to 24.04 but that's caused an error as far as running R
Hi All: As the title says, I recently upgraded to 24.04 but started getting an error when
trying to run R.
I think it has something to do with R now looking for a different version of libcurl ?
When I ...
0
votes
0
answers
39
views
Linking to ARPACK-NG
I am in Ubuntu 22.04, using rust and I am trying to link against arpack using a wrapping library.
Currently I am running into this linking error:
/home/makogan/rust_never_engine/crates/algebra/target/...
0
votes
0
answers
119
views
libpangox-1.0.so.0: cannot open shared object file: No such file or directory
while Running the CPN-tools i encountered this error:
./cpntools: error while loading shared libraries: libpangox-1.0.so.0: cannot open shared object file: No such file or directory
It needed some ...
0
votes
1
answer
46
views
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
2
votes
0
answers
579
views
why libaio renaming to libaio1t in ubuntu24
I found the question here: libaio1 on Noble?, but I want to know why Ubuntu 24.04 renamed this library.
I can't find any related information in the release notes except for this:
Ubuntu 24.04 LTS ...
0
votes
1
answer
108
views
Is the creation of linux shared libraries consistent between linux x86_64 and arm64 architectures?
I'm wondering if the way we create shared libraries is the same between these two architectures.
Let's say I have the file fx.c that contains some function definitions, so I would create a shared ...
1
vote
3
answers
2k
views
Find default library paths location in Ubuntu
I'm on an Ubuntu 22.04 system and I'm working with C language and libraries.
I know (from different books, included "The Linux Programming Interface" by Kerrisk) that this algorithm is used ...
0
votes
0
answers
159
views
Why does accessing thread-local-storage (TLS) in library loaded by statically linked dlopen segfault?
I have an exe linked with gcc -static that uses dlopen to load a shared library. The library tries to access a variable in thread-local-storage (TLS). Running the application segfaults when we attempt ...
1
vote
0
answers
455
views
UBUNTU 22.04 NCURSES_TINFO_6.2.20211010 not found
I have just upgraded my Ubuntu system yesterday to 22.04 LTS. Everything was working like a charm before the upgrade. However, after the upgrade apparently the library libncurses got updated from 6.2 ...
0
votes
2
answers
2k
views
i need help installing some libraries
I'm trying to install polymc on my Orange Pi 5 Plus with box86 and box64. I'm kind of new at this, and it's saying it's missing these libraries.
Error loading needed lib libQt6Charts.so.6
Error ...
1
vote
1
answer
4k
views
Ubuntu 20.04 has no installation candidate for php8.1-sqlite
Apparently package php8.1 is available for Ubuntu 22.04 but not available for 20.04. php7.4-sqlite is, however, available for 20.04.
In particular I'd like to use PDO with sqlite on PHP8.1 on 20.04. ...
0
votes
0
answers
4k
views
Install 32 bit version of libmrm on Ubuntu 22.04
I am trying to run a 32 bit program on 64 bit Ubuntu 22.04. The program has dependency on the libmrm4 library.
I am trying to install the 32-bit version of the libmrm4 library in 22.04.
I added the 32-...
3
votes
1
answer
18k
views
How to install the libxcb-cursor.so.0 library?
Looking to install the feather wallet for Monero but am missing a shared library as below:
nicholas@mordor:~/Downloads$
nicholas@mordor:~/Downloads$ wget https://featherwallet.org/files/releases/...
2
votes
0
answers
691
views
Why does libm-2.x.so not install on 22.04 with `build-essential`?
This is mostly a curiosity, since I ended up ultimately using libm.so.6 in my app, but
I just noticed that on ubuntu 22.04, the shared library version of libm does not appear to be installed in the ...
0
votes
1
answer
313
views
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://...
1
vote
0
answers
325
views
Ubuntu 22.04 LTS sgirok-cli fails to start shared library problem?
sudo apt update && sudo apt upgrade run without errors.
sudo apt install sigrok-cli runs with No error messages and installs sigrok-cli into /usr/bin.
But on running sigrok-cli it immediately ...
0
votes
0
answers
396
views
Including shared libraries in a .deb package
I have a binary file that is dependent on a few shared libraries, I am trying to package this binary with the required libraries and install them alongside my app.
The libraries were built by myself, ...
0
votes
0
answers
230
views
MonoDevelop failed to start on Ubuntu 22.04 LTS
After starting:
$ monodevelop --no-redirect
Linux 5.19.0-35-generic #36~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri
Feb 17 15:17:25 UTC 2 x86_64
FATAL ERROR [2023-03-04 18:02:26Z]: MonoDevelop failed to ...
0
votes
0
answers
39
views
Are there PPAs with soname bumps?
Are there any PPAs that bring a library with different soname along with its (upgraded) package compared to what is installed in the standard Ubuntu system (i.e. soname bump)? I am especially ...
1
vote
1
answer
2k
views
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 ...
3
votes
4
answers
16k
views
How to solve "Please make sure libcudnn_cnn_infer.so.8 is in your library path!" (WSL Ubuntu)
When I try to run a PyTorch program, it fails:
Could not load library libcudnn_cnn_infer.so.8. Error: libcuda.so: cannot open shared object file: No such file or directory
Please make sure ...
0
votes
1
answer
4k
views
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 ...
2
votes
0
answers
86
views
What happened to libssl1.1 in 22.10? [duplicate]
Lazarus / Free Pascal programs given at https://wiki.lazarus.freepascal.org/fphttpclient that use SSL run OK on my 22.04 system, but they give error messages in the lines Could not initialize OpenSSL ...
6
votes
2
answers
8k
views
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 ...
0
votes
1
answer
8k
views
libboost_filesystem.so.1.71.0: cannot open shared object file: No such file or directory
Following the indications found here. I'm trying to install Tile Server in Ubuntu 22.04
but I'm getting this error:
raphy@pc:~$ sudo -u _renderd osm2pgsql -d gis --create --slim -G --hstore --tag-...
0
votes
0
answers
126
views
I am moving a large static library from Windows to Linux
I am moving a large static library from Windows to Linux. To make it worse, I am new to Linux. All the examples I've found tell me how to construct libraries with so few object files all the names ...
0
votes
0
answers
596
views
How to link to different version of a shared object (.so) on different version of Ubuntu?
I have developed a program which links to ncurses-dev and I made a .deb installer for it.
On Ubuntu 18, my main binary links to libncurses.so.5, but on Ubuntu 20, libncurses.so.6 exists instead of ...
0
votes
1
answer
3k
views
installing libpng12.so on ubuntu 22.04
I tried to follow the various instructions for installing libpng12.so which eventually led me to do the use the following command after downloading the deb file:
sudo gdebi libpng12-0_1.2.54-1ubuntu1....
0
votes
1
answer
973
views
R no longer runs or installs after upgrading Ubuntu to 22.04
I recently upgraded to Ubuntu 22.04 and now when I try to run R or re-install it, I get the following:
"home/markleeds/bin/R-4.2.0/bin/exec/R: error while loading shared libraries: libicuuc.so.67:...
1
vote
1
answer
2k
views
How to fix undefined symbol error for Digikam on Ubuntu 22.04
I have upgraded a number of computers from Ubuntu 21.10 to 22.04. After the update, I cannot run DigiKam on one of them. I tried to remove, purge and reinstall digikam, libgdal, and libblosc1 - ...
1
vote
1
answer
332
views
Why does Ubuntu 20.04 duplicate dynamic object files across /lib and /usr/lib
Why does ubuntu duplicate object files and how can I manage finding the correct file that is owned by a package without relying on hacks to alter LD_LIBRARY_PATH?
An easy example from the Ubuntu 20.04:...
0
votes
0
answers
668
views
Should I remove libraries from lintian and x86_64-linux-gnu directory?
I have some libraries namely related to libboost. I would like to remove it completely. But, even after doing apt-get purge, some files are still present in directories /usr/lib/x86_64-linux-gnu, /usr/...
2
votes
1
answer
2k
views
Rofi: symbol lookup error: libgdk_pixbuf-2.0.so.0: undefined symbol: g_task_set_name. But it's there!
I'm using Ubuntu 20.04 LTS and I just installed Awesome Tiling WM. I run into "symbol lookup error" issues when installing Rofi, even though I can find the symbol in the library it is ...
0
votes
0
answers
15
views
Where is libglfw stored? [duplicate]
I installed libglfw using apt. I looked at /lib, /usr/lib and /usr/local/lib but the library is not there. Where is it stored?
11
votes
2
answers
46k
views
How to install GLIBCXX_3.4.29 on Ubuntu 20.04?
I downloaded DOOM BFA Version 1.2.8 but after running I got the message:
./DoomBFA: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version
`GLIBCXX_3.4.29 'not found (required by ./DoomBFA)
Is there any ...
2
votes
2
answers
2k
views
Salome issue with loading Binaries
I've installed Salome 9.7.0 and can get it started without errors. An issue comes up when I try to use some of the binaries. Most load and work fine, but I've listed the ones with probelems below.
...
1
vote
1
answer
1k
views
Libreoffice error: libicui18n.so.63: cannot open shared object file
Got this error after installing libreoffice 7.2.3 in Ubuntu 20.04 using apt:
/usr/lib/libreoffice/program/soffice.bin: error while loading shared libraries: libicui18n.so.63: cannot open shared ...
12
votes
3
answers
5k
views
Why is a 21.10 built binary not compatible with 21.04 install?
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....
0
votes
1
answer
365
views
why is /bin/ls linking to libpthread?
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....
4
votes
1
answer
17k
views
Error while loading shared libraries: libicui18n.so.60 (magfieldmapper_gui)
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: ...
1
vote
1
answer
98
views
libtidy5 in Ubuntu 20.04
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 ...
1
vote
1
answer
4k
views
libffi and libp11-kit - no version information available
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 ...
4
votes
1
answer
5k
views
Where can I find /lib/ld-lsb.so.3 for Ubuntu 21.04?
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 ...
2
votes
0
answers
16
views
How do libatlas3, liblapacke, and libopenblas0 interact in Focal? [duplicate]
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 ...
0
votes
0
answers
1k
views
Mpv cannot find fftw library
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
...
0
votes
1
answer
7k
views
Couldn't Display [program] -- No application installed for "shared library" files
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 ...
2
votes
2
answers
3k
views
/usr/sbin/mysqld: error while loading shared libraries: liblz4.so.1: cannot open shared object file: No such file or directory
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"...
1
vote
1
answer
744
views
Shared Object Files not creating - Boost, Python, Ubuntu 18.04
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 ...