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

1
vote
0answers
47 views

What is the purpose of libimf.so?

I am running Ubuntu 14.04 and am having various issues with libimf.so (see my questions on Ask Ubuntu: 1, 2). While waiting to sort those issues out, I am trying to figure out what libimf.so is ...
2
votes
2answers
35 views

“make” doesn't find an installed library

I am attempting to use make to compile purple-facebook, a plugin for pidgin. It requires json-glib, which I have installed, but whenever I attempt to compile, it returns fatal error: json-glib/json-...
1
vote
0answers
14 views

How to compile efivar 0.24?

I am having trouble compiling efivar 0.24 and have already searched on StackExchange for an answer I found one close How to compile efivar? but it didn't exactly solve my problem. make V=1 -j1 I get ...
0
votes
0answers
18 views

how to access xls sheet through perl script [closed]

To access the excel sheet through perl how that can it be done? where to add that excel sheet so that it can be accessed.
0
votes
1answer
22 views

Deploy personal programs and scripts

I have a git project containing useful programs and scripts. Hierarchy looks like this: $ git clone https://github.com/myaccount/myutils.git $ tree myutils . ├── bash │ ├── do-this.sh │ ├── do-...
0
votes
0answers
12 views

Getting a “unexpected reloc type in static binarySegmentation fault” when running a program

Hello I was recently doing two programs and when I compile them with the -static parameter, one works well, but the other shows the above message when I try to run it. I searched the internet and the ...
1
vote
1answer
21 views

How to use local shared library while compiling the FOSS project?

I want to compile guile on shared hosting but when I run ./configure I've got error: configure: error: GNU MP 4.1 or greater not found, see README so I've downloaded GMP and tried to install it ...
0
votes
1answer
37 views

Can I edit library with text editor?

I want to edit python library in Visual Studio Code. I dont know how to do it and editing in another folder and then sudo cp edited_file library_path is annoying. I tried something like sudo ./Visual\...
3
votes
1answer
118 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
117 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
18 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
35 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
94 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
95 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
57 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
34 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
89 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
43 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
79 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
35 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
26 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
39 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
64 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
208 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
109 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
71 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
252 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
158 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
173 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
116 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
102 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
114 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
40 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
392 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
58 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
32 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
66 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
96 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 [...
1
vote
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
72 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
118 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
41 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
2k 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
137 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
36 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
83 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 ...