Top "Shared-libraries" questions

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

How can LD_LIBRARY_PATH be changed within CMake?

I have a local shared library which is not in $LD_LIBRARY_PATH. I want to run my executable, but …

cmake shared-libraries dynamic-linking
How to run c program with .so file

I have gone through all the solutions on StackOverflow as well as Ask Ubuntu. I have a Go program: package …

c gcc go shared-libraries shared-objects
How can I change the filename of a shared library after building a program that depends on it?

I have a program that depends on a shared library it expects to find deep inside a directory structure. I'd …

linux linker shared-libraries install-name-tool
Difference between pic Vs pie

I am looking the options for Binary Encryption Code generation and found two options available that are PIC and PIE. …

c++ c shared-libraries linker-flags
How to make sure the numpy BLAS libraries are available as dynamically-loadable libraries?

The theano installation documentation states, that theano will as a default use the BLAS libraries from numpy, if the "BLAS …

linux numpy shared-libraries blas atlas
ldd doesn't work on dynamically linked binary

I have a binary that uses a bunch of .so files. bash-3.00$ file foo foo: ELF 32-bit LSB executable, Intel 80386, …

linux linker shared-libraries elf
Why am I getting undefined reference to pthread_mutexattr_settype?

I am trying to compile and link a sample file from the Novell LDAP C SDK but the link is …

c linux gcc shared-libraries linker-errors
g++ compile error: undefined reference to a shared library function which exists

I recently installed the hdf5 library on an ubuntu machine, and am now having trouble linking to the exported functions. …

g++ shared-libraries ld hdf5 undefined-reference
Linking two shared libraries with some of the same symbols

I link with two different shared libraries. Both libraries define some symbols that share a name but have different implementations. …

c unix gcc shared-libraries dynamic-linking
Why am I getting a gcc "undefined reference" error trying to create shared objects?

Why am I getting an "undefined reference" error using gcc? I am trying to create a shared object (.so) that …

c gcc ld shared-libraries