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.
498
questions
0
votes
1answer
15 views
Why do I need to run ldconfig everytime I put .so library into directories like /usr/local/lib if set by config files in /etc/ld.so.conf.d/?
I am running centos 6.10 in docker. As is described in the title, I set /usr/local/lib and /usr/local/lib64 in a conf file in /etc/ld.so.conf.d/. I need to run ldconfig everytime when I put .so ...
0
votes
0answers
13 views
Java NativeLibrary: Interface of library does not extend Library
What I'm trying:
To load libvlc to interact with it via the vlcj bindings and I'm on Debian and using Intellij.
I installed VLCJ via the 'install from Maven' feature of Intellij but I am not using ...
0
votes
0answers
7 views
Wine: Installing Libraries, Error Message Mismatch / missing library
my wish is to install a Windows-only software using wine. Have only tried installing a PDF-reader before. That one was easy and pre-configured though :)
A little background re. my failed "I can ...
0
votes
0answers
29 views
IDL libGL error: No matching fbConfigs or visuals found
I am trying to run IDL from remote in terminal window. I would like to produce an image in a png file from remote without the pop-up window in my terminal. I have been using both ssh -X and ssh -Y and ...
0
votes
1answer
32 views
libpng12-0 not installing
TL;DR - my system doesn't want to install libpng12, but many applications depend on that lib. OS - Kali rolling
Hey guys. For the last few days I was trying to troubleshoot this problem I got, when ...
2
votes
1answer
14 views
How to install libtcod on Arch Linux distro?
I can't find any documentation on this, other than using apk-get. Is there any way to download this library through pacman? I've only been using the linux terminal for maybe a month, so there might be ...
0
votes
0answers
26 views
Rhythmbox multiple libraries
Rhythmbox has a command line parameter (−−rhythmdb-file=file) which should allow to handle many libraries. Unfortunately, I can't get it to work, it seems to be doing nothing at all, no matter which ...
1
vote
0answers
22 views
Which library is producing this error: undefined reference to `TIFFTileRowSize@LIBTIFF_4.0'?
I'm building Ignition (https://ignitionrobotics.org/home) from source on Ubuntu 18.04.5 with gcc-10.1.0, and it seems that some dependencies are missing or have wrong versions. Here are linker errors ...
0
votes
0answers
25 views
What libs does gThumb need to play audio and video files?
I've installed APT version of gThumb and have found out that it fails to play audio and video files (with the Audio/Video support extension enabled). Several days ago, when I had a lot of apps ...
0
votes
1answer
226 views
CentOS 8 - /usr/bin/ld: cannot find -lnsl
I am working on a new CentOS 8 server to replace an aging CentOS 6 server. Most everything is working and I am having the primary users test out everything they use the server for. Many errors have ...
0
votes
2answers
12 views
Static Libraries: Recompilation and sharing of the source code
I am trying to understand creation and use of static libraries and shared libraries in Linux using Program Library HOWTO. There are two statements in the link that I am confused about:
Static ...
0
votes
1answer
33 views
What is convention on where to install cross-platform libraries?
What is the prevailing (or correct) convention on where to install cross-platform libraries?
E.g. libfoo.so.1.0.0 compiled for the host might typically be located at /usr/local/lib/. If I also had to ...
0
votes
1answer
51 views
Can't install deluge on Debian sid
Everytime I try to install Deluge on my system it throws this error
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed....
0
votes
0answers
28 views
how to install cs50 library on linux-mint
I'm trying to setup my own linux environment and would like to install the cs50 library. When I run:
curl -s https://packagecloud.io/install/repositories/cs50/repo/script.deb.sh | sudo bash
I get the ...
1
vote
0answers
221 views
Error while loading shared libraries: libreadline.so.7
I am trying to install the Agena programming language for a school project on Arch Linux. There is no package in the AUR, so I am trying to make my own PKGBUILD file. I think I have managed to install ...
0
votes
0answers
15 views
unable to run clownfish for skype
i installed clownfish from https://clownfish-translator.com/linux.html and i tried to install all libraries and after installation the application shows in menu but it's not working and after that i ...
0
votes
1answer
30 views
Mac OS 10.12 - Accidentally Unlinked libz.1.dylib
Ran:
unlink /usr/lib/libz.1.dylib
Now I can't launch from my user profile.
I have been able to run in recovery mode, where I can see the .dylib in question is there, but running in single-user mode I ...
-2
votes
1answer
76 views
Does the ABI of a compiled library depend on the operating system?
I just read an example of ABI. Is it correct that
an ABI is similar to API, except that ABI is in machine language and API is in a high level programming language
an ABI is the interface provided by ...
0
votes
0answers
28 views
How can I know which of my compilers calls which version of a specific library?
I have a library abc installed in various places of my computer which versions may differ.
I also have different compilers comp1 and comp2.
By executing the two following commands, I end up with two ...
0
votes
0answers
44 views
Executable does not work if run outside its folder
I have an already structured SDK folder where I have my project. Program works as expected if I do:
cd /home/user/Documents/Camera/ProjectCamera/linux64/proj
make
cd /home/user/Documents/Camera/...
0
votes
1answer
2k views
Errors were encountered while processing libc6:amd64
I installed WSL Kali Linux, then I typed apt-get update so when I type apt-get dist-upgrade for upgrade then I saw this
$ sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency ...
1
vote
0answers
60 views
heif-convert: symbol lookup error: undefined symbol: jpeg_write_icc_profile, version LIBJPEG_6.2
I have run heif-convert successfully not long ago but now I get this error:
>heif-convert bob.heic bob.jpeg
heif-convert: symbol lookup error: heif-convert: undefined symbol: jpeg_write_icc_profile,...
0
votes
1answer
74 views
Meaning of the extension .ucode of files in /lib/firmware
I was examining my firmwares and I found files of various extensions:
.ucode .bin .fw .brd .sbcf etc. I searched for .ucode bit got few results whcih talked about missing drivers etc, but did not tell ...
1
vote
0answers
187 views
Opening .dmp (Mini DuMP crash report) file
I downloaded a game. It has a issue of just not working every time I launch it I'm welcomed by a white screen.
Did some cli magic, found out that the game is missing few libraries, installed them. The ...
-1
votes
1answer
1k views
got “E: The repository 'http://deb.debian.org/debian bionic Release' does not have a Release file.” while installing nodejs on new kde neon
I run this commands
sudo apt-get install curl software-properties-common
curl -sL https://deb.nodesource.com/setup_14.x | sudo bash -
on kde neon, and errors
## Installing the NodeSource Node.js 14.x ...
1
vote
1answer
31 views
pyspotify compilation ld error
I'm trying to install mopidy-spotify on my freebox delta that allow me to install vm and is arm64 based
After many problems, i've manage to get most of the dependencies working and to get rid of most ...
1
vote
0answers
18 views
Program can't find lib declared on ld.so.conf.d
I'm migrating a company-made program, who depends on a couple of also company-made libs (among other libs, of course) to a new server. In the current (old) server (RHEL 5), the lib is in /usr/lib64, ...
0
votes
1answer
117 views
libKF5Parts SO Undefined Symbol Arch
When starting programs such as Okulus and Dolphin I get the following error:
symbol lookup error: /usr/lib/libKF5Parts.so.5: undefined symbol: ...
0
votes
2answers
5k views
Is it safe to delete these snaps? What are snaps? [closed]
UPDATE: No, it is not safe to delete these snaps. I deleted them and can no longer open three of my applications. Attempt at opening Visual Studio Code:
~$ code
internal error, please report: running ...
0
votes
1answer
80 views
rhel + /usr/lib64 + how to restore the folder
we move the folder by mistake as
mv /usr/lib64 /usr/lib64_bck
now we try to move back as
mv /usr/lib64_bck /usr/lib64
but we get
-bash: /usr/bin/mv: /lib64/ld-linux-x86-64.so.2: bad ELF ...
0
votes
1answer
895 views
32-bit libraries GCC for RHEL/CentOS 7
yum groupinstall "Compatibility Libraries"
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
There is no installed groups file.
Maybe run: yum groups mark convert (...
0
votes
0answers
43 views
How to edit default binaries executed by which
Our server is running on an old version of Debian 7.10 (Wheezy) and we need to renew SSL certificates for a specific domain.
Our version of OpenSSL is super old, but it's the last one for our version ...
0
votes
0answers
46 views
Install Qt WebEngine Widgets
I am running a Qt cmake project which gives me an error that:
Could not find a package configuration file provided by
"Qt5WebEngineWidgets" with any of the following names:
...
0
votes
1answer
134 views
How to set compiler specific standard headers #include paths?
What is a smart way to tell two compilers to look for their #include headers?
Running on a standard Linux 86x64 system, my standard compiler is gcc (currently v9.3).
Now I'd like to compile some ...
0
votes
1answer
53 views
env variable in /etc/ld.so.conf
I've created a test.conf file in /etc/ld.so.conf.d/ folder with written:
TEST_PATH=/path/To/My/Parent/Folder
In my /etc/ld.so.conf I've added instead:
$TEST_PATH/mylib1
$TEST_PATH/mylib2
$...
0
votes
1answer
44 views
How to prefer software installed in /usr/local
I have installed mesa using apt in my system. This mesa is installed in /usr/lib/arm-linux-gnueabihf directory. Now I compiled and installed the newest version of mesa manually from source, and it's ...
0
votes
0answers
86 views
Accidentally deleted openssl lib packages and can't get yum or wget to work again in redhat 6.10
I have accidentally deleted the openssl lib packages and can't get yum or wget to work again in RHEL 6.10.
I am missing:
libssl.so.10
libcrypto.so.10
0
votes
1answer
2k views
CentOS 8 cannot locate libnss3.so (64bit)
I cant find the libnss3.so file (64bit version) in CentOS 8 even after installing the associated package nss-3.44.0-4.el7.x86_64.rpm.
I can only find the 32 bit version in /usr/lib/ but no 64bit ...
1
vote
1answer
445 views
jitsi-videobridge.service: daemons using outdated libraries
Ever since the installation of the Jitsi video conference software, when executing needrestart, a utility that checks which daemons need to be restarted after library upgrades (or each time new ...
0
votes
0answers
15 views
Error in installation of mendeleev python library
While installing mendeleev python library with the command "pip install mendeleev" I am getting this error.
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-YVHGQs/...
0
votes
0answers
153 views
Is the purpose of symbolic links to shared libraries in /usr/lib64 to satisfy -l linker filename requirements?
My /usr/lib64 directory contains the following files (among others):
$ ll /usr/lib64/libboost_file*
/usr/lib64/libboost_filesystem.so.1.69.0
/usr/lib64/libboost_filesystem.so -> ...
0
votes
2answers
239 views
Is there an rpath for dynamic linked libraries?
So, the project I am working on uses a non-system directory to keep some DLLs that the code uses. I don't want to put them in system directories, so the executables have an rpath set to find the DLLs....
0
votes
1answer
286 views
In the LD flags of a makefile, is it better to give the dir with platform-specific libs priority over /usr/lib?
The makefile of my solution (for Raspbian Buster) contains an LDFLAGS definition like this:
LDFLAGS=-L/usr/lib -L/usr/lib/arm-linux-gnueabihf
…so that the standard libdir is given priority over the ...
1
vote
1answer
487 views
ld cannot find library right in front of it
I'm trying to build a rust program that involves diesel with postgresql on Fedora 31 and the build fails because the linker can't find libpq.
As it's reproducible with gcc, I'm using gcc to keep the ...
25
votes
2answers
5k views
Why doesn't the Linux kernel have optimized functions like glibc does (e.g., memchr, strchr)?
When I try to implement the C string library myself, I found that glibc and the Linux kernel have a different way to implement some functions. For instance, glibc memchr and glibc strchr use some ...
1
vote
2answers
2k views
Compiling GCC against a custom built GLIBC
I was trying to compile GCC 9.2 against a custom built GLIBC 2.30. I have installed GLIBC in a non-standard location. Then I have followed these steps to compile GCC:
sfinix@multivac:~$ GLIBCDIR=/...
1
vote
1answer
441 views
32-bit version of udev and usb library in ubuntu
I had a project which uses libudev and libusb libraries.
Operating System: Ubuntu 18.04 64-bit
Initially the application was 64-bit, so there was no issue.
Now, there is a new requirement of ...
1
vote
0answers
25 views
Are dependencies suffixed with -dev on linux only required during compilation, or are they required to run the program too?
One of the libraries that I am using to build a program on Linux (Ubuntu) says it requires the following dependencies to be installed:
libgl1-mesa-dev
libxi-dev
libxcursor-dev
libxrandr-dev
...
4
votes
1answer
3k views
What is libstdc++.so.6 and GLIBCXX_3.4.20?
I am looking for some simple answers in order to understand some of these concepts. I am trying to install a R library which is failing with the error:
/lib64/libstdc++.so.6: version ``GLIBCXX_3.4.20'...
0
votes
0answers
758 views
What does the error “undefined reference to 'dlopen'” mean?
When I want to compile my c-file I get these messages:
undefined reference to 'dlopen'
undefined reference to 'dlsym'
In some other posts about this topic the solution was to add -ldl to the linker ...