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

2
votes
2answers
181 views

What is the best tool for automating the building 32-64bit libraries for Unix & Windows building C++ software, replicable by users and machines?

Is there a system or product that can be used in automating the process of building 32bit and 64bit libraries for multiple platforms (Solaris (Sparc & x86), and windows) used in building C++ based ...
1
vote
1answer
5k views

how to specify the libstdc++.so.6 to use

I am trying to compile a program of mine, that needs C++11 features and a newer version of boost than is installed on the target machine. I therefore compiled and installed gcc 4.9 to some local ...
3
votes
1answer
616 views

How do I maintain a separate (newer) glibc / gcc / … stack as non-root on Linux

Our computation cluster runs a very old version of CentOS, with an old Kernel (2.6.18) and, of course, old libs and binaries. Because updating the whole thing requires a lot of work on all the nodes, ...
3
votes
1answer
7k views

libcrypto.so.10: cannot open shared object file: No such file or directory

I am trying to install ODBC driver for Debian according to those instructions: https://blog.afoolishmanifesto.com/posts/install-and-configure-the-ms-odbc-driver-on-debian/ However, when I type ...
0
votes
1answer
40 views

pkg-config --libs --cflags not return anything for libgoogle-perftools-dev

user2702245 said pkg-config --clibs --flags <package> is good enough to provide linker and include information. I tried to find out such information about libgoogle-perftools-dev I ...
2
votes
1answer
496 views

Finding dependencies for a compiled C++ program

I wrote and compiled a C++ program using Qt Creator in Ubuntu 13.10 (32 bit). I tried to run the compiled program in a newly installed Ubuntu 13.10 (64 bit). But it is not run. I think the problem is ...
1
vote
1answer
62 views

linux + get errors about libraries inspite lib rpm's already installed

I download the vpnc client from the following link https://www.unix-ag.uni-kl.de/~massar/vpnc/ Then I installed the vpnc on my Linux red-hat machine ( version 6.x ) as the following: tar zxf ...
3
votes
2answers
5k 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
0answers
336 views

has someone fixed libssl.so.1.0.0 undefined symbols'SSL_load_error_strings' issue or know how to fix

looks like there's a broken libssl build which is missing items python CGI needs to work. I'm getting this error ...symbol SSL_load_error_strings, version OPENSSL_1.0.0 not defined in file ...
4
votes
2answers
128 views

Identifying running programs that are using the old version of a library I just replaced

After installing updates to address CVE-2014-0160 (the OpenSSL Heartbleed bug), I had to take care to restart anything that might be using libssl -- many services, such as Apache and my VPN software, ...
1
vote
0answers
26 views

Finding information on obscure libraries [closed]

Is there a website that organizes and explains all the various libraries that are available to use when developing on Linux? I have, from time to time, come across some very interesting and extremely ...
2
votes
1answer
66 views

Are application layer protocols part of library routines?

Where do application layer protocols reside? Are they part of library routines of language e.g. C, C++, Java? As goldilocks says in his answer, this is about the implementation of application layer ...
1
vote
2answers
116 views

Accidentally deleting crucial libraries

If you accidentally delete a crucial library folder, such as /usr/lib, how can you recover from that?
1
vote
1answer
372 views

How to find out the dynamic libraries executables loads when run

I want to find out the list of dynamic libraries a binary loads when run (With their full paths). I am using CentOS 6.0. How to do this?
1
vote
1answer
530 views

Can not execute some shell command from php

I want to execute phpcs commands from phpcode using shell_exec function. During execution it gives error /usr/bin/php: relocation error: /usr/bin/php: symbol X509_free, version OPENSSL_1.0.0 not ...
1
vote
1answer
3k views

Mint: correct way to install /lib/i386-linux-gnu/libgmp.so.3

I have a 32-bit binary that needs libgmp.so.3 on an x86_64 installation. The cheating way would be copying libgmp.so.3 from an i386 installation and placing it in /lib/i386-linux-gnu/. But what is ...
0
votes
1answer
344 views

Always getting “not a symbolic link” message, while installing any package

When I am installing any package in my centos 6.0 system, by yum or rpm, I always getting /sbin/ldconfig: /usr/lib64/libreadXMLnew.so.1 is not a symbolic link message. There is never a problem in ...
0
votes
1answer
87 views

GNUBG configure: error: You need to have glib2 to compile GNU backgammon

I do have it my system says Package glib2-2.26.1-3.el6.i686 already installed and latest version I'm just trying to get an open source backgammon or chess game working on centos 6.5 32 bit system ...
1
vote
1answer
76 views

Should I install ibus-1.0 to build Webdriver?

In the process of building one library (Webdriver) I got the following error: Package ibus-1.0 was not found in the pkg-config search path. Perhaps you should add the directory containing ...
0
votes
1answer
280 views

Broken libglib on debian 6

So, some time ago I wanted to update mpd from 1.5 to 1.6 which required a newer version of libglib( >= 2.31.8) on amd64, so I compiled them from source as I was on debian oldstable and couldn't find ...
0
votes
1answer
289 views

Unable to extend desktop with USB display adapter and libdlo

Anyone familiar with using libdlo for DisplayLink's USB display adapters? I've followed the instruction steps from README file of libdlo Install a compatible libusb version (0.13) $ ./configure ...
14
votes
1answer
2k views

Loading of shared libraries and RAM usage

I'm wondering about the way Linux manages shared libraries. (actually I'm talking about Maemo Fremantle, a Debian-based distro released in 2009 running on 256MB RAM). Let's assume we have two ...
1
vote
3answers
3k views

Failed dependencies: libcurl.so.4(CURL_OPENSSL_3)(64bit)

I'm trying to install Synergy in my CentOS 6.5, here's what happens: # rpm -ivh ./synergy-1.4.16-r1969-Linux-x86_64.rpm error: Failed dependencies: libcurl.so.4(CURL_OPENSSL_3)(64bit) is needed ...
2
votes
2answers
173 views

How to use libraries installed with a package manager in GNU/Linux

I hope this is not a very stupid question as I am very new to development in GNU/Linux. I installed a library(for example lzma-dev) using a package manager(for example apt-get for Debian or Ubuntu). ...
0
votes
1answer
3k views

Linking failure [ld cannot find library]

I am trying to configure Linux kernel [Angstrom distribution] via make menuconfig, but I get these errors. make: Warning: File `/usr/src/linux-2.6.32.61/arch/arm/Makefile' has modification time 11511 ...
2
votes
1answer
1k views

Why I got error: `error while loading shared libraries: libmpich.so.3`?

I installed mpich-3.0.4 not in a default location. I installed it based on the mpich installer's guidance. However when I try to run: mpiexec -n 4 -f machinefile ./mpich-3.0.4/examples/cpi It ...
4
votes
2answers
2k views

How can I find which version of libmysqlclient is installed in Centos?

I have a custom exe provided to me but to install it I need an older version of libmysqlclient. How can I check which version is installed?
1
vote
2answers
88 views

RPM specfile for C/C++ project: how do I know how to fill in Requires and BuildRequires fields?

I have several C/C++ projects with sources and makefiles and I'm trying to pack them into rpms. Defining the dependencies for the created packages has become a problem for me. Concretely I need to ...
2
votes
3answers
118 views

None of the linux programs work except 'cd'

Before stating the question, here's what I did and observed before the problem started: On a fedora 18 Xfce, I tried compiling 3.6.10 kernel with a cdv driver, After many attempts, it finally ...
3
votes
2answers
302 views

Libraries crash after installing experimental version of libc6

My Debian system is not booting anymore after installing the experimental version of libc6. I've got this message on boot: /sbin/init: error while loading shared libraries: libsepol.so.1: ...
0
votes
1answer
854 views

Which library files are needed to run a binary with an alternate libc version?

I built Firefox 26 on Mint 16 because the Ubuntu 10.04 build utilities are too old to build it. It does need to run on 10.04, however, since that's the target OS I'm building for. It built and runs ...
0
votes
0answers
35 views

How can the output of ldd be checked to see of they exist on a different system or not? [duplicate]

Running ldd on an executable gives the output displayed below. How can the output be parsed for the library names in the first column and their existence tested on another computer, giving output ...
1
vote
2answers
309 views

ldd: cannot find library for xl c compiled binary but could for gcc compiled binary on AIX

I have compile on AIX two version of proftpd one with gcc and one with the xl c compiler from IBM. The command line to compile both version are almost the excat same, but when I do a ldd on the gcc ...
0
votes
1answer
330 views

How to make a library linkable with g++ -l argument

How can I make a shared library which is in /usr/lib/some-path linkable with the g++ -l argument when compiling? As far as I know, to do what I want, I need to chmod 0755 the library .so file, create ...
1
vote
1answer
403 views

Finding function parameters for functions in shared object libraries

I am currently fiddling around with some c libraries without documentation. I am wondering if it is at all possible to retrieve more metadata, such as parameters and return values, outside of what is ...
2
votes
1answer
2k views

How to compile with third party libs properly?

This is a follow up question to Confusion about linking boost library while compilation: What is to do, when I generate a Makefile by qmake and I have only a third party boost lib installed (I ...
3
votes
2answers
1k views

Confusion about linking boost library while compilation

For a client I needed to add boost 1.54 to the system. So I downloaded the latest version (1.55) and built it within a special directory: /usr/local/lib/boost1.55/. This works. Then I had to adapt the ...
1
vote
0answers
1k views

Installed library packages cannot be found on OpenWRT

I have been compiling / installing custom packages for OpenWRT. I kept running into problems when I was compiling getting errors like: Package x is missing dependencies for the following libraries: ...
1
vote
1answer
213 views

Cannot locate libncurses.so location when running a file

I'm trying to run a file name remote build which is to build a package on a target server. My target server is HP-UX-itanium 64 bit. When I run the remote build, somehow it cannot find libncurses.so ...
4
votes
1answer
83 views

How does multilib work?

In older distributions there was the ia32-libs meta package, now both Debian and Ubuntu switched to multilib. I wonder what the differences are and what I'm supposed to do to re-create a 32 bit ...
1
vote
0answers
69 views

What are the generic-pae directories in /lib/modules?

When listing the content of the dirctory /lib/modules I see a list of generic-pae directories (Ubuntu 12.04): drwxr-xr-x 4 root root 4096 Apr 23 2012 3.2.0-23-generic-pae drwxr-xr-x 5 root root ...
4
votes
2answers
359 views

Is there a way to determine what packages or libraries should be loaded to support an executable?

There is an executable I want to install on a computer that I can't recompile that wasn't built as a package, and I want to download the libraries it requires to run them. Below is part of the output ...
11
votes
1answer
594 views

Is there an easy method for installing binary builds of glibc?

Time and time again I see questions such as these: GLIBCXX 3.4.15 on Centos 6 CentOS 4.8 and glibc 2.5 And these are the types of solutions we're typically pushing: how to run new software ...
1
vote
2answers
378 views

How to view source of “string.h” and other library function source code in gedit of Ubuntu?

I remember viewing source code of library function but now I don't know how to view it. Can someone help me viewing source code of library function?
2
votes
2answers
4k views

How to install a custom boost version in CentOS?

I'm trying to compile and install boost 1.54 from source in CentOS. The documentation is pretty straight forward and there are plenty of tutorials in the internet available (1) (2) (3). This is what ...
2
votes
2answers
265 views

Where are my ALSA, pulseaudio lib

I tried to install darkice with lame. To compile it, I need ALSA and Pulsaudio: checking for lame library at /usr ... found at /usr checking for vorbis libraries at /usr ... configure: WARNING: not ...
1
vote
1answer
285 views

How can i fix the following gmp library dependency error while trying to install Charm?

I am trying to install Charm crypto python framework in ubuntu 11.04 with python 2.7. Requirements say that i should have gmp installed 5.*. I have successfully installed gmp lib and i have run all ...
1
vote
0answers
34 views

Lintian reports non-dev-pkg-with-shlib-symlink while dh_auto_install makes this link

So, I am trying to build the main package of a library (which means, without the development header file). When I run debuild lintian complains that: W: libwebsitesnapshot1: ...
1
vote
1answer
240 views

Different version of Python cannot find modules

In my Suse system I have these 2 versions of Python: # which python2.6 # /usr/bin/python2.6 # which python2.4 # /usr/local/bin/python2.4 2.6 is the system one, and 2.4 was compiled by me. If I ...
0
votes
1answer
138 views

linux + cant run dialog utility + got errors

Problem is as follows: Linux kernel: 3.0.13-0.27-default #1 SMP I’ve installed “dialog” utility ( /usr/bin/dialog ) just copied bin file to /usr/bin When I have tried to run it, error message ...