Top "Shared-libraries" questions

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

How do I get rid of LD_LIBRARY_PATH at run-time?

I am building a C++ application that uses Intel's IPP library. This library is installed by default in /opt and …

c++ g++ shared-libraries autotools intel-ipp
How to include external library with python wheel package

I want to create package for python that embeds and uses an external library (.so) on Linux using the cffi …

python shared-libraries python-wheel python-cffi
What are the default search directories to link a library on Mac OS X

I've build the Google Test with CMake on Mac OS X and get two shared libraries: libgtest.dylib and libgtest_…

macos deployment linker shared-libraries osx-leopard
How to find function from lib .so files?

I can print list of exported function of one *.so file like nm -C lib/libopencv_ml.so and then …

linux grep shared-libraries nm
Undefined Symbol in C++ When Loading a Python Shared Library

I have been trying to get a project of mine to run but I have run into trouble. After much …

python shared-libraries undefined-symbol openrave
Why are LIB files beasts of such a duplicitous nature?

I'm trying to understand this LIB file business on Microsoft Windows, and I've just made a discovery that will - …

c dll shared-libraries static-libraries
GNU ld cannot find library which is there

The packages I'm toying with here are rather unknown, but nevertheless the problem is rather generic. Basically, I'm trying to …

c++ linker shared-libraries ld library-path
Explanation of ldd output

Can someone explain to me the output of ldd command? In the following example (on Gentoo system) $ ldd /bin/date …

linux unix shared-libraries ldd
Android NDK: read file from assets inside of shared library

In my app I have to pass a file from assets folder to shared library. I cannot do it with …

android android-ndk shared-libraries android-assets
How to set RPATH and RUNPATH with GCC/LD?

I recently encountered this problem after an upgrade of the system: using the GCC -Wl,-rpath= option works differently than …

linux gcc shared-libraries ld dynamic-linking