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

5
votes
1answer
23k 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 ...
2
votes
2answers
154 views

Tools that list the prototypes in .so library

Is there a tool that list the prototypes in a .so library. I found nm close to my need, but what I got are just symbols.
1
vote
1answer
759 views

How to understand the result returned by “nm” command

I used nm command to inspect the function names in a .so library. And the result I got is like this: 00009634 T _Z24ICTCLAS_ParagraphProcessPKciPc9eCodeTypeb 00009764 T ...
2
votes
1answer
445 views

Fedora 16 dependency hell

There's a package libvpx-0.9.7 which is required by empathy application. Now I want to install another application which requires libvpx-1.0... Update is not allowed because some applications depend ...
1
vote
2answers
552 views

Is “Disk failure is imminent” causing the errors I am experiencing?

I am getting SMART Status 184 end to end error, and "Disk failure is imminent", suggesting I need to get a new hard drive, and I will do. But now I am also getting error messages such as when running ...
2
votes
1answer
989 views

Installing flash player for firefox

I would like to install flash player for Firefox on Linux. I downloaded the .tar.gz, and there are some compiled shared libraries. I am not sure how to make them work, and I am looking for a hint. ...
1
vote
1answer
784 views

How and where to install a headers only library?

I like to install gource which requires libglm-dev installed on the system. I am using Ubuntu 10.10. Maverick. The newest sources of the headers only library I found is not available for apt-get. ...
3
votes
1answer
638 views

libstdc++.so.3 => not found on CloudLinux, no SuperUser permissions, seemingly in chroot.

I am trying to install the Linux x64 BOINC command-line interface client on a CloudLinux machine with x86_64 Architecture. When I try to run the executable I get an error: ./boinc: error while ...
2
votes
5answers
418 views

Bash script that can test for a particular lib

I'm writing a bash script that needs to test if certain libs are installed on a VPS, and if they're not, the script will install them. My problem is being able to have the script determine if they ...
2
votes
2answers
19k views

Error Loading Shared Libraries when Installing Redhat Directory Server

While Installing the Red Hat Directory Server on the Red Hat Linux Server 5 (x86_64)i am getting the following error bin/slapd/server/dsktune: error while loading shared libraries: libstdc++.so.5: ...
3
votes
2answers
694 views

Ubuntu 10.04 can't boot, kernel panic

I downloaded pcap source compiled it and got a lib ending in libsomething.so.1.21.1. I tried to find how to install a lib online and in my impatience did the following sudo .install-sh /lib ...
9
votes
2answers
1k views

strace for library calls

I know of strace, which is super handy for watching system calls. Is there an equivalent that can trace calls to external libraries? For example, I'm trying to debug some SSLeay misbehavior with a ...
2
votes
2answers
2k views

ldconfig issue with non-standard lib directory in CentOS

I am working with a virtual machine (CentOS 5.3) that has very little storage space on the main drive (which includes /usr, /usr/local, etc). Most of the storage space is available on a separate drive ...
1
vote
2answers
241 views

How to avoid “make” redoing a library

I have a project for school. In the root dir, I have 3 subdirs which all have a makefile (because there will be 3 executable files), and there is 1 lib dir. This dir contains my library source files ...
7
votes
2answers
3k views

Changing linked library for a given executable (CentOs 6)

I have an executable linked like this: $ ldd a.out libboost_system-mt.so.1.47.0 => /usr/lib64/libboost_system-mt.so.1.47.0 (0x00007f4881f56000) libssl.so.10 => ...
4
votes
2answers
880 views

libssl and libcrypto backward compatible?

I have an old server application that requires libssl.so.0.9.6 and libcrypto.so.0.9.6. My issue is I currently have libssl.so.1.0.0a and libcrypto.so.1.0.0a on my system. I tried symlinking to the ...
0
votes
1answer
698 views

Install bz2 lib from source

I want to install bz2 lib from ssh to my CentOS server. I get it from here and use tar -xvf command to extract it,but it does't have configure file to compile and install it. I need this lib to ...
1
vote
2answers
480 views

Failed dependencies

I am searching for the following : libpython2.5.so.1.0 libtinfo.so.5 python(abi) = 2.5 I searched , but I am not able to find these. I am running Centos 5.6 with linux kernel 2.6.18-238.el5. $ ...
5
votes
2answers
587 views

How to check if libfftw3_threads.so.3.2.4 shared library was compiled for pthreads or for OpenMP?

There is FFTW library installed by an administrator system-wide, in /usr/lib64, and it includes /usr/lib64/libfftw3_threads.so.3.2.4. When I compiled this library myself, before it was installed by ...
2
votes
1answer
556 views

What does this error mean when installing namecoin?

I'm trying to set up namecoin, but I get the following error on running makefile.unix: $ g++ -c -O2 -Wno-invalid-offsetof -Wformat -g -D__WXDEBUG__ -DNOPCH DFOURWAYSSE2 -DUSE_SSL -DUSE_UPNP=0 -o ...
2
votes
2answers
5k views

How does rpm resolve library dependencies?

I try to make a package of a program which is linked to such library (output from ldd): libwx_baseu-2.8.so.0 => /usr/lib64/wx-2.8-wxcontainer/libwx_baseu-2.8.so.0 Pretty straightforward, ...
0
votes
1answer
684 views

mon linux monitor install on centos - can't find glib.h although present

I am trying to install the linux_monitor package under Centos 5.5. When I try make I get: make[3]: Entering directory `/tmp/linux_monitor-2.0RC3/src/server' if gcc -DHAVE_CONFIG_H -I. -I. ...
21
votes
2answers
9k 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
1answer
557 views

How to install a shared library in Linux

As part of my research work I have to study a rootkit. So I downloaded ncom rootkit and tried installing. It didnt have any installion files. Please help me in installing it.
1
vote
1answer
1k views

qmake looking for lib files named *.pc

I'm trying to compile some software (FocusWriter) on openSUSE 11.3, (linux 2.6.34.7-0.5-desktop). (I can't find an actual download link to the alleged openSUSE RPM...just lots of metadata about the ...
6
votes
1answer
238 views

Executing a shared library

Some shared libraries provide an output when called from the command line as if they were executables. For example: $ /lib/libc.so.6 GNU C Library stable release version 2.13, by Roland McGrath et ...
4
votes
1answer
773 views

EGLIBC vs GLIBC on laptops

From what I understand the primary cause of fork/branch of EGLIBC as compared to GLIBC was the problem with patches for ARM that Debian devs wanted to push upstream. I have slightly different ...
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.
3
votes
2answers
2k views

Why does LD keep outputting “no version information available”

On every loading of a lib, I get the error: no version information available This lib has been compiled on another PC (ubuntu 10.04) than the one running it (mandriva 2010.2). $ ldd ...
2
votes
2answers
1k views

Does Solaris have an equivalent to /etc/ld.so.conf?

I compiled a package for Solaris 11 Express that has some library dependencies, which I also compiled from source and installed in the usual /usr/local. (And Solaris doesn't even have /usr/local ...
7
votes
1answer
447 views

What files should I copy from Windows into Wine?

As far as I understand Wine runtime does better if some libraries are copied from MS Windows, but some Windows system libraries really are not to be used with Wine (some can even make it stop working, ...
4
votes
2answers
249 views

Compiling old solaris programs under Linux

I've got sources for a program developed under Solaris in ANSI-C. I am told it was developed around 1996-1997. I'm currently struggling with compiling it under a current Ubuntu. I got pretty far and I ...
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: ...
1
vote
1answer
1k views

Where in Gnome libs, is 'True' and 'False' defined?

I'm trying to compile a program with gnome-libs, that uses True and False, in one of the arguments. But what header file defines them? I'm getting the following error: guignome/guignome.c: In ...
1
vote
3answers
819 views

What libraries are there for reading/editing ID3s of mp3?

I think the title says it all. I need a library to allow me to read and edit ID3 Tags from C++ in Linux. Suggestions?
4
votes
4answers
2k views

Install development files locally to build on system without root access?

There is a server that I do work on, running an older version of Linux. I don't have root access to the system, so I wanted to build a more recent version of a tool that I use a lot (Vim 7.3). I ...
10
votes
1answer
6k views

What does libgcc_s.so contain?

I tried running objdump on the lib to figure it out without success. Is there a way to find out what a library does?
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?