Top "Shared-libraries" questions

Shared libraries are libraries that are loaded by programs when they start.

Is there a way to read the contents of .so file without loading it?

Is there any way to read the content of a .SO(shared objects) file without loading it? My use-case scenario …

c++ shared-objects shared-libraries
How to set the runtime path (-rpath) of an executable with gcc under Mac OSX?

I want to set under Mac OSX the runtime path of an executable (for the linker) at compile time, such …

macos gcc linker shared-libraries dyld
How to recover after deleting the symbolic link libc.so.6?

In our server the symbolic link to libc.so.6 has been deleted. Now none of the binaries in the system …

linux shared-libraries glibc
ldd can't find library in LD_LIBRARY_PATH

I'm trying to get a system up and running, and am having problems with the OpenMotif shared libraries. I have …

unix shared-libraries ldd
Elegantly call C++ from C

We develop some project in plain C (C99). But, we have one library as source codes (math library) in C++. …

c++ c shared-libraries compilation
Why does ld need -rpath-link when linking an executable against a so that needs another so?

I'm just curious here. I have created a shared object: gcc -o liba.so -fPIC -shared liba.c And one …

c gcc shared-libraries ld rpath
How to map function address to function in *.so files

backtrace function give set of backtrace how to map it with function name/file name/line number? for ex:- …

c debugging shared-libraries stack-trace
When / How does Linux load shared libraries into address space?

My question is the following: When is the address of shared objects specified in programs? During linking? Loading? If I …

c linux compiler-construction linker shared-libraries
Merge multiple .so shared libraries

Say I have a.so and b.so. Can I produce c.so as a single shared library with all …

c linux unix gcc shared-libraries
unused DT entry: type 0x1d arg

I am using android NDK-r10d to build Android x86 executable (shared linking) that runs on adb shell. On run …

android-ndk shared-libraries android-x86 linker-warning