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

2
votes
2answers
33 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 ...
4
votes
2answers
35 views

Identifying running programs that are using the old version of a library I just replaced

After installing updates to address CVE-2014-0160 (the OpenSSL Heartbleed bug), I had to take care to restart anything that might be using libssl -- many services, such as Apache and my VPN software, ...
0
votes
0answers
53 views

has someone fixed libssl.so.1.0.0 undefined symbols'SSL_load_error_strings' issue or know how to fix

looks like there's a broken libssl build which is missing items python CGI needs to work. I'm getting this error ...symbol SSL_load_error_strings, version OPENSSL_1.0.0 not defined in file ...
2
votes
1answer
401 views

Can't install 32 bit gstreamer-ffmpeg normally, library can't find other 32 bit libs

I'm on Ubuntu 12.04 64 bits and I'm trying to get a game (GTA SA) working in wine, but it keeps crashing. After reading error logs it seems I needed some 32 bit versions of gstreamer, probably to play ...
1
vote
1answer
31 views

Are application layer protocols part of library routines?

Where do application layer protocols reside? Are they part of library routines of language e.g. C, C++, Java? As goldilocks says in his answer, this is about the implementation of application layer ...
1
vote
0answers
23 views

Finding information on obscure libraries [closed]

Is there a website that organizes and explains all the various libraries that are available to use when developing on Linux? I have, from time to time, come across some very interesting and extremely ...
4
votes
1answer
19k views

gcc can't link to pthread?

I have recently installed XUbuntu 11.10 64bit, but I am having problem compiling the most simple pthread example. Here is the code pthread_simple.c: #include <stdio.h> #include ...
10
votes
1answer
229 views

Loading of shared libraries and RAM usage

I'm wondering about the way Linux manages shared libraries. (actually I'm talking about Maemo Fremantle, a Debian-based distro released in 2009 running on 256MB RAM). Let's assume we have two ...
1
vote
2answers
71 views

Accidentally deleting crucial libraries

If you accidentally delete a crucial library folder, such as /usr/lib, how can you recover from that?
1
vote
2answers
30 views

RPM specfile for C/C++ project: how do I know how to fill in Requires and BuildRequires fields?

I have several C/C++ projects with sources and makefiles and I'm trying to pack them into rpms. Defining the dependencies for the created packages has become a problem for me. Concretely I need to ...
1
vote
1answer
2k views

libc.so.6(GLIBC_2.14)(64bit)

Installed: glibc-static.x86_64 0:2.12-1.107.el6_4.4 glibc-utils.x86_64 0:2.12-1.107.el6_4.4 Dependency Installed: fontconfig.x86_64 0:2.8.0-3.el6 ...
1
vote
2answers
203 views

Can not start Oracle after installation

I'm using Lenovo G580 under intel i5 third generation with 4GB RAM. I'm trying to install Oracle 11g standard edition After completing all pre installation and post installation procedures, when I ...
1
vote
1answer
30 views

How to find out the dynamic libraries executables loads when run

I want to find out the list of dynamic libraries a binary loads when run (With their full paths). I am using CentOS 6.0. How to do this?
1
vote
1answer
96 views

Mint: correct way to install /lib/i386-linux-gnu/libgmp.so.3

GIVEN THE BANNER ABOVE: THIS IS ABOUT libgmp.so.3 AND NOT THE NEWEST VERSION OF libgmp, THUS THE BANNER DOES NOT ANSWER THE QUESTION. I have a 32-bit binary that needs libgmp.so.3 on an x86_64 ...
1
vote
1answer
55 views

Can not execute some shell command from php

I want to execute phpcs commands from phpcode using shell_exec function. During execution it gives error /usr/bin/php: relocation error: /usr/bin/php: symbol X509_free, version OPENSSL_1.0.0 not ...
0
votes
1answer
26 views

Always getting “not a symbolic link” message, while installing any package

When I am installing any package in my centos 6.0 system, by yum or rpm, I always getting /sbin/ldconfig: /usr/lib64/libreadXMLnew.so.1 is not a symbolic link message. There is never a problem in ...
0
votes
1answer
21 views

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 ...
1
vote
1answer
39 views

Should I install ibus-1.0 to build Webdriver?

In the process of building one library (Webdriver) I got the following error: Package ibus-1.0 was not found in the pkg-config search path. Perhaps you should add the directory containing ...
0
votes
1answer
63 views

Unable to extend desktop with USB display adapter and libdlo

Anyone familiar with using libdlo for DisplayLink's USB display adapters? I've followed the instruction steps from README file of libdlo Install a compatible libusb version (0.13) $ ./configure ...
0
votes
1answer
55 views

Broken libglib on debian 6

So, some time ago I wanted to update mpd from 1.5 to 1.6 which required a newer version of libglib( >= 2.31.8) on amd64, so I compiled them from source as I was on debian oldstable and couldn't find ...
1
vote
3answers
966 views

Failed dependencies: libcurl.so.4(CURL_OPENSSL_3)(64bit)

I'm trying to install Synergy in my CentOS 6.5, here's what happens: # rpm -ivh ./synergy-1.4.16-r1969-Linux-x86_64.rpm error: Failed dependencies: libcurl.so.4(CURL_OPENSSL_3)(64bit) is needed ...
3
votes
2answers
4k views

Viewing Linux Library / Executable version info

In Windows, EXE and DLL have version info, including at least the following fields: file version product version internal name product name copyright In Linux Library / Executable: Which fields ...
2
votes
2answers
68 views

How to use libraries installed with a package manager in GNU/Linux

I hope this is not a very stupid question as I am very new to development in GNU/Linux. I installed a library(for example lzma-dev) using a package manager(for example apt-get for Debian or Ubuntu). ...
0
votes
1answer
126 views

Linking failure [ld cannot find library]

I am trying to configure Linux kernel [Angstrom distribution] via make menuconfig, but I get these errors. make: Warning: File `/usr/src/linux-2.6.32.61/arch/arm/Makefile' has modification time 11511 ...
1
vote
1answer
112 views

Why I got error: `error while loading shared libraries: libmpich.so.3`?

I installed mpich-3.0.4 not in a default location. I installed it based on the mpich installer's guidance. However when I try to run: mpiexec -n 4 -f machinefile ./mpich-3.0.4/examples/cpi It ...
2
votes
2answers
63 views

How can I find which version of libmysqlclient is installed in Centos?

I have a custom exe provided to me but to install it I need an older version of libmysqlclient. How can I check which version is installed?
20
votes
2answers
8k views

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?
2
votes
2answers
82 views

Libraries crash after installing experimental version of libc6

My Debian system is not booting anymore after installing the experimental version of libc6. I've got this message on boot: /sbin/init: error while loading shared libraries: libsepol.so.1: ...
5
votes
4answers
5k views

ldd tells me my app is “not a dynamic executable”

I have a 32-bit application (called uclsyn) I received from an astronomy professor. I managed to get it running on CentOS a year ago, but now when I am setting up a new CentOS VM, it won't run and I ...
2
votes
3answers
93 views

None of the linux programs work except 'cd'

Before stating the question, here's what I did and observed before the problem started: On a fedora 18 Xfce, I tried compiling 3.6.10 kernel with a cdv driver, After many attempts, it finally ...
0
votes
1answer
197 views

Which library files are needed to run a binary with an alternate libc version?

I built Firefox 26 on Mint 16 because the Ubuntu 10.04 build utilities are too old to build it. It does need to run on 10.04, however, since that's the target OS I'm building for. It built and runs ...
0
votes
0answers
34 views

How can the output of ldd be checked to see of they exist on a different system or not? [duplicate]

Running ldd on an executable gives the output displayed below. How can the output be parsed for the library names in the first column and their existence tested on another computer, giving output ...
3
votes
2answers
115 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 ...
1
vote
2answers
69 views

ldd: cannot find library for xl c compiled binary but could for gcc compiled binary on AIX

I have compile on AIX two version of proftpd one with gcc and one with the xl c compiler from IBM. The command line to compile both version are almost the excat same, but when I do a ldd on the gcc ...
0
votes
1answer
489 views

Cannot upen libusb shared object

I'm trying to use heimdall to install a custom Android ROM. When I run it, I get this: ./heimdall: error while loading shared libraries: libusb-1.0.so.0: cannot open shared object file: No such file ...
0
votes
0answers
44 views

Install qtile 1.6 from the source

I try to install qtile from the source, you can see also this link: Install libxcb from source When I try to launch qtile I have this error, I do not understand why: Traceback (most recent call ...
0
votes
1answer
120 views

How to make a library linkable with g++ -l argument

How can I make a shared library which is in /usr/lib/some-path linkable with the g++ -l argument when compiling? As far as I know, to do what I want, I need to chmod 0755 the library .so file, create ...
1
vote
1answer
63 views

Finding function parameters for functions in shared object libraries

I am currently fiddling around with some c libraries without documentation. I am wondering if it is at all possible to retrieve more metadata, such as parameters and return values, outside of what is ...
2
votes
1answer
577 views

How to compile with third party libs properly?

This is a follow up question to Confusion about linking boost library while compilation: What is to do, when I generate a Makefile by qmake and I have only a third party boost lib installed (I ...
3
votes
2answers
268 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 ...
1
vote
1answer
138 views

Cannot locate libncurses.so location when running a file

I'm trying to run a file name remote build which is to build a package on a target server. My target server is HP-UX-itanium 64 bit. When I run the remote build, somehow it cannot find libncurses.so ...
1
vote
0answers
334 views

Installed library packages cannot be found on OpenWRT

I have been compiling / installing custom packages for OpenWRT. I kept running into problems when I was compiling getting errors like: Package x is missing dependencies for the following libraries: ...
4
votes
1answer
47 views

How does multilib work?

In older distributions there was the ia32-libs meta package, now both Debian and Ubuntu switched to multilib. I wonder what the differences are and what I'm supposed to do to re-create a 32 bit ...
1
vote
0answers
41 views

What are the generic-pae directories in /lib/modules?

When listing the content of the dirctory /lib/modules I see a list of generic-pae directories (Ubuntu 12.04): drwxr-xr-x 4 root root 4096 Apr 23 2012 3.2.0-23-generic-pae drwxr-xr-x 5 root root ...
10
votes
1answer
231 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 ...
1
vote
2answers
110 views

How to view source of “string.h” and other library function source code in gedit of Ubuntu?

I remember viewing source code of library function but now I don't know how to view it. Can someone help me viewing source code of library function?
2
votes
2answers
1k views

How to install a custom boost version in CentOS?

I'm trying to compile and install boost 1.54 from source in CentOS. The documentation is pretty straight forward and there are plenty of tutorials in the internet available (1) (2) (3). This is what ...
2
votes
2answers
132 views

Where are my ALSA, pulseaudio lib

I tried to install darkice with lame. To compile it, I need ALSA and Pulsaudio: checking for lame library at /usr ... found at /usr checking for vorbis libraries at /usr ... configure: WARNING: not ...
1
vote
1answer
77 views

How can i fix the following gmp library dependency error while trying to install Charm?

I am trying to install Charm crypto python framework in ubuntu 11.04 with python 2.7. Requirements say that i should have gmp installed 5.*. I have successfully installed gmp lib and i have run all ...
1
vote
0answers
19 views

Lintian reports non-dev-pkg-with-shlib-symlink while dh_auto_install makes this link

So, I am trying to build the main package of a library (which means, without the development header file). When I run debuild lintian complains that: W: libwebsitesnapshot1: ...