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
2k 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. ...
0
votes
0answers
19 views

Is a good idea to package with C/C++ libraries dependencies? [on hold]

Is a good a idea to build a debian package with the following dependencies? Depends: libc6, libgcc1, libstdc++6
0
votes
0answers
17 views

Unable to load shared libraries in java

I have copied existing java to differentlocation and applied setcap on it. #setcap cap_net_bind_service=-epi /usr/lib/jvm/jre-1.7.0-openjdk.x86_64_test/bin/java Now, i got the below error and one ...
1
vote
0answers
2k 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: ...
0
votes
0answers
68 views

Redhat error while loading shared libraries: libkeyutils.so.1: cannot open shared object file: Permission denied

I just installed and am trying to start rpcbind on my redhat 7 machine. I'm new to linux so I'm having some trouble figuring out what to do next. I'm running all of these commands as the root user. ...
1
vote
0answers
25 views

Relationship between ldconfig and ld.so.cache

After I restart my computer, ld.so.cache still has the information in it, so my questions are as follows: Is the information always kept there? Isn't it being removed after restart or something like ...
9
votes
3answers
1k 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 ...
0
votes
1answer
1k views

Cannot Initialize RXTX drivers, in 64bit linux for Java SunSpot, gnu.io.RXTXCommDriver failed, although library binaries are present

I have some Java SunSpots (www.sunspotworld.com), The sunspots come with an SDK, which has a copy of all the needed libraries. I am able to build java application which use the RXTX driver to ...
3
votes
3answers
4k views

Linux From Scratch: libgmp.la, libmpfr.la, and libmpc.la not found during version-check

I'm trying to build a Linux From Scratch system on my host Linux Mint machine. However, when I run the version-check.sh file, it returns that my system is missing libgmp.la, libmpfr.la, and libmpc.la, ...
1
vote
1answer
26 views

Environment variable to blacklist a shared library?

I've had a problem with Mono disrespecting my fglrx libGL library and loading the Mesa library instead. So far I've been fixing it by deleting or moving the Mesa library (/usr/lib64/libGL.so.1.2.0) ...
1
vote
0answers
16 views

Recommended way of repackaging proprietary deb packages, which include old system libraries

Intro Long story short, in couple projects I'm using some stereo-cams. Unfortunately, manufacturer provides packages (rpm and deb) for user-space drivers which are not exactly properly formatted ...
3
votes
1answer
2k 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
860 views

where can I find the 32-bit libraries needed to run MPLAB X?

I'm trying to install MPLAB X onto my kali Linux 64-bit OS and every time I get to the last part of installation I receive this message: root@kali:~/Desktop# sudo chmod 755 ...
4
votes
2answers
1k 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
990 views

Install libbz2 from source on CentOS

I want to install the bz2 library from ssh to my CentOS server. I get it from the homepage and use tar -xvf command to extract it, but it does't have a configure file to compile and install it. ...
1
vote
1answer
874 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
30 views

Remove package with yum but leave libraries in place?

During setup on a specific set of servers, I need gcc-c++ installed to compile some of the software I am setting up. After install is complete I need to remove the compiler for security reasons. ...
2
votes
1answer
2k views

can't open rstudio in linux debian wheezy error 'GLIBC_2.14' not found

I get the following error when trying to run rstudio on my Debian: rstudio: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by rstudio) I've uninstalled and reinstalled R ...
0
votes
1answer
72 views

What's different between “su - username” then command and “sudo -u username command”

I have a problem about unixodbc. It show the error message about Can't open lib .... So, I use the ldd command to check. If I use su - username,the result like below: [root@ostest ~]# su - mysql ...
0
votes
1answer
145 views

libssl.so.0.9.8: cannot open shared object file: No such file or directory

When attempting to run Cloud9 IDE locally after its installation I receive this error: # bin/cloud9.sh Linux 64 bit support/node-builds-v4/node-linux64: error while loading shared libraries: ...
1
vote
1answer
38 views

How do I find the libraries this program needs for its environment variable?

I am trying to set up the program NASAView, for viewing PDS files. The instructions say Set the LD_LIBRARY_PATH Environment Variable The LD_LIBRARY_PATH environment variable is used to ...
1
vote
0answers
34 views

Extract coordinates of matching text in PDF

Basically I want to grep a string in a PDF and get the coordinates of the matching result(s). I already use pdftotext to do the opposite, namely to extract some text given its coordinates. In ...
17
votes
2answers
30k 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 ...
5
votes
4answers
26k 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 ...
10
votes
3answers
55k 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
1answer
32 views

Is there any danger to using an unset variable in a bash function definition?

Doing some code refactoring, and I realized I don't know if this matters at all: The function definition is going to be sourced from another file (a sort of library). The function uses certain ...
1
vote
4answers
7k views

Unable to launch Firefox: keeps on crashing

Unable to launch Firefox in CentOS 6. Installed package using yum install firefox. It repeatedly shows this error, XPCOMGlueLoad error for file /usr/lib/firefox/libxul.so: libvpx.so.1: cannot open ...
0
votes
1answer
215 views

Install libjpeg.so.8 to CentOS 6.6

I need install libjpeg.so.8 to CentOS 6.6 but i do not understand how to do... I have installed libjpeg-turbo libjpeg-turbo-devel but libjpeg.so.8 there is not
0
votes
2answers
32 views

User-dependent packages/files in /lib

I have setup a 2-seat computer. I start one X11 server using the computer's onboard graphics card (intel) and another in the dedicated one (nvidia). Everything runs fine, except opengl. Currently, ...
1
vote
1answer
4k 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, ...
1
vote
0answers
38 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 ...
1
vote
0answers
91 views

Can't install gphoto2 on Yocto Linux

I recently discovered how to connect to a PTP-compatible camera from Linux so I figured I could do the same from a Galileo Gen 2 board, only to find out that it's not as easy as I thought. The Yocto ...
4
votes
1answer
128 views

Is there any automatic tool for installing required libraries to compile a program from source?

I want to know if there is any tool that, given the output of configure, cmake, autoconf or whatever library/dependencies matcher you have; installs the required packages/sources for you from your ...
1
vote
1answer
199 views

How to install libboost-all-dev v1.40 Debian wheezy

I'm new here. I need to install libboost-all-dev package that contains this stuff: libboost1.40-dev libboost-system1.40-dev libboost-filesystem1.40-dev libboost-date-time1.40-dev ...
8
votes
3answers
3k 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. ...
3
votes
2answers
252 views

Library version, API version and soname: how should these be named?

Suppose I have a library called libfoo and its version is 0.4.2 where 0.4 is the API version and 2 is the release number which may add new API functions. Should the soname be libfoo.so.0.4, ...
0
votes
1answer
168 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
105 views

Chromium deps install problem on libgl1-mesa-glx:i386

everyone I'm trying to build chromium on Ubuntu 14.04.3 in my Virtualbox and get stuck at installing deps running install-build-deps.sh. The problem lies in package libgl1-mesa-glx:i386. Here's the ...
1
vote
0answers
16 views

Some applications on my unbuntu won't launch (document viewer)

My Document viewer is not able to launch. When I open it using commandline it gives me the following error: evince evince: error while loading shared libraries: libffi.so.6: failed to map segment ...
3
votes
0answers
61 views

Satisfying lib dependency

A rookie question: I have a program (which I will call foo here) compiled for x64 (my current arch). When I try to run it, it goes: ./foo: error while loading shared libraries: libgmp.so.3: cannot ...
1
vote
1answer
1k views

ERROR: Failed to build gem native extension on Arch (postgresql)

I can't install gem pg on Arch due to the error: Gem::Ext::BuildError: ERROR: Failed to build gem native extension. /home/alex/.rvm/rubies/ruby-2.1.1/bin/ruby extconf.rb checking for ...
0
votes
3answers
81 views

Why does linux not allow multiple versions in the central repository?

I'm total newb to Linux, but here goes.. It seems to me that a lot of the problems using Linux is because of mismatched dependencies. Specifically that you can't install two versions of a library. ...
1
vote
1answer
223 views

Problem with PHP, libncursesw and Arch

After doing a system upgrade, whenever trying to use php it complains: php: error while loading shared libraries: libncursesw.so.5: cannot open shared object file: No such file or directory Sure, ...
3
votes
0answers
51 views

Restore internet connectivity and graphic desktop manager wiped out during a package installation

Abridged Antecedents I run Ubuntu 12.04 LTS on a x68_64 computer. A few days ago I run sudo apt-get -f install for a general overhaul of broken dependencies. I did so in order to remove the conflicts ...
1
vote
0answers
94 views

Trouble linking to gtk/gtk.h even though it's installed

I am trying to build CEF (chromiumembedded) on debian jessie ########## Linking CXX static library libcef_dll_wrapper.a [ 81%] Built target libcef_dll_wrapper [ 81%] Building CXX object ...
1
vote
1answer
37 views

Tell Python to use alternative library

I am trying to use an alternative version of opencv (3.0) in my Python scripts. I compiled and installed this version to my home directory, and now I am trying to tell Python to use it. I have the ...
1
vote
1answer
35 views

Something like which for libraries

I am trying to use two opencv versions on my computer and I am trying to tell my system to use the most recent one that I compiled and installed locally. I included the install folder in ...
3
votes
1answer
65 views

Determine devtype and subsystem for laptop power supplies

I'm writing a small C program on an Ubuntu machine using libudev to monitor for changes to the power supply. At this stage, I just want to successfully detect when the AC adapter is active vs. when ...
1
vote
2answers
40 views

Portable binaries and the libexec path

I want to build portable binaries for apache mesos. One of the problems is that it uses some binaries located in the libexec folder during execution. When compiling, I set --prefix to /tmp/test. The ...
2
votes
1answer
16k 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 ...