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
3answers
188 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
287 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
155 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
61 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 ...
2
votes
0answers
158 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 cefclient/...
1
vote
1answer
54 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
56 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
374 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 libboost-regex1.40-...
3
votes
1answer
138 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
86 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
299 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
407 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: libsvn_client-1....
2
votes
1answer
144 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
579 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
262 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 ...
2
votes
3answers
2k 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
46 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
16 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
635 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
2k 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 ...
1
vote
1answer
3k 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
3k 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 ...
3
votes
0answers
947 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: user@user-Ubuntu-Laptop:/opt/...
0
votes
2answers
1k 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: CMakeFiles/blockmon.dir/...
1
vote
1answer
112 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
6k views

How to check if a shared library is installed?

My question originates from my problem in 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/...
2
votes
0answers
68 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
892 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
3k 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 libORBit-2....
1
vote
2answers
40 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
168 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
443 views

How do I install some required libraries for a program without sudo?

I am trying to run a program on a computer running Red Hat 6.5. This results in the three following errors: "/lib64/libc.so.6: version `GLIBC_2.14' not found" "/usr/lib64/libstdc++.so.6: version `...
3
votes
0answers
621 views

Arch Linux - make: error while loading shared libraries: libunistring

I keep getting this same error when trying to install various packages: make: error while loading shared libraries: libunistring.so.0: cannot open shared object file: No such file or directory It's ...
1
vote
2answers
4k views

Linux Mint 13 Problem - No module named site

My Linux Mint 13 64-bit system has developed a problem. Whilst I can run basic commands like ls and vi if I try anything more complex (I have tried python2.7, mysql-workbench and addusr) I get:- ...
0
votes
1answer
92 views

Awesomenauts won't run on Manjaro

I'm using Manjaro, and when I try to launch Awesomenauts (a Steam game) from Steam, it does not launch. Steam shows that I'm playing it for a slight second, but then I go back to just being "Online" ...
0
votes
1answer
633 views

Compiling LibSSH2 with specific LibSSL

I have downloaded and compiled the latest version of libssl, the result of which is located at /usr/local/ssl. I want to compile libssh2 using the files in this folder, and to do that I've set the ...
0
votes
1answer
76 views

Deleting a file object from a library

I've created a library with 3 file objects using: ar rv arhiva.a file.o file2.o file3.o Why I can't delete a file object from it? I've used ar xv arhiva.a file.o
1
vote
0answers
487 views

Running Chromium on ARM - Failed to load NSS libraries

TARGET: FriendlyARM mini210s / Linux 3.0.8 armv7l Cross-compiled for ARM using this workflow Install sysroot on target and tried to run Chrome # ./chrome [0122/142305:ERROR:nss_util.cc(981)] Failed ...
2
votes
3answers
7k views

error while loading shared libraries: libc.so.6: cannot open shared object file

I have a Linux kernel and I chroot it on /var/chroot: I added bash dependencies like so: ldd /bin/bash linux-vdso.so.1 => (0x00007fff9a373000) libtinfo.so.5 => /lib/x86_64-...
0
votes
2answers
425 views

Skype Call Recorder in Debian 7.1: version `GLIBC_2.14' not found

I am trying to configure Skype Call Recorder in Debian 7.1, running Skype 4.3.0.37. Since there was no amd64 package for Debian, I am using skype-call-recorder-ubuntu_0.10_amd64.deb. The installation ...
1
vote
1answer
3k views

How to install the pylzma python library on Linux?

The pylzma library is a requirement for another tool that I would like to use. I am new to python and programming and have a few questions: I have already followed the procedure to download and ...
3
votes
2answers
204 views

where will the system search for dynamic libraries? [duplicate]

I want to know where the system will search for dynamic libraries. Let's take nxclient as an example. ldd /usr/NX/bin/nxclient gives me some output, for example libpng12.so.0 => /usr/NX/lib/...
2
votes
2answers
141 views

Is it possible to call an executable's functions?

I want to find out whether it is possible to circumvent an executable's gui by calling the programs internal worker methods/functions directly. Assuming the executables are C/C++ programs with a ...
3
votes
1answer
4k views

Yum says dependency “ libltdl.so.3” is required, but it's already installed?

I'm a Linux noob and have spent a few hours trying to get ImageMagick installed. I finally got an old version uninstalled, but am struggling to get the newest version installed. When I run the ...
2
votes
2answers
1k views

shared object file open error with “sudo command” but NOT with “sudo bash” then same command?

I'm having a hard time getting my brain wrapped around how LD_LIBRARY_PATH is handled differently for the following three cases: run as a regular user run via "sudo command" run via "sudo bash" ...
0
votes
0answers
103 views

Lot of dependencies while uninstalling libimobiledevice2 library

I want to remove package libimobiledevice2 and install package libimobiledevice5. Unfortunately there is a problem: libimobiledevice2 has many odd dependencies. When I type: apt-get remove ...
0
votes
1answer
2k views

Configuring zlib for compiling and installation

I am trying to install zlib-1.2.8 from within "/root/tmp/zlib-1.2.8/" but I think my configuration options are incomplete. The configuration command that I'm using is: ./configure --prefix=/usr2/...
1
vote
1answer
160 views

Common library for all linux distributions

I want to develop a C++ library that can be used on multiple Linux distributions like RHEL, Suse, Ubuntu etc... If I compile my source code into a .so (shared library) on one Linux environment(say ...
1
vote
1answer
345 views

Getting segmentation faults from inside glib and gobject - I THINK I want to build/statically link against an independant version of glib2

I don't yet fully understand how segfaults and backtraces work, but I get the impression that if the function at the top of the list references "glib" or "gobject", you have Bad Issues(TM) with ...