Questions tagged [libraries]

85 questions
232
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.
hasen
  • 2,604
14
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) …
mahmood
  • 1,132
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…
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…
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…
Weiwei
  • 377
5
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?
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…
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…
Lobuno
  • 143
  • 3
3
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…
pilcrow
  • 469
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…
Chloe
  • 1,184
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…
Zac B
  • 861
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…
Erms
  • 123
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,…
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…
fvm
  • 23
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…
Nick
  • 902
1
2 3 4 5 6