Questions tagged [libraries]
82 questions
214
votes
10 answers
How to check if a library is installed?
In Linux, how do I check if a library is installed or not? (from the command line of course).
In my specific case now, I want to check whether libjpeg is installed.
![](../../users/profiles/1618.webp)
hasen
- 2,424
- 2
- 18
- 12
12
votes
2 answers
finding ldd search path
How can I find the search path of ldd? Assume ldd returns
[mahmood@dhcppc2 bin]$ ldd /home/mahmood/amd64-linux/lib/scsi-bus.so
linux-vdso.so.1 => (0x00007fffc27c7000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007ffb13a25000)
…
![](../../users/profiles/158757.webp)
mahmood
- 962
- 7
- 18
- 31
7
votes
2 answers
Puppet Packages, Puppet Forge, and good Puppet code?
Does anyone have a ranking system for the packages available from the Forge at PuppetLabs?
For example, there a half dozen Apache packages. Given normal distribution, one will probably work, one will work a bit with different features, and the rest…
![](../../users/profiles/48631.webp)
Charles Merriam
- 170
- 5
6
votes
3 answers
Fixing Shared PCRE Library on CentOS
This is less a question about PCRE, and more a question about updating shared libraries. The distribution of CentOS I'm running only allows for yum upgrades to version 6.6, or somewhere similar.
I'm installing an issue tracker that requires PCRE…
![](../../users/profiles/87662.webp)
Craig Otis
- 287
- 1
- 3
- 11
5
votes
2 answers
fedora /usr/lib vs /usr/lib64
It seems i have two python2.6 folders located in /usr/lib vs
/usr/lib64 respectively. Most python stuff (source) is in
/usr/lib64/python2.6 but when in installed packages they have been put
into /usr/lib/python2.6
How the system decides which…
![](../../users/profiles/18478.webp)
Weiwei
- 367
- 1
- 5
- 10
4
votes
2 answers
PSQL 64bit driver error
I have an Ubuntu 12.04 64bit server setup under Hyper-V. I have installed Pervasive 64bit SQL drivers so that a stock-updater script can run daily (Updates external MySQL database from another local server running Exchequer software / PSQL…
![](../../users/profiles/132885.webp)
Alexander Holsgrove
- 237
- 1
- 3
- 15
4
votes
1 answer
What's the best way to check the version of a library on Ubuntu
I am sure there are several ways to do this, but is there a tool built into Ubuntu or a recommended way to check the version of any given library you have installed on an ubuntu server?
![](../../users/profiles/87213.webp)
wjimenez5271
- 709
- 2
- 6
- 16
4
votes
1 answer
Windows 7 library nightmare
In our Active Directory we deploy a policy to our clients where the personal directory (My documents) is redirected to a file server of ours
\\server\share\username\Documents
In older systems everything worked fine. In Windows 7 some users are…
![](../../users/profiles/40646.webp)
Lobuno
- 143
- 3
3
votes
2 answers
Install xmlsec on CentOS
I installed xmlsec and it keeps giving me an error when I try to verify an XML document.
yum install xmlsec1
yum install xmlsec1-openssl
[vagrant@localhost SSO-ROR-development]$ xmlsec1 --verify…
![](../../users/profiles/123651.webp)
Chloe
- 1,094
- 4
- 16
- 34
3
votes
2 answers
Per-application library paths on CentOS
Context:
After a recent version upgrade of a bunch of our server software, I've found myself in a dilemma:
I have two sets of applications (Zend server and assorted utils, and a bunch of PostgreSQL management utilities) that both heavily use a…
![](../../users/profiles/104754.webp)
Zac B
- 841
- 1
- 15
- 27
2
votes
2 answers
Why the program lsusb don't find the shared library libusb-1.0.so.0?
Linux distribution : CentOS Linux release 7.4.1708 (Core)
Kernel : 3.10.0-693.2.2.el7.x86_64
The problem :
# lsusb
lsusb: error while loading shared libraries: libusb-1.0.so.0: cannot open shared object file: No such file or directory
# ldd…
![](../../users/profiles/181808.webp)
Erms
- 123
- 1
- 3
2
votes
1 answer
Does a 32-bit Linux program's entire runtime lib tree need to be 32-bit?
On my 64-bit RHEL machine, I'm compiling and running a C & Fortran program that is 32-bit only. It invokes the non-static version of a lot of standard Linux libs (X11, OpenGL/Mesa, Motif, etc...), which of course invoke other libs (libjpeg, libc,…
![](../../users/profiles/416049.webp)
Keith Russell
- 151
- 3
2
votes
1 answer
Using mozjpeg in place of jpeg-turbo including satisfying dependencies
I'm trying to use mozjpeg as a drop-in replacement library for jpeg-turbo. I'm perfectly able to fetch the sources and compile them as needed and even create a deb-file from it which I can use to install the package (e.g. apt-get install…
![](../../users/profiles/167584.webp)
fvm
- 23
- 4
2
votes
1 answer
missing shared library in ldd
I compiled Apache httpd on CentOS 6.x. Works fine there.
Then I moved the binary files to CentOS 7. I needed to install some missing libraries and now works fine there.
Then I moved the binary files to Archlinux. As I expected it did not started…
![](../../users/profiles/91085.webp)
Nick
- 786
- 2
- 12
- 37
2
votes
1 answer
RPM packaging conflicting libraries
What is best practice for RPM packaging something that provides a library which in name shadows a system library?
Background:
For an RPM-backed Linux system, I am packaging a "self-contained" app foo that wants to live under /opt and supply as many…
![](../../users/profiles/17985.webp)
pilcrow
- 449
- 5
- 19