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
16 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
34 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
1answer
256 views

OfflineIMAP tells me SQLite isn't installed, even though it is

Whenever I run OfflineIMAP v6.5.3.1 I get an error for every folder (i.e. tag and folder in Gmail) which tells me there was a problem and then right after it tells me: SQLite backend chosen, but no ...
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 [on hold]

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 ...
6
votes
4answers
30k 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 /...
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/...
0
votes
0answers
105 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
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
114 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 ...
1
vote
2answers
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 pg_config.....
5
votes
2answers
42k views

Error Loading Shared Libraries when Installing Redhat Directory Server

While Installing the Red Hat Directory Server on the Red Hat Linux Server 5 (x86_64)i am getting the following error bin/slapd/server/dsktune: error while loading shared libraries: libstdc++.so.5: ...
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 ...
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
68 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 ...
2
votes
4answers
53 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
87 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 ...
1
vote
2answers
2k views

Adding ALSA module in Python in Linux

I have recently started working in linux, I wanted to to add ALSA module in my Python. I have used this, sudo apt-get install libasound2-dev After that I've installed pyalsa package, pyalsa ...
2
votes
2answers
5k views

libX11.so.6 Not found

I tried to make && make install package, but I get an error: libX11.so.6 not found Where can I get this library?
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 ...
7
votes
2answers
19k views

How to export LD_LIBRARY_PATH to all users and system services

I want to export LD_LIBRARY_PATH to system services and all users. System services are run before login, so .bashrc is not applicable. How to achieve this?
3
votes
1answer
1k views

Proper management of ld.so.conf and shared libraries

I'm curious as to how other Linux admins manage /etc/ld.so.conf and in general, shared libraries across multiple Linux servers. We have about 30-40 Linux servers running SLES 11. Since they are ...
0
votes
1answer
87 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
78 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
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.*"...
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 ...
0
votes
0answers
34 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' ...
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
56 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....
9
votes
2answers
493 views

ELF shared libraries - motivation for the PLT

Could self-modifying code be used to speed up function calling in dynamically linked libraries? As far as I understand it, ELF shared libraries use a kind of indirect jump table (the procedure ...
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
198 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" ...
5
votes
2answers
2k 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 ...
3
votes
2answers
8k views

How does rpm resolve library dependencies?

I try to make a package of a program which is linked to such library (output from ldd): libwx_baseu-2.8.so.0 => /usr/lib64/wx-2.8-wxcontainer/libwx_baseu-2.8.so.0 Pretty straightforward, right?...
0
votes
1answer
108 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
68 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
243 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 ...
0
votes
1answer
155 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
169 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
114 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 (...
3
votes
1answer
2k views

Installing flash player for Firefox

I would like to install Flash player for Firefox on Linux. I downloaded the .tar.gz, and there are some compiled shared libraries. I am not sure how to make them work, and I am looking for a hint. ...
5
votes
3answers
13k views

/usr/bin/ld: cannot find -lcrypt (rhel 6 )

System info [root@xilinx busybox-1.22.1]# uname -r 2.6.32-71.el6.x86_64 Following errors come when I make busybox on rhel 6: /usr/bin/ld: cannot find -lcrypt collect2: ld returned 1 exit status ...
0
votes
1answer
100 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
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
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. ...