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
1answer
658 views

Building GCC inside a chroot from source

In a previous question I asked about creating a chroot that simulates my embedded device environment. It was suggested that I build from source GCC and binutils first inside my chroot. To attempt this ...
4
votes
1answer
539 views

Can I use a chroot on my dev machine to build an application to run on embedded linux installation?

I am trying to develop an application to run on an embedded linux installation. It comes with an older version of libc than I have on my development maching. If I were to create a chroot environment ...
-2
votes
2answers
361 views

Download and Install 32-bit Haskell GHC on CentOS

I need to install Haskell GHC 32 bit from the command line and I can't find this anywhere. I need to install it because I need libgmp.so.3 for the 32-bit and i have read somewhere that I can find it ...
5
votes
2answers
7k views

error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory

anisha@linux-y3pi:~/> google-earth ./googleearth-bin: error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory anisha@linux-y3pi:~/> locate ...
0
votes
1answer
374 views

Is there a way to use/recompile libgio-2.0 on machine with libc-2.5?

I have a program (JavaFX 2, namely), and one of its binaries (libglass.so) requires libgio-2.0.so.0. The problem is, the system, on which I need to run the app, is quite old and mostly out of my ...
8
votes
1answer
339 views

Finding the library versions a library was linked against

I have a library that was compiled on an unknown Ubuntu machine, And I'd like to determine what version of Ubuntu that machine had at the compile time. My idea was to try and find the versions of ...
1
vote
0answers
514 views

Having a problem installing snort on fedora 17 [closed]

I've installed the latest versions of libpcap and libdnet. There is however a problem with daq. I configured snort with --wth-daq-libraries=/usr/local/lib/daq and --with-libpcap-libraries=/usr/lib ...
2
votes
3answers
2k views

How to find a Fedora package providing a dependency I need?

I sometimes install software which isn't present in the repositories, and then I run into the problem of not satisfied dependencies. The error usually tells me which library or command is missing. ...
31
votes
2answers
4k 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 ...
1
vote
1answer
920 views

No version information available?

How can I fix this problem? What is libzypp.so.1106 and and libaugeas.so.0? Why is this error repeated so many times in libzypp.so.1106? zypper: /usr/local/lib64/libxml2.so.2: no version information ...
1
vote
2answers
832 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 ...
1
vote
1answer
578 views

ld-uClibc.so missing

I am trying to run an executable on Angstrom Linux, but ash tells me -sh: ./myEx: not found I've checked with readelf the program interpreter and it is root@beagleboard:~# readelf -l myEx | grep ...
1
vote
2answers
315 views

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 ...
0
votes
1answer
313 views

pattern to install dependencies in linux

Different OSes have different standard way of installing package dependencies; in OS X, all library dependencies are copied in the App folder. Windows application developers have both options; they ...
3
votes
1answer
5k views

/usr/bin/ld: cannot find -lfl

After running the following command: g++ lex.yy.c -lfl I get the following error: /usr/bin/ld: cannot find -lfl How can I solve it?
3
votes
1answer
3k views

Why can't ld find this library?

I'm not very knowledgeable on this topic, and therefore can't figure out why the following command does not work: $ gfortran -o dsimpletest -O dsimpletest.o ../lib/libdmumps.a \ ...
2
votes
0answers
750 views

32 bit appplication on 64 bit linux not working

I'm running linux mint LMDE 64 bit version, I have to install this i386 software to use my modem. So I did it with --force-architecture mode, installation completed with errors. Here is the log dpkg: ...
0
votes
1answer
3k views

How to manually uninstall urllib, urllib2, requests python packages?

I'm having a problem with urllib, urllib2 and requests, three python libraries. I use Ubuntu 10.04.4 LTS and python 2.6.5 (we can use with python) (but I had installed manually, after the problem, ...
2
votes
1answer
74 views

Deploy libs in hard-coded dir

I have a set of libraries and some apps that depend on it. Some of these libraries names might conflict with already installed libraries. The easiest way for me to deploy them would be Install the ...
0
votes
1answer
539 views

GUI not working in Ubuntu 11.04 after removing some packages

I accidentally removed i32-libs using the following command sudo apt-get remove ia32-libs Now the GUI is not working properly: when I login, it just shows me a small terminal on one side of ...
3
votes
1answer
1k 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 ...
4
votes
3answers
14k views

startx error when setting up X server on archlinux

I am trying to install X on my archlinux home desktop. I get this error when trying to start it (startx/xinit): [root@computer ~]# startx xauth: file /root/.Xauthority does not exist xauth: file ...
0
votes
1answer
825 views

zlib support for PIL won't work

I'm trying to install PIL as per its instruction on debian but can't figure how to fix this bit: I get --- ZLIB (PNG/ZIP) support available on build_ext and * ZLIB (PNG/ZIP) support not installed on ...
3
votes
1answer
895 views

Proper management of ld.so.conf and shared libraries

I'm curious as to how other Linux admins manage /etc/ld.so.conf and in general, shared libraries across multiple Linux servers. We have about 30-40 Linux servers running SLES 11. Since they are ...
5
votes
1answer
29k 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
160 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
953 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
461 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
585 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
1k 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
952 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
722 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
473 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
23k 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
747 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
2k 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
3k 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
310 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
4k 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
989 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
758 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
535 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
649 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
591 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
747 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
11k 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
605 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
251 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 ...