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.

learn more… | top users | synonyms

31
votes
2answers
3k views

Why are shared libraries executable?

Why have almost all the shared libraries in /usr/lib/ have the executable permission bit set? I don't see any use case for executing them. Some do manage to hook-up some form of main function to print ...
11
votes
1answer
359 views

Is there an easy method for installing binary builds of glibc?

Time and time again I see questions such as these: GLIBCXX 3.4.15 on Centos 6 CentOS 4.8 and glibc 2.5 And these are the types of solutions we're typically pushing: how to run new software ...
4
votes
2answers
174 views

Is there a way to determine what packages or libraries should be loaded to support an executable?

There is an executable I want to install on a computer that I can't recompile that wasn't built as a package, and I want to download the libraries it requires to run them. Below is part of the output ...
4
votes
1answer
3k views

Running a statically linked binary with a different glibc

I have a statically linked binary for a tool that I'm trying to run on RHLE4. The tool complains about glibc. It needs 2.4 and the one in the system is 2.3. Here is the message that it spits out: ...
5
votes
4answers
2k views

What is the difference between a Library call and a System call in Linux?

I would like to know what is the difference between a Library call and a System call in Linux. Any pointers for a good understanding of the concepts behind both will be greatly appreciated.
4
votes
1answer
3k views

Difference between lib, lib32, lib64, libx32, and libexec

My 64 bit Ubuntu 13.04 system has the following directories in /: lib lib32 lib64 libx32 libexec In the /usr directory there is: lib lib32 libx32 libexec This seemed like something that could be ...
3
votes
1answer
956 views

ffmpeg: error while loading shared libraries: libtheoraenc.so.1

When I want to run ffmpeg I get the following error: ffmpeg: error while loading shared libraries: libtheoraenc.so.1: cannot open shared object file: No such file or directory This is output of ls ...
3
votes
2answers
667 views

Confusion about linking boost library while compilation

For a client I needed to add boost 1.54 to the system. So I downloaded the latest version (1.55) and built it within a special directory: /usr/local/lib/boost1.55/. This works. Then I had to adapt the ...
3
votes
2answers
676 views

Package installation and dependancies - how to prevent installation of existing libraries?

I'm a relatively new Ubuntu server user, so I'm learning as I go. I have an issue with a software package I'm installing (QGIS) which has several dependancies one of them being gdal library. ...
2
votes
2answers
564 views

/usr/bin/ld: cannot find -lcrypt (rhel 6 )

System info [root@xilinx busybox-1.22.1]# uname -r 2.6.32-71.el6.x86_64 Following errors come when I make busybox on rhel 6: /usr/bin/ld: cannot find -lcrypt collect2: ld returned 1 exit status ...
2
votes
2answers
2k views

libX11.so.6 Not found

I tried to make && make install package, but I get an error: libX11.so.6 not found Where can i get this lib?
1
vote
2answers
731 views

libpangocairo-1.0.so.0: undefined symbol: cairo_has_show_text_glyphs error

I am using Debian Squeeze and I wanted to install Gimp 2.8. I installed a lot of packages dependencies for Gimp but I could not successfully complete the install of the Gimp package When installing ...