Questions tagged [shared-library]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
-1 votes
0 answers
28 views

Wine: Missing DLL

I checked the other questions, but I have a different one. I wanted to play Commandos 3. Installation worked. But when I wanted to start, I got: 0024:err:module:import_dll Library ogg.dll (which is ...
Lereu's user avatar
  • 1
2 votes
2 answers
313 views

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 ...
RJVB's user avatar
  • 194
1 vote
1 answer
38 views

Synology DSM6 Entware running dovecot: libz.so: cannot open shared object file: No such file or directory (But it's there!)

I have a very strange problem on my Synology DS220+ NAS. (Kernel 4.4.59+, x86_64 GNU/Linux, synology_geminilake_220+) dovecot, installed via opkg from Entware, has been running since years on my NAS. ...
LichtiMC's user avatar
1 vote
0 answers
68 views

Runtime library search order on AIX

If I understand correctly, the variables LIBPATH and LD_LIBRARY_PATH have a higher priority than the argument to the linker -blibpath. I'm looking for how to tell the loader to search for libraries ...
ibse's user avatar
  • 267
0 votes
1 answer
19 views

is it possible to link the zlib when genreate so with gcc

I need to invoke the c method from rust. Fisrt step, I am using gcc to generate a so file like this: gcc -shared *.o -o libsynctex_parser.so But when I build the rust project, it shows that the c ...
Dolphin's user avatar
  • 579
0 votes
0 answers
117 views

ld.so issue after upgrading Ubuntu to release 22.04

I have upgraded Ubuntu from 18.04 to 22.04, but I'm getting the following error: ERROR: ld.so: object '/usr/lib/x86_64-linux-gnu/libjemalloc.so.1' from LD_PRELOAD cannot be preloaded (cannot open ...
Ponnilavan Elcot's user avatar
2 votes
1 answer
833 views

Cannot exceute binary: required file not found

I see that there are other questions like this out there, but the answers there did not work for me. I am using I downloaded the Julia 1.9.2 (Linux, x86-64, glibc) prebuilt binary and tried to execute ...
loonatick's user avatar
  • 151
0 votes
0 answers
25 views

Who's been in my /opt/lib dotfiles?

Long story short, I recently decided to compile blender from source for the second time in a year. Not sure if I took this long at it last year. As usual, it all comes down to the libraries being in ...
ixtmixilix's user avatar
  • 13.1k
0 votes
1 answer
111 views

Why accompanying shared library to which the one requires it fail like:

As Debian program often lags of shared library / dependency, so accompanying it with the eligible shared library should work, i.e. by the same latest update of roll-based/quick update OS, e.g. Arch ...
user avatar
1 vote
2 answers
4k views

How to resolve this error "ERROR: ld.so: object 'xxx' from LD_PRELOAD cannot be preloaded (failed to map segment from shared object): ignored. "

To utilize the proxy on my Ubuntu system, I required the installation of proxychains. Here are the steps I took: sudo apt-get install proxychains sudo vim /etc/proxychains.conf ... [ProxyList] ...
tao zhang's user avatar
1 vote
1 answer
325 views

Install a package and its associated or required shared libraries (.so) without sudo access

I needed to install ffmpeg on my company's server without sudo access. Here is how I did it: Add $HOME/bin and $HOME/usr/bin to my PATH, and $HOME/usr/lib/x86_64-linux-gnu/ to my LD_LIBRARY_PATH ...
Đào Minh Dũng's user avatar
0 votes
1 answer
49 views

Do I need to recompile Vim if Python changes a minor version?

I use a compiled Vim on my machine. This compiled vim attempts to load the shared libary libpython3.10.so.1.0 I just updated my system and apparently Python deleted the old Python 3.10 libaries and ...
Tyler Durden's user avatar
  • 5,511
0 votes
3 answers
850 views

Error while generating cookbook: Missing shared library "libcrypt.so.1"

I encountered an error when trying to generate a cookbook using the command chef generate cookbook test-cookbook. The error message I received is as follows: ERROR : exit status 127 /opt/chef-...
utkarsh gupta's user avatar
0 votes
1 answer
433 views

libx264.so.155: cannot open shared object file: No such file or directory

While the above is true, I have: $ sudo apt install libx264-dev Reading package lists... Done Building dependency tree... Done Reading state information... Done libx264-dev is already the newest ...
Daniel's user avatar
  • 339
1 vote
0 answers
29 views

Bundle library for two architectures in the same package

I need to ship a Racket package that is cross compatible on x86 and arm. I have a shared library I depend on via FFI that I would like to bundle in, so that the user doesn't need to install it. What ...
Nate's user avatar
  • 134
2 votes
2 answers
364 views

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 ...
Fred's user avatar
  • 315
1 vote
1 answer
424 views

Kali Linux: Error while loading shared libraries

I’m getting an error: error while loading shared libraries: libtbb.so.2: cannot open shared object file: No such file or directory On Kali Linux. Is there any way to fix this? Yes, I tried to ...
Daniel Santos's user avatar
1 vote
0 answers
88 views

Provide a link order for `.so` libraries

I need to dynamically link to a number of .so shared libraries from R. R can only do this one at a time using the dyn.load function, which takes the file path of the shared object. However, if the ...
Migwell's user avatar
  • 407
0 votes
0 answers
207 views

How do I find out which shared object resolved the symbol used in an ELF?

I'm wondering if there's a systematic method I can use to determine which shared object is resolving a specific symbol without running the binary. Assuming I look at curl, listing all of the shared ...
shaqed's user avatar
  • 861
0 votes
0 answers
75 views

Slackware failed to load libcrypt.so.1 and slackpkg broken

Hello fellow Linux users, I recently installed Slackware64-15.0 to a VM to try it out. I recently came across an error with running slapt-get after installing it. The program is complaining of a ...
Hau5Cat5 Music's user avatar
1 vote
1 answer
111 views

What IPC is used between an application and a library in Linux?

When you have a Linux application that depends on a library (dynamically-linked), how does the application communicate with the library? What inter-process communication method is used?
Noob_Guy's user avatar
  • 103
-2 votes
1 answer
111 views

Megajogos, libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory

Where do i find libgtk-x11-2.0.so.0, I can't find it on sid or ATP. I installed the game by following the instructions on the official website. Thank you
Juninho's user avatar
-2 votes
2 answers
202 views

Tell to linux binary not load specific shared libraries

I have a problem with shared libraries, Command show warning each time when it run's, PHP Warning: PHP Startup: Unable to load dynamic library 'xxxx.so' whereas it run fine with not issues, i want to ...
Ganesh Kandu's user avatar
0 votes
1 answer
82 views

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 ...
jcubic's user avatar
  • 9,742
0 votes
1 answer
786 views

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 ...
telometto's user avatar
  • 1,875
1 vote
0 answers
123 views

How do AppImage tools decide what .so files to include? Why produced different .so-files-including list from different distros?

Compiled a Qt project and created .AppImage for it, on two different Linux distros ( Qt was installed via different ways). The two output .AppImage contain different .so files. Both .AppImage run. I ...
garywill's user avatar
1 vote
1 answer
236 views

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-...
Sir l33tname's user avatar
0 votes
1 answer
239 views

Loading shared object to specific processes in Linux

I want to load a shared object to certain processes, there are certain conditions that are required loading to only specific processes and not all of them it has to be done before the process code ...
ALsec's user avatar
  • 1
-1 votes
1 answer
316 views

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 ...
user3161924's user avatar
2 votes
2 answers
638 views

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 ...
Miguel's user avatar
  • 132
9 votes
4 answers
2k views

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 ...
Hunter T.'s user avatar
  • 593
0 votes
1 answer
224 views

Script to determine which shared libraries are not used?

I don't want to reinvent the wheel, but I'm looking for a script that can run through and list out shared libraries that are not used. The idea would be to ldd everything to create a list. From there,...
user3161924's user avatar
1 vote
2 answers
768 views

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 ...
Mikhail T.'s user avatar
0 votes
1 answer
4k views

/usr/bin/ld: cannot find -lstdc++

I am using ubuntu 14.04 64 bit OS when i am running my verilog code in synopsys vcs it shows me the following error, i think there might some missing packages in ubuntu, i search through but i didn't ...
Biki Teron's user avatar
0 votes
1 answer
751 views

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 ...
Irbis's user avatar
  • 229
0 votes
2 answers
263 views

Cannot link to matlab libmat.so and libmx.so under Eclipse IDE

I am trying to compile matcreat.cpp under Eclipse C++ IDE. It allows to exchange matlab data with c++ programs. At some point I compile the program : /* * matcreat.cpp - MAT-file creation program * ...
Bap23's user avatar
  • 1
1 vote
3 answers
2k views

PHP Extensions Are Not Enabled

I am running RHEL 7 and I am trying to use PHP 8.1. PHP is installing and the extensions are installed (per-Yum) but not enabled per-PHP. For example, if I run php -m | grep dom from the command line ...
Josh's user avatar
  • 111
2 votes
2 answers
4k views

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 ...
Yves Daoust's user avatar
2 votes
2 answers
13k views

Unable to load shared library 'libdl.so' or one of its dependencies

I'm trying to compile a project and the compilation fails due to a missing library. System.DllNotFoundException: Unable to load shared library 'libdl.so' or one of its dependencies. In order to help ...
Robin Theilade's user avatar
0 votes
1 answer
91 views

How to link using -lfoo when there are versioned names of libfoo but no libfoo.so

Suppose /usr/lib/x86_64-linux-gnu/ contains libfoo: libfoo.so.2 -> libfoo.so.2.0.0 (symbolic link) libfoo.so.2.0.0 Notably missing is libfoo.so. Suppose there is a program /usr/local/bin/...
Flux's user avatar
  • 2,770
1 vote
3 answers
4k views

Using wkhtmltopdf on RHEL returns libpng15.so.15 shared library not found

To give a little background, I am using wkhtmltopdf to convert a local .html to a .pdf for use as evidence for our pipeline/release. However this html that is generated has some remote scripts and ...
NLxDoDge's user avatar
0 votes
0 answers
2k views

Error while loading shared libraries: libyaml-0.so.2: file too short

I've installed flatpak on ARCH-LINUX and rebooted, the next thing to do was test it on terminal, then I typed: flatpak And then: flatpak: error while loading shared libraries: /usr/lib/libyaml-0.so.2: ...
averl's user avatar
  • 1
0 votes
1 answer
474 views

How do you list a program's all library dependencies, configs when the program has attached flags/options?

How do you list all of a program's dependencies (libraries) and configs even if it gets argv given to it which changes the dependencies let's say?
Sir Muffington's user avatar
1 vote
1 answer
10k views

How do you reload .so files (dynamic libraries) in Linux?

I don't remember the command anymore, but in basically every Linux distro there's a command for reloading .so files and other libraries. How's it called? It's something similar to ld I think. I tried ...
Sir Muffington's user avatar
1 vote
1 answer
2k views

ELF: Dump paths to .so files imported by binary

I am trying to dump the full paths of the shared libraries that are imported by an ELF file (/usr/bin/ls) Using readelf --dyn-syms /usr/bin/ls I get the name of the libraries, but not where they are ...
dcom-launch's user avatar
0 votes
1 answer
2k views

/usr/lib vs /etc/ld.so.conf.d

TL;DR Why is it better to place a symlink to a shared library at /etc/lib(64)/ or why is it better to create a *.conf file in /etc/ld.so.conf.d/ .conf file Assuming i have my custom binary at /opt/...
void's user avatar
  • 5
1 vote
2 answers
3k views

Finding out functions/variables used in the code from a given shared library

I'm analysing a large C++ project on linux platform(redhat), specifically the shared libraries used in it. How can I find which symbols(functions/variables) are used in this project from a particular ...
Vishal Sharma's user avatar
0 votes
0 answers
957 views

Usage of objcopy / elfedit to patchelf symbol (versions) in elf file

The context is as follows: on my o.s. there is (already) liba.so.v2 of "liba" which contains the string 'symbol_version-2' as the symbol version for its functions , e.g. functionX@version-2 ...
cg79's user avatar
  • 11
0 votes
0 answers
2k views

shutdown: Kernel Panic; error while loading shared libraries: libgcrypt.so.20

System Information System: Kernel: 5.4.0-92-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 Desktop: Cinnamon 5.2.7 Distro: Linux Mint 20.3 Una base: Ubuntu 20.04 focal I am getting the following ...
Porcupine's user avatar
  • 1,772
0 votes
0 answers
75 views

Error while compiling GMT(generic mapping tool on centos7) with GDAL

I am having the following error while compiling GMT with GDAL and I am unable to figure out the root cause of it. GDAL has been compiled from the source (following this link). Dependencies too has ...
Navneet Srivastava's user avatar

1
2 3 4 5
7