I've been reading for a while about how the dynamic linker/loader works, RPATH vs RUNPATH, direct vs transitive dependencies, etc. My understanding so far is that if a binary has RPATH (not RUNPATH), then its RPATH is what the dynamic loader uses to…
As the title explains, I am trying to bundle FFMPEG with my executable application.
However, I can't seem to figure out the runtime loading of the FFMPEG shared libraries. I'm not sure what is incorrect:
RPATH/RUNPATH of main project and FFMPEG…
I'm trying to get some binaries running on NixOS, and I ran into a weird situation when trying to get ldd to find libpython2.7.so.1.0 and other libs.
$ ldd lldb
./lldb:…
I am trying to set RUNPATH within executables, including shared libraries, which will run on Rocky Linux 9. Using patchelf on Centos 7 works fine, but I am having trouble finding a version to use on Rocky 9.
On Rocky 9, when I perform $ sudo dnf…
I've set the search path of libcrpyto inside my dylib file to lookup for libcrypto.1.1.dylib in the following path :
otool -L mylib.dylib
-->
...
@rpath/libcrypto.1.1.dylib
...
However, when I deploy the target into a certain machine in which I've…
I build an executable app that uses liba. liba in turn needs libb. libb in turn needs libc. The dependency looks like this: app -> liba -> libb -> libc. The app and liba are built by me while libb and libc are 3rd party. I do not know how they were…