Tagged Questions

Shared libraries are libraries that are loaded by programs when they start. A single shared copy of each library is loaded into physical memory and may be used by multiple processes at the same time. This reduces memory use and improves system performance.

I'm looking for the best way to develop and package different variants of a library with different compile settings but for the same ABI and then selecting the best fit at runtime. In more concrete ...

I'm experimenting with native libs cross compiled from ubuntu. What I really want is to be able to compile my c++ libraries and use them in a Xamarin.Android app.
First, I have the arm gcc compiler: ...

I am a Windows developer with some knowledge of C++ EH and SEH implementation in VC++ but new to MinGW. I have built an open source application on MinGW where a dll throws a C++ exception and a client ...

I need a way to strip (or change, if stripping is not possible) the symbol version information from the symbol dependency table of a shared library in Linux, so I can work around the memcpy@GLIBC_2.14 ...

I am adding one java lib and one android lib both are jar file.
But i am facing class not found error .
In both class two need to required to launch the application.
how to refer two jar in android.
...

I followed this blog
http://vijaysringeri.blogspot.in/2013/01/building-opencv-libraries-for-linux-on.html
But using mingw,msys and cmake I am able to create only static libraries that is .a format .My ...

I installed the entire boost form its official site, boost 1.57.0
Right now, I just need the boost test library, and I downloaded an example from github https://github.com/jsankey/boost.test-examples
...

I've never come across this before and I'm stumped, google doesn't offer much help either. Basically all math functions I've tested (pow, exp, log10, sqrt), return 0, no matter the argument.
EDIT: I ...

firstly I tried to create simple shared library in C and called the library using dlopen and worked fine. Then I have a requirement that I can have a cpp file to call the c compiled shared library.
...

I have tested that for a MSW environment with applications linked with dynamic libraries the function to get the environment variable is GetEnvironmentVariable. I have developed a function which is ...

In Ubuntu, suppose I have installed a library using sudo apt-get install. Then, I want to link to that library using cmake. However, I get a cmake error telling me that the package cannot be found. ...

I have a shared library (precise a PKCS#11 module) and I want to write an application that can load a library and use it.
Currently I use dlsym like this:
My_C_GetSlotList = (CK_C_GetSlotList) dlsym ...

[Edit: In short, the question is: when I link against a dynamic library that is linked against another dynamic library, do I have to explicitly link against that as well?]
I saw something like this ...

I just faced the point when I have to choose if a given library should be compiled as .a or as .so files having as background both personal use (so no actual problem with recompiling the main software ...

I have the following error on a dlclose()'d .so: "Shared objects still referenced". I didn't find too much information about it. Did you have such a problem before? What kind of programming errors (or ...

A part of my program is compiled to a libsomething.so (shared object). I kind of want to track, when changes to that library have been made, so that my main program can reload the file, when required. ...