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

3
votes
1answer
73 views

ld cannot find -lgfortran

I'm trying to compile Knut (a maths program) on Arch Linux with CMake and I'm getting the following error: /usr/bin/ld: cannot find -lgfortran /usr/bin/ld: cannot find -lquadmath collect2: error: ld ...
0
votes
0answers
30 views

Problem while building caffe

I'm trying to build caffe from source on Arch Linux and it is giving me this error after executing make -j16 CXX/LD -o .build_release/tools/convert_imageset.bin .build_release/tools/convert_imageset....
1
vote
0answers
17 views

/etc/sysctl.conf abstraction for custom usage

Is there an abstraction model for configuration files like /etc/sysctl.conf ? I find it great for a few reasons, it's humanly readable, has nestable namespaces, hierachy of settings instead of one-...
3
votes
1answer
31 views

Determine the name of the static/dynamic library

Quite often I am using third party snippets of c code that uses a Unix/Linux c library, an example #include <glib.h>, #include <net/if.h>. And they require me to know the specific library ...
0
votes
1answer
24 views

error while loading shared libraries: libcppunit-1.13.so.0: cannot open shared object file: No such file or directory

I've done everything I thought was needed, but can't get this library to be installed properly. ldconfig -p | grep libcppunit keeps returning the empty string. To install it, I've run (do not ...
1
vote
0answers
35 views

Added anaconda2 lib to LD_LIBRARY_PATH, results in “no version information available” warning

To compile a program (Caffe) I added my anaconda2 libraries to .bashrc as follows: export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/anaconda2/lib/ However, now when I run ls or find I get the ...
2
votes
4answers
47 views

How to check which binaries depend on certain files in /lib?

I know that if I do the command ldd <name> on a binary file in /bin or /sbin I can see which libraries it uses. How do I do the reverse? I.e. do a command on a file in /lib and see what binaries ...
1
vote
0answers
25 views

How to make “sudo” command work? [closed]

I tried to change symbolic links of libz files in lib64. Previously it was: libz.so.1 -> libz.so.1.2.3 Now it is: libz.so.1 -> libz.so.1.2.7 When I try to use sudo and change it back, i ...
0
votes
1answer
80 views

How to regain access to the lost user , linux3 , of two side by side Ubuntu 16.04 instances?

Three days ago, I tried installing the second of two Ubuntu Linux 16.04 versions side by side on the same Lenovo Thinkstation desktop using the procedure described in this URL, http://askubuntu.com/...
0
votes
0answers
39 views

How to create a symbolic link of all files in a directory using a shortened name obtained with using a piped cut on the filename

I have a directory full of libraries (*.so.0.*), and I want to use find to create a symbolic link to each file, named *.so.0. Here is a (non working) try: find $HOME/.local/lib64/ -name "lib*.so.0.*"...
0
votes
0answers
60 views

Where are the definitions for the prototype declarations in <bsd/stdlib.h>?

I have a C program on Ubuntu 16.04, in which I would like to use arc4random_uniform. typedef unsigned char u_char; #include <bsd/stdlib.h> int main () { return (int) arc4random_uniform(100); } ...
0
votes
0answers
19 views

How to install or update GLIBC_2015

I am trying to run Telegram messaging application in Wheezy 7.9.0. When I run it using bash (./Telegram), the following output is shown : /lib/i386-linux-gnu/i686/cmov/libc.so.6: version `GLIBC_2.15' ...
3
votes
2answers
29 views

Limiting System Libraries that an Program Can Use

I have a program that runs under Linux. The program crashes if a particular library exists on the system but runs normally if the library is not present. (It only seems to look for the library at ...
1
vote
0answers
24 views

Why does copying /lib into a chroot jail not work? [closed]

I am working on a chroot jail that runs dropbear on an embedded system. I have created the jail, and tested it works. The issue I'm having is with dropbear. (dropbear is running in the chroot (...
1
vote
0answers
30 views

prelink - weird massive modification after installing zabbix-agent

I thought I knew something about prelink, but I ran into weirdest issue yesterday. I know I shouldn't use prelink, but I've noticed it is enabled on one of CentOS 6 systems under my administration ...
0
votes
0answers
39 views

Installing libstdc++-devel on my CentOS server

rpm -qa | grep libstdc++ gives: libstdc++-4.8.3-9.el7.x86_64 However, find . -name "*libstdc++*" gives: ./usr/lib/gcc/x86_64-redhat-linux/4.8.2/32/libstdc++.a ./usr/lib/gcc/x86_64-redhat-linux/4....
1
vote
0answers
35 views

Program on Debian8.3 appears different than on Fedora18

I've made a couple of programs (Let's call them ProgressBar and LabelsAndInfo) with Qt4.8 and C++ for my enterprise's HW. It runs on a Fedora 18 and it works fine. Now, a mate is trying to run all ...
3
votes
1answer
105 views

How to change the paths to shared libraries (.so files) for a single terminal instance

I want to remove some of the paths the linker uses to find .so libraries for testing purposes. I have found a way to add library paths: export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/path/to/library" ...
0
votes
1answer
87 views

Cross-compiling ImageMagick on ARM

The following is for ImageMagick cross compiled on ARM, I have successfully cross compiled it but while using the convert binary on cross environment it gives following error: [root@FriendlyARM bin]# ...
0
votes
1answer
54 views

unable to load pypy library: libpypy-c.so: cannot open shared object file: No such file or directory

I'm usign fedora and yum package manager, when I was tired to config uwsgi with pypy this error occured: unable to load pypy library: libpypy-c.so: cannot open shared object file: No such file or ...
0
votes
0answers
200 views

How to install libcrypto++9v5 and libcrypto++9 at same time

im trying to install an application which need libcrypto++9 to be installed but im still using some Apps which are using libcrypto++9v5 so when i try to install debain package of libcrypto++9 they ...
1
vote
0answers
16 views

Running apache on offline system

I want to install apache using yum on CentOS 7 and check its shared libraries with ldd and pack the binary and files in apache's rpm and those libraries with full paths and transfer them to offline ...
0
votes
1answer
129 views

no video using webex with fedora 22 and firefox

I can connect into a webex presentation on my Fedora 22 x64 workstation with Firefox x64 but I can't see any video. I am using Firefox version 43.0.3 with the icedtea-web plugin version 4.6.2. I have ...
1
vote
0answers
116 views

Buliding libaffa: running make says Nothing to be done for 'all'

I'm trying to compile the library libaffa, with the following procedure: sudo ./configure -> OK sudo make && make install -> "Nothing to be done for 'all' " How do I fix this? I run ...
0
votes
1answer
96 views

How to install a custom GMP lib for just one user?

I'm doing some heavy number crunching on one system and I'd like to compile (and finetune) a custom GMP 6.1.0 for the user launching the number crunching computation. Previously I had a Debian wheezy (...
0
votes
1answer
91 views

How to use NVIDIA CUDA on poky/yocto based linux os?

I have an NVidia Jetson TK1 Development board (ARM Cortex A15) which has a Keplar GPU that supports CUDA. I want to do same image processing on it with OpenCV 3.0 using CUDA. Reading through the ...
0
votes
0answers
86 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
37 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 ...
1
vote
0answers
332 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
49 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
29 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
51 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
88 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
2k 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: libssl....
1
vote
1answer
67 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
94 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
40 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
2answers
1k 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
132 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
33 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
22 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
82 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
165 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
280 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
152 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
59 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
150 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
49 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
51 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
350 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-...