Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [libraries]

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.

1
vote
0answers
92 views

libperl.so error when starting nginx on pclinuxos

I have just installed pclinuxos on an old laptop and needed a webserver for a test environment. Decided to learn a new webserver so I have more options than just using Apache all the time and so went ...
0
votes
0answers
104 views

libQt5WebEngine.so.5 on ElementaryOS

I am trying to run Albion Online on elementaryOS, but I am seeing an error saying libQt5WebEngine.so.5 was not found. So, I tried installing the following packages that I could see in a pure Ubuntu ...
0
votes
1answer
567 views

Don't have directory '/usr/lib/x86_64-linux-gnu'. But instructions to install a software says './configure --with-ssl-lib=/usr/lib/x86_64-linux-gnu'

I am trying to install NRPE (nagios remote plugin executor) in a CentOS system. In the configuration step, the document I have been given to refer to says, ./configure --enable-command-args --with-...
2
votes
1answer
1k views

Fedora 27 /usr/bin/ld: cannot find -lstdc++

I have Fedora 27. I am building something from source. (It is https://github.com/xmrig/xmrig-nvidia if that matters). Make gets to linking and then fails with this message: /usr/bin/ld: cannot find -...
0
votes
2answers
40 views

How do I delete all non-link files from a folder in Linux?

I accidentally copied a bunch of junk into /usr/lib . How do I rm everything in there except folders and link files?
0
votes
1answer
29 views

Is perl-Net-IP package same as Net-IP package?

I am trying to port a software on aarch64 Linux. One of the requirements of the software is perl-Net-IP library package. When I try to search for the source code of perl-Net-IP package, I get Net-IP ...
1
vote
1answer
55 views

Installing compiled program previously installed in other folder

I compiled gcc and dependencies (gmp, mpfr, mpc) in specific folder to get backup of these folders in other not repeat the compile process, and pass to another machines. MAKE Only for update $ tar ...
2
votes
1answer
5k views

define include directory path (for *.h) CentOS

I was reading these questions https://stackoverflow.com/questions/13428910/how-to-set-the-environmental-variable-ld-library-path-in-linux https://unix.stackexchange.com/a/45106/235247 I'm compiling ...
1
vote
2answers
294 views

Parabola (Arch-like) - ICU Update Caused Some Programs Require Two Different Versions of the ICU Library. Both Fail To Start. Cannot Reproduce

I run Parabola (a derivative of Arch Linux that blacklists non-free software and adds a lot of other software). Recently the ICU package updated from v.59 to v.60 (the ICU package comes directly from ...
0
votes
2answers
736 views

What is the efficient way to solve “no version information available” when an old shared object (so) is linked to a newer shared object (so)?

Context: Arch Linux Package Manager: pacman Running nearly any pacman command yields a warning: pacman: /opt/plexmediaserver/libcurl.so.4: no version information available (required by /usr/lib/...
1
vote
1answer
470 views

How to force executable to link dynamic library

I have this compiled executable: ./run.x I have moved it to other computer, but there the dynamic dependencies are not satisfied: ldd ./run.x libx.1.so => not found However on the ...
0
votes
0answers
81 views

Local machine libraries when cross compiling

I am cross-compiling a library to an ARM arch. So as an example, in Ubuntu 16, the error message in config.log after running configure was: cc1 libstdc++.so.6: cannot open shared object file file ...
2
votes
1answer
877 views

need to have libcrypto++.so.6 on my jessie

I need libcrypto++.so.6 on my jessie for some application to be ran. This is what I have in /usr/lib/: root@lab-185:~# ls /usr/lib/ | grep libcrypto libcrypto++.a libcryptopp.a libcryptopp.so ...
0
votes
1answer
236 views

Do we need c libraries when running a program?

The executable file should be in machine code. So, will make system calls without a need for c libraries. But, I can not figure out what this image means? Is it just an abstraction method?
1
vote
1answer
513 views

How to install libzip 1.2 on Debian as well as OSx via homebrew?

I want to use http://php.net/manual/en/ziparchive.setencryptionname.php but this relies on libzip version 1.2 being available. On Debian, a $ dpkg -s libzip-dev prints Package: libzip-dev Status: ...
6
votes
1answer
13k views

What is /lib64/ld-linux-x86-64.so.2 and why can it be used to execute file?

Recently, I have learned a trick that if a file lacks executable permissions, we can run that file by using /lib64/ld-linux-x86-64.so.2. For example, to restore x permission for -rw-r--r-- 1 root ...
6
votes
1answer
360 views

Why should or should not shared libraries be executable (e.g. Red Hat vs Debian)?

This is almost but not quite a duplicate of "Why are .so files executable?". I note that on Red Hat based systems shared libraries have execute permission but on Debian they do not. Logically shard ...
0
votes
1answer
149 views

How to link libraries without root permissions

I am trying to compile OpenMPI without root permissions on my local account in a cluster, but I have the following error. /usr/bin/ld: cannot find -libcm /usr/bin/ld: cannot find -lnuma /usr/bin/ld: ...
1
vote
0answers
57 views

Unable to run clisp on Solaris 10 with opencsw Solaris Package

I have tried to run the Clisp which is already available in opt/csw/bin path I didn't manage to get it working. Expected result: To see a prompt. Actual results (terminal output): when I tried to ...
1
vote
1answer
180 views

In what library on Linux are the system calls and how is this library linked to the executable object file that contains the system calls?

I know that the system calls are not in the C standard Library. Is there any library (some sort of a system library) where the system calls are? If there is such a library how is this library linked ...
1
vote
1answer
4k views

Is the vdso shared library (linux-vdso.so) the library that contains the kernel object code (system calls)?

I noticed that all my programs compiled to gcc are linked to vdso library. Is this the library that contain the system calls to the kernel, like mmap() and fork() and other system calls? I know that ...
0
votes
1answer
81 views

'lib' issue with running a game outside of Steam client

I am running Mint 18.2 Sonya and using the nvidia-375 drivers. The game in question is Crusader Kings II. From within the steam client it launches fine. However, I would prefer not to use the ...
10
votes
1answer
10k views

How to convince dpkg that libssl1.0.2 is >= libssl1.0.0?

I am trying to install a 3rd party .deb package that I have installed before on Debian 8. But I cannot install on a fresh Debian 9 setup because I get the following error: dpkg: dependency problems ...
1
vote
0answers
826 views

Downgrade libstdc++.so.6 to version `GLIBCXX_3.4.20'

I am trying to cross-compile dlib using Raspberry Pi's toolchain, with the SD card mounted to my linux Host. After successful build and install, I start my Pi, and run python -c 'import dlib' This ...
4
votes
1answer
6k views

What's the difference between a binary file and a library?

I'm trying to understand the Filesystem Hierarchy Standard. I have looked up both binaries and libraries, and as I currently understand it: binaries are files of computer-readable code in binary ...
0
votes
1answer
2k views

Installing software on RedHat with libstdc++ dependency errors

I realize this has been asked multiple times, but after reading through the responses, I still cannot get it. I'm trying to install software called Ovito on RedHat Enterprise 7 and am getting the ...
1
vote
1answer
942 views

XCOM2 on Fedora: Can't find libcrypto.so.1.0.0

I've installed XCOM2 via Steam on Fedora 26, but it didn't work. I manually executed the installed binary and got the error: ./XCOM2: error while loading shared libraries: libcrypto.so.1.0.0: cannot ...
1
vote
1answer
355 views

Trying to install apache guacamole on ubuntu

I'm trying to install apache guacamole (v0.9.13) on ubuntu server 14.04 (trusty) but I'm having trouble building the server part. when I try to run make I get: make[2]: Entering directory `/home/...
2
votes
1answer
63 views

How to run an application compiled in a newer version of Ubuntu in an old one?

I have an application compiled in Ubuntu 16.04 that depends on many libraries, like Qt, boost and many others with the version that comes with that version. However, I need to run this application in ...
1
vote
3answers
201 views

Installed 2 libraries side to side and need both. What solution to avoid linking problems?

I installed two versions of openCV one is openCV3 and another one openCV2.4 on my ubuntu 16.04 machine and need both. However I am now unable to compile C++ code which is intended for openCV3. I get ...
0
votes
0answers
652 views

“Error while loading shared libraries” even though the library in question is present in /usr/lib

I am trying to run Scala on my Linux Manjaro laptop, but whenever I try to run the program, it displays the following error: ./scala: error while loading shared libraries: libgtkada.so.2.24.4: cannot ...
0
votes
2answers
2k views

Library Files Not Found, even though they are listed in ldconfig

This is a head scratcher. Below is the output of ldconfig -p | grep libncur* : libncursesw.so.5 (libc6,x86-64) => /usr/lib64/libncursesw.so.5 libncursesw.so (libc6,x86-64) => /usr/lib64/...
0
votes
2answers
248 views

Uninstall library installed via make install

I installed a library, compiled from source, via make install into /usr/local/ Now I found out that that was a bad idea (conflicting files etc.) and would like to reverse that action. The package does ...
0
votes
1answer
65 views

Issues with installing a library

So I'm trying to download vips, and unpacked the tar.gz. I then did ./configure and make && sudo make install, and it ended with this output: libtool: link: gcc -std=gnu99 -g -O2 -o .libs/...
0
votes
1answer
1k views

Can't install libpng because it conflicts with earlier version

I'm trying to install SDL2_image-2.0.1-5, which seems to be the latest version of SDL2_image, based on rpmfind.net. (The machine is CentOS, latest version, running on VMware on a 64-bit Windows box, ...
2
votes
1answer
522 views

What is the correct arrangement of symlinks to allow both openssl 1.1.0 and 1.0.2 shared libraries to co-exist?

I want to have openssl-1.0.2 and openssl-1.1.0 both available for dynamic linking to different applications. I'm slightly unsure about this, because I would expect 1.0.2 to be installed in a file ...
0
votes
1answer
430 views

Using shared libraries to run bitcoin-qt / litecoin-qt [closed]

I am receiving the following error when I'm trying to run the compiled litecoin-qt, Error while loading shared libraries: libdb_cxx-4.8.so: cannot open shared object file How do I make a new path ...
0
votes
0answers
385 views

sqlite3-dev - can conda (of Anaconda) install it instead of apt-get?

Since I installed Anaconda, and use sqlite3 within it, I've been trying to write some C++/sqlite3 codes. However, I would like to also utilize the dev files for sqlite3 but would rather not install ...
1
vote
0answers
481 views

libssl error after upgrading Mongo

I upgraded to Mongo 3.4.4 by first downliading the tgz file and copying all the contents of its bin/ folder to /user/bin/. I then ran mongo and got: mongo: error while loading shared libraries: ...
4
votes
2answers
6k views

Almost no commands working - relocation error: symbol __getrlimit, version GLIBC_PRIVATE not defined in libc.so.6

I am connected with SSH to a machine on which I don't have root access. To install something I uploaded libraries from my machine and put them in the ~/lib directory of the remote host. Now, for ...
0
votes
0answers
175 views

I overwrote all libraries in /lib64 by accident, how to fix?

I accidentally used windows copy syntax when copying libraries from one folder to another: mv /usr/local/lib/libboost** /lib64/* This overwrote all libraries needed to run the system. The only ...
0
votes
0answers
122 views

Standalone libC alternatives for kernels on x86?

There are a great number of {tiny|micro|little}libc implementations on the web. Most of these are targeted at embedded systems with limited resources. I am working on developing a simple bootable ...
0
votes
0answers
572 views

How to set Java version to all users

I set the JAVA_HOME parameters in the etc/environment/ and when I do echo $JAVA_HOME, I can see the latest version which I have set. But when I do java -version it shows a different version, which is ...
1
vote
2answers
4k views

How to install libprotobuf?

By mistake i have deleted these libraries. I couldn't find a right way to reinstall it. /usr/lib/x86_64-linux-gnu/libprotobuf.so.8 /usr/lib/x86_64-linux-gnu/libprotobuf-c.so.0 To fix it, i tried to ...
0
votes
1answer
579 views

How to see constant values in .a lib files?

I declared a constant using define statement in my C file. #define COMPRESSION_VERSION 1.0.0 Now I have created libcompression.a library which includes the above C file. Now I need to check my ...
1
vote
1answer
1k views

How to deploy a Java application

I made java application that's supposed to be executed as daemon. I am using an Amazon Linux AMI, which uses SysVinit and I already have an init script for my daemon, I am just a bit confused on where ...
5
votes
2answers
12k views

How to install libtoolize

I'm trying to install software and the autoreconf fails because libtoolize is not installed on my system. I don't have root access on this system, but I need to install libtoolize. How can I install ...
1
vote
2answers
202 views

libsoup-2.4 is being craved

I tried to install a program from source on my Debian-based machine so I ran ./waf configure and this was my output: Checking for 'gcc' (C compiler) : /usr/bin/gcc Checking for program 'pkg-...
1
vote
2answers
725 views

Install libconfig without being root

I need to install libconfig but I do not have access to root to be able to do apt-get install, how could I install it? PD: github.com/hyperrealm/libconfig
2
votes
1answer
111 views

how to manage multiple libraries on the same linux system? [closed]

I have only one PC with Linux installed. However, I have multiple versions of the same lib. Because different software may depend on different versions of the same lib, I have to keep all of them on ...