Top "Shared-libraries" questions

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

What is the difference between .o, .a, and .so files?

I know .o are object files, .a are static libraries and .so are dynamic libraries? What is their physical significance? …

c++ c shared-libraries static-libraries
Is there any way to simulate LD_LIBRARY_PATH in Windows?

I have a program do so some graphics. When I run it interactively, I want it to use OpenGL from …

windows dll shared-libraries library-path
What does exactly the warning mean about hidden symbol being referenced by DSO?

I have a problem linking some shared library with g++. It gives me a warning like: hidden symbol XXX in …

c++ gcc linker shared-libraries elf
Shared libraries and .h files

I have some doubt about how do programs use shared library. When I build a shared library ( with -shared -fPIC …

c++ c shared-libraries fpic
How to specify the library version to use at link time?

Following question How do applications resolve to different versions of shared libraries at run time?, I wondered how to specify …

linux gcc shared-libraries
How compatible are different versions of glibc?

Specifically: Is it assured somehow that all versions of glibc 2.x are binary compatible? If not, how can I run …

installation shared-libraries glibc binary-compatibility
Dependency Walker equivalent for Linux?

I need a tool to show all the shared library dependencies in some graphical way, not just with ldd on …

linux unix shared-libraries dependency-walker
Undefined reference to 'dlsym' and 'dlopen'

I am compiling using arm-linux-gnueabi-g++ version 4.7.3. I have the arm-linux-gnueabi libraries installed at location: /usr/arm-linux-gnueabi/lib, it contains libdl.…

c++ linux arm shared-libraries undefined-reference
Getting undefined symbol error while dynamic loading of shared library

I am getting undefined symbol error while loading library dynamically. Here is my code snippet that generates this error : int …

c++ linux shared-libraries dynamic-loading
How do you tell Valgrind to completely suppress a particular .so file?

I'm trying to use Valgrind on a program that I'm working on, but Valgrind generates a bunch of errors for …

shared-libraries valgrind suppress-warnings