A library is a collection of functionality that programs can use. They can be dynamically loaded by a program, or they may be compiled into the program.
Questions tagged [libraries]
570 questions
92
votes
2 answers
What is the difference between .a and .so file?
As far as I understand they are libraries, but what is the difference between the two?

Erik B
- 1,113
- 1
- 10
- 9
27
votes
2 answers
How do I trace library loading?
I have program that depends on library that is linked to libboost 1.67, which installed in the system. When I launch it, I have an error that libboost_system.so.1.58 does not exist. LD_PRELOAD and LD_LIBRARY_PATH are unset.
lddtree execution doesn't…

Alex
- 381
- 1
- 3
- 5
8
votes
1 answer
libcrypto.so.10: cannot open shared object file: No such file or directory
I am trying to install ODBC driver for Debian according to those instructions: https://blog.afoolishmanifesto.com/posts/install-and-configure-the-ms-odbc-driver-on-debian/
However, when I type sqlcmd -S localhost, I get the error libcrypto.so.10:…

user68602
- 81
7
votes
2 answers
added new library, old one hanging around
In ubuntu 12.04, I downloaded the source for a geospatial library, gdal-1.11.0, into ~/src, configured it and compiled it successfully, it seemed. New files such as libgdal.a got put into /usr/local/lib.
However when I run a program that depends on…

user1416227
- 173
4
votes
2 answers
where will the system search for dynamic libraries?
I want to know where the system will search for dynamic libraries. Let's take nxclient as an example. ldd /usr/NX/bin/nxclient gives me some output, for example
libpng12.so.0 => /usr/NX/lib/libpng12.so.0 (0x00007fcb4a16f000)
Now why did the system…

Thorsten Staerk
- 3,757
4
votes
1 answer
I am getting an error while loading shared libraries libXm.so.3
I have installed a program called Swiss PDB. Upon running the program I get the error:
/usr/share/SPDBV/bin/spdbv.Linux: error while loading shared libraries: libXm.so.3: cannot open shared object file: No such file or directory
I have used…

Robert Peach
- 41
3
votes
1 answer
What do I do with prebuilt library .so.0 file?
I have downloaded a precompiled library for which the filename is in the format:
.so.0
I gather this some kind of versioning? How do I use the library - do I need to use a tool to extract it? I think the program will only look for …

markmnl
- 1,051
2
votes
1 answer
hide old libraries from linux system without root access
I have access to an old cluster for computations. The Operating system of the cluster is very old and outdated. Some of my codes need new libraries like glibc-2.14 or higher to run. I found junest that allows us to easily have new libraries on our…
1
vote
1 answer
is there a libboost-all instead of libboost-all-dev?
I need libboost dependency for a package I'm running, but the only package I can find is libboost-all-dev, and I'm not sure what the "dev" means and if I need it. Is there a libboost-all- that I need to install instead?

yossale
- 111
- 4
1
vote
2 answers
How to install DivFix++ under Scientific-linux 6.1?
I installed DivFix++ from
http://sourceforge.net/projects/divfixpp/files/DivFix%2B%2B/v0.34/
DivFix++-0.34-2.1.x86_64.rpm
$ env LC_MESSAGES=C DivFix++
Fatal Error: Mismatch between the program and library build versions detected.
The library used…

gasko peter
- 5,514
1
vote
0 answers
Manually installing libraries for cross compilation
I'm trying to cross compile a program with needs the -lgcrypt flag. I have copied the root filesystem of the machine I'm compiling for so that I have all the libraries which are needed to be able to compile that program. It builds just fine on…

user138741
- 133
0
votes
0 answers
error while loading shared libraries: cannot open shared object file: Error 40
There is an application I want to use named openfoam but, I can't because of this error.
I already tried other way but none of them work.
The command I tipped was:
-> fluent3DMeshToFoam Test.obj
fluent3DMeshToFoam: error while loading shared…

user7954302
- 23
0
votes
1 answer
What are Linux system libraries?
When I look around the web for information about the architecture of Linux, many articles say one component is what is known as "System Libraries" but I'm unable to find an explanation of what these are, what is their job in the system, where are…

basod3
- 1
0
votes
0 answers
Standalone libC alternatives for kernels on x86?
There are a great number of {tiny|micro|little}libc implementations on the web. Most of these are targeted at embedded systems with limited resources. I am working on developing a simple bootable runtime for x86 and just need some of the basic libc…

sherrellbc
- 2,501
0
votes
1 answer
GNUBG configure: error: You need to have glib2 to compile GNU backgammon
I do have it my system says Package glib2-2.26.1-3.el6.i686 already installed and latest version
I'm just trying to get an open source backgammon or chess game working on centos 6.5 32 bit system and not having much luck.
So I followed this
But…

cea
- 1,543