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

0
votes
0answers
35 views

Building GDB, cant find libreadline.a

I am trying to build GDB from source, and am encountering a strange problem. I'm not sure what information is relevant, so please let me know if I have not provided enough. I am working on Linux ...
2
votes
2answers
729 views

Stereo “tone-generator” for linux?

Is there something like a stereo (separate left-and right-channel) tone-generator for Linux? Where you can set volume and tone/pitch for each channel, and preferably also set the wave-form (sine, ...
1
vote
2answers
205 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
2k views

Can't run 32 bit python on 64 bit Ubuntu: error while loading shared libraries: libutil.so.1

I'm trying to run a 32 bit version of python on 64 bit Ubuntu 12.04. There are alternatives to running this specific binary, but I'm more interested in understanding what's causing the error than ...
2
votes
2answers
1k views

How to remove a locally installed library?

I had just compiled and installed libc locally into my home directory. Sadly, after this, virtually every basic utility like ls and xz failed to function. The error message prompted up when ...
0
votes
1answer
147 views

is there a libboost-all instead of libboost-all-dev?

I need libboost dependency for a package I'm running, but the only package I can find is libboost-all-dev, and I'm not sure what the "dev" means and if I need it. Is there a ...
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
0answers
244 views

lsusb outputs “Illegal Instruction” - why?

I'm trying to get a 3G USB dongle to work on a Raspberry Pi running Raspbian Wheezy, using a script called sakis3g. However, in trying to do this, I keep running into problems: when trying to connect ...
4
votes
1answer
2k 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 ...
1
vote
1answer
79 views

Need general guide on how to build Linux Stream (LiS) under RedHat 6.2

Day 1 I have hit into some error, and the build simply fail, saying that there is some conflict. Thus I believe a .o file cannot be made and then result fatal error during linking, anyone have steps ...
0
votes
0answers
113 views

Installing required libs/frameworks/packages for compilation on OSX

I'm trying to compile SmartSim for OSX Lion, and at the moment I'm at the ./configure stage. Here is a dump of what I've managed to get so far: $ ./configure checking for a BSD-compatible install... ...
3
votes
2answers
62 views

How do I know which library and man page will be found first?

With binaries, I can always do which foo to know which binary I am invoking with $ foo, but what about man pages? Is there a way to know the path of the man page will be loaded by default? Similarly, ...
2
votes
1answer
138 views

Invoking a script with ld-linux.so?

I just downloaded a tar file that is supposed to include everything required to run a program that we can call some_binary. I extracted it's contents, and I see the following: A binary (let's call ...
3
votes
1answer
271 views

How do I get rid of unnecessary mp3 tags in my music library?

I have a massive bunch of music. Some of the tracks have unnecessary MP3 flags. How can I get rid of them?
1
vote
1answer
70 views

Effect if any of changing LD_LIBRARY_PATH environnment variable on emacs fonts?

The rendering of my emacs fonts changes if I define a specific list of directories under the LD_LIBRARY_PATH environment variable just before I call emacs. I changed this because I wanted to use emacs ...
4
votes
1answer
144 views

Will GNOME and GTK libs bloat up my KDE?

I want to use Shutter. I installed it previously under Kubuntu and it needed a lot of libs. What bothered me most was that Kubuntu wanted me to restart, that is rare for OS's nowadays and in general ...
0
votes
1answer
77 views

How to manually install a cpp library

I want to install the opengl sdk http://glsdk.sourceforge.net/docs/html/pg_build.html . I successfully built it but it has no install script. I am wondering where I have to put them in order for ...
-1
votes
2answers
139 views

About ncurses header file [closed]

I' running Fedora 15 (32-bit). But I can`t compile and run an ncurses program. Also, colours are not working in the terminal. What can I do to fix this?
1
vote
2answers
543 views

Is there a convention for adding .pc files for pkg-config?

I installed a library via apt but it added no .pc file to the pkg-config dir. When I built another manually it got added. Is there a convention for libs automatically creating a .pc file and if so ...
3
votes
2answers
490 views

/etc/ld.so.conf doesn't contain /usr/lib

I am using pkg-config to help supply the correct libs during c++ compilation. As I understand it, it searches in directories supplied by /etc/ld.so.conf. My ld.so.conf references the following lib ...
3
votes
0answers
205 views

Using symbolic links and git to manage build versions

In general I follow the following workflow when I build any program (e.g. emacs, tmux, etc.) /home/opt/[name of the program]/builds/[version]/ bin lib share For example for a program like tmux I ...
4
votes
2answers
2k views

Use shared libraries in /usr/local/lib

I have build some libraries from sources, and the files after make install are in /usr/local/lib For example, in my case I have the file libodb-2.2.so which is in this directory. However when I ...
1
vote
0answers
169 views

mod_rewrite: undefined symbol: lstat error

I compiled the mod rewrite for apache (version 1.3.0) however, when I try to run the server I have this error about mod_rewrite: Syntax error on line 27 of /home/myuser/apache/etc/httpd.conf: Cannot ...
8
votes
1answer
431 views

How does gcc know where boost is installed

I installed boost using sudo apt-get install on Ubuntu. Later I did not have to give gcc the I flag alongwith the path to the boost libraries to use boost ! Nor did I do any pkg-config --cflags --libs ...
2
votes
1answer
403 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
3answers
732 views

Cannot find lib in path

I am trying to start a program that relies on some libraries that are in my path, however, the program says it cannot find the files: 11:45:27 ~ > echo $PATH ...
0
votes
0answers
103 views

Failure to install MySQL

I attempted to install MySQL using Synaptic but it failed to start on update with the following output: Selecting previously unselected package mysql-client. (Reading database ... 131143 files and ...
1
vote
1answer
154 views

Introspection of the interface of a shared library

I have a problem with a library I'm working with for the first time ( it's Boost.Python but my question is much more general than this case). As a consequence I need to check what is the interface of ...
1
vote
1answer
4k views

Missing 32 bit library on a 64 bit Linux install

I am trying to figure out why Eclipse is complaining about being unable to find a library. I've managed to reproduce/reduce the java problem to: $ ldd ...
3
votes
1answer
123 views

Which library are LO headers belonging to?

I'm trying to configure liquidsoap and compile it from source. The ./configure process gets stuck at this point: checking lo/lo.h usability... no checking lo/lo.h presence... no checking for ...
1
vote
0answers
206 views

Python bindings for libtorrent-rasterbar are not working on debian

I'm running Debian 6.0.6 I've downloaded latest version of libtorrent-rasterbar from here: http://code.google.com/p/libtorrent/downloads/detail?name=libtorrent-rasterbar-0.16.6.tar.gz&can=2 and ...
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 ...
4
votes
2answers
2k views

Difference between system calls and library functions

I have been through the answer of this question but do not quite understand the difference between system calls and library functions. Conceptually, what is the difference between the two?
7
votes
1answer
216 views

ELF shared libraries - motivation for the PLT

Could self-modifying code be used to speed up function calling in dynamically linked libraries? As far as I understand it, ELF shared libraries use a kind of indirect jump table (the procedure ...
2
votes
1answer
119 views

Installing shared library - questions and problems

I'm having trouble "installing" a shared library I download online. The library name is run time access (http://www.runtimeaccess.com/). In the quick start guide, they explain how to use the library ...
1
vote
2answers
644 views

ffmpeg and libvpx: error while loading shared libraries

When I run ffmpeg I get the following error: /usr/local/bin/ffmpeg: error while loading shared libraries: libvpx.so.1: cannot open shared object file: No such file or directory Output of ls -l ...
1
vote
0answers
558 views

ntp cannot open shared object file: Permission denied

On a server I haven't worked on, ntpd is broken: # /etc/init.d/ntpd start ntpd: error while loading shared libraries: libz.so.1: cannot open shared object file: Permission denied but permissions ...
1
vote
1answer
292 views

Installation of MPFR previous versions of GMP clash

So it's a common error when installing MPFR that if more than one version of libgmp are installed you hit errors. This is quite well documented in the INSTALL file, If I run locate libgmp the result ...
3
votes
1answer
1k 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
49 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
84 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
607 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
203 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
95 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
6k 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
566 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
955 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 ...
5
votes
1answer
3k 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
527 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 ...
1
vote
1answer
470 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 ...