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

7
votes
1answer
2k views

Using Atlas from scipy

I installed Ubuntu 12.04 64 bit. I need to work with python and scipy, I installed them and when I run the test: python -c "import scipy; scipy.test()" I get the message: ImportError: ...
0
votes
1answer
54 views

Library Migration

I have one pre-compiled shared library, which require GLIBC-2.9 But I want to use it against GLIBC-2.8. I am very much sure, source code have not used any function which was introduces in 2.9 Since ...
2
votes
1answer
107 views

Build Gimp from custom-path libraries

I'm installing Gimp (2.6.10) on Debian. The system has all the required libraries (dependencies) installed in the default directories, so giving to Gimp ./configure && make && make ...
3
votes
2answers
755 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. ...
1
vote
2answers
243 views

Accidentally removed dev-libs/mpc from Gentoo

It seems I accidentally removed dev-libs/mpc instead of media-sound/mpc. Now I can't compile anything (including a replacement dev-libs/mpc) because in doing so I apparently murdered GCC. How does ...
1
vote
0answers
106 views

strange noise in some gui programs

I have Debian testing, I use XFCE. Recently, shortly after dist-upgrade, I noticed that XFCE terminal has some noise in it - especially near the end of long lines or when I use midnight commander. The ...
4
votes
2answers
11k views

How to export LD_LIBRARY_PATH to all users and system services

I want to export LD_LIBRARY_PATH to system services and all users. System services are run before login, so .bashrc is not applicable. How to achieve this?
2
votes
0answers
837 views

libbfd-2.22.so missing while compiling Binutils/Glibc/Zlib

When I try to compile Binutils, Glibc and Zlib using chroot on my LFS system, I get this error: ar: error while loading shared libraries: libbfd-2.22.so: cannot open shared object file: No such ...
1
vote
1answer
2k views

libpng warning: Incompatible libpng version in application and library

libpng warning: Application was compiled with png.h from libpng-1.2.39 libpng warning: Application is running with png.c from libpng-1.4.0 libpng warning: Incompatible libpng version in application ...
7
votes
1answer
5k views

Where did /usr/lib64 go and what is /usr/lib/x86_64-linux-gnu?

I have two Ubuntu-x86_64 systems. One is version 10.04, the other 12.04 and there is a difference in the structure of the lib directories. This doesn't surprise me, but I'm curious if anyone knows ...
4
votes
1answer
2k views

How do I get a list of shared library filenames under Linux?

Is there a GNU Linux built-in for getting a list of the filenames of shared libraries? I have considered parsing the output of ldconfig -p. However, I'm not sure about consistency in output from ...
2
votes
1answer
703 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
571 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 ...
-1
votes
2answers
374 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
8k 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
388 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
353 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
519 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. ...
36
votes
2answers
5k 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
962 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
877 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
628 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
340 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
323 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 ...
4
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?
4
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
786 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
75 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
548 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
16k 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
844 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
939 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
32k 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
166 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
1k 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
468 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
602 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
1k 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
761 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
501 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
25k 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
771 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
341 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 ...
8
votes
2answers
5k 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 => ...