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
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
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 ...
0
votes
0answers
66 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
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 ...
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. ...
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
143 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
32 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 ...
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 ...
0
votes
1answer
208 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
1
vote
0answers
90 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 ...
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
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
60 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 ...
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, ...
1
vote
1answer
104 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 ...
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
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 ...
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
198 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 ...
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 ...
4
votes
1answer
191 views

LD_LIBRARY_PATH environment variable

I am trying to test the LD_LIBRARY_PATH environment variable. I have a program test.c as follows: int main() { func("hello world"); } I have two files func1.c and func2.c: // func1.c #include ...
2
votes
1answer
172 views

ldd shows library exists and is linked, program doesn't find it

Console Output: bitnami@linux:~$ sudo svnmucc propset svn:needs-lock 1 file:///opt/bitnami/repositories/Standard/Ipc/trunk -m "test set" svnmucc: error while loading shared libraries: ...
2
votes
1answer
92 views

Install userspace programs on server without root access

I would like to install some programs on my work development server because it is missing some programs I need for my day to day job. I don't have root access. What I did up to now is compiling the ...
1
vote
1answer
324 views

Debian libtiff4

I am trying to install a printer driver package (Canon Pixma MX437 cnijfilter-mx430series-3.70-1-deb) on my system running Debian 8.1 3.16.0-4-amd64 Jessie xfce. I get a dependency error that ...
1
vote
0answers
139 views

Using curl results in error: “Library not loaded: /usr/local/lib/libcurl.4.dylib …”

I had a few issues with the cURL library interfering with Homebrew. After hopefully removing the library (I no longer use it anyway), I started receiving errors whenever I used commands such as curl ...
0
votes
0answers
190 views

How to Fix Configure Error on Fedora?

The Problem/Error: checking for libxml - version >= 2.7.6... no configure: error: No supported version of libxml2 found. The above mentioned error occurs when I do: ./configure ...
2
votes
3answers
769 views

“configure: error: Package requirements (blkid) were not met”

I'm trying to build btrfs-progs from sources, but when I run ./configure I get the error: checking for BLKID... no configure: error: Package requirements (blkid) were not met: No package 'blkid' ...
2
votes
0answers
36 views

library for .desktop files [closed]

How can I read .desktop files without having to (re)invent the wheel?  Is there a Python or C library that is available in the Ubuntu repos?  Or something with a command line front-end that could be ...
1
vote
0answers
14 views

Manually installing libraries for cross compilation

I'm trying to cross compile a program with needs the -lgcrypt flag. I have copied the root filesystem of the machine I'm compiling for so that I have all the libraries which are needed to be able to ...
0
votes
1answer
342 views

libdnet is installed but can't be found by snort

I'm running Fedora 22 and just installed snort: sudo dnf install snort When trying to run it I get: $ snort snort: error while loading shared libraries: libdnet.1: cannot open shared object file: ...
0
votes
2answers
374 views

Installing perl modules

I was trying to install a perl module Future::Utils on my Ubuntu machine but didn't find the exact command. I tried this command but it didn't work: sudo apt-get install libfuture-utils-perl I have ...
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
2k views

“symbol lookup error: /usr/lib/x86_64-linux-gnu/libxfconf-0.so.2: undefined symbol: g_type_class_adjust_private_offset” after upgrading to Jessie

Just upgraded my dev system from Debian Wheezy to Debian Jessie, by the straight-forward method of changing sources.list and apt-get upgrade/dist-upgrade. Now I'm seeing failures when I try to log in ...
2
votes
0answers
667 views

“Cannot open shared object file” Error even though ldconfig is showning entry

I'm trying to run a older SIMetrix Version on Ubuntu 15.04 64bit (if there is a newer version of SIMetrix around tell me!). When I do it I get following error: ...
0
votes
2answers
260 views

set library path for current script [closed]

How can I set the library path for the current script that's running? I mean I don't want to list a new path for the libraries in a textfile. I tried it using export LD_LIBRARY_PATH=$(pwd)/lib/ This ...
0
votes
0answers
1k views

libssl undefined reference to symbol 'SSL_load_error_strings@@OPENSSL_1.0.0'

With the following CMakeLists.txt (I tried to snip it AMAP) https://gist.github.com/pbertoni/29200833dc562ab6ee2c I got this error from make at linking time: /usr/bin/ld: ...
1
vote
1answer
78 views

Distributing app with .so files?

I'm trying to make a game in C with SDL and OpenGL. Q: Will my game run on computers without SDL installed if I ship the .so files in my game folder? I mean adding the .so files somewhere in the game ...
1
vote
2answers
2k views

How to check if a shared library is installed?

My question origins from my problem getting ffmpeg started. I have installed ffmpeg and it is displayed as installed: whereis ffmpeg ffmpeg: /usr/bin/ffmpeg /usr/bin/X11/ffmpeg /usr/share/ffmpeg ...
2
votes
0answers
47 views

Debian packaging: custom file extensions for lib* package

I'm a newcomer in debian packaging. Currently I'm making attempts to build deb packages from C++ (and Cmake configured) project providing some shared library. The problem is non-standard extension ...
1
vote
0answers
632 views

How can I run script without root to sniff network (libpcap)?

I have a script (in ruby): require 'ffi/pcap' pcap = FFI::PCap::Live.new(:dev => "wlan0", :timeout => 1) pcap.loop() do |this,pkt| puts pkt.body end When I try to run the script , I get ...
1
vote
1answer
1k views

CentOS 7 No package … available

(CentOS 7 64 Bits) Following these steps: http://freevps.us/thread-2789.html I get errors, anyone can help me please? STEP 2, running this command yum install libICE.so.6 libImlib.so.1 ...
1
vote
2answers
35 views

How do I add a program with a directory of dependencies to $PATH?

I want to add a program to my $PATH, but its code is split into various files that it imports at run-time from a lib/ in its root directory. projectRootDirectory ├ programBinary └ lib ├ someLibrary ...
4
votes
1answer
127 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 ...