Skip to main content

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.

Filter by
Sorted by
Tagged with
0 votes
2 answers
83 views

what's the difference between installing libudev and libudev-dev

I'm trying to install pcsc-lite and noticed the documentation said that that libudev is required. When I attempt to install libudev, I get the following: $ sudo apt-get install libudev Reading ...
SeanJ's user avatar
  • 169
0 votes
0 answers
20 views

Mamba broken after updating ssl. ImportError: cannot dynamically load position-independent executable

I work on a linux server that is running Ubuntu. I have been using miniforge to manage environments with packages for specific tasks. Previously, I was using a global install of anaconda in but ...
Weston Elison's user avatar
2 votes
3 answers
2k views

Pacman can't run. Can't find libicuuc.so.75

I was updating my system when I ran into an issue with the icu package breaking electron. I figured I would ignore updating this package for now and look into it later. After the update completed most ...
Winnie22's user avatar
0 votes
0 answers
18 views

libjasper1 depends on inexistant libjpeg8 [duplicate]

I'm trying to run a binary, but I'm missing a library : libjasper.so.1 This is an Qt app, and is neither complex or heavy. I'm running this on Debian 12, KDE Plasma 5. When trying to install the ...
mescande's user avatar
1 vote
1 answer
989 views

DaVinci Resolve Symbol Lookup Error on Fedora 39 within VanillaOS Orchid's Apx Container

I'm encountering a challenging issue trying to run DaVinci Resolve within an Apx application container on Fedora 39, which is running under VanillaOS Orchid. Despite my efforts to troubleshoot, ...
MrKristijan's user avatar
0 votes
1 answer
63 views

some libraries files in /lib have 0 size "empty"

during an update dnf throw this ldconfig: File /lib/librav1e.so.0 is empty, not checked. ldconfig: File /lib/librav1e.so.0.6.6 is empty, not checked. ldconfig: File /lib/libnl-3.so.200 is empty, not ...
RootOfMinusOne's user avatar
0 votes
1 answer
119 views

When/why doesn't pkg-config return library link-path?

I want to make use of pkg-config in my Makefile to find the link-path for libspa-0.2. I observe that pkg-config --libs libspa-0.2 returns nothing. For simplicity, I'll demonstrate the problem by ...
StoneThrow's user avatar
  • 1,787
0 votes
0 answers
36 views

is it possible to integrate bc calculator in an app (script interpreter) as a library?

is it possible to integrate bc command line calculator in an app (script interpreter) as a library? I am not asking if that can be done, I am asking if there is something ready already that wraps bc ...
Gussak Thor's user avatar
0 votes
0 answers
37 views

Cannot compile critic2 using libxc. cmake says different compiler

$ cmake -DCMAKE_BUILD_TYPE=Release -DLIBXC_DIR=/usr/lib/x86_64-linux-gnu/libxc.so .. -- A library with BLAS API found. -- Could NOT find NUMDIFF (missing: NUMDIFF_EXE) -- Found libxc (lib=/usr/local/...
Kamalesh Roy's user avatar
0 votes
1 answer
109 views

Why is MB_CUR_MAX 6 instead of 4 for UTF-8? (Linux, glibc)

MB_CUR_MAX is defined by glibc as 'a positive integer expression that is the maximum number of bytes in a multibyte character in the current locale.' If I print the value I get 1. I assume that this ...
Sebastian Carlos's user avatar
3 votes
1 answer
93 views

Audio playback from assembly language in Unix?

Looking for a simple audio interface for Unix For fun, I'm learning x86 assembly language by porting an old game. The trickiest part is finding a way to play simple sounds (square waves, mostly). The ...
hackerb9's user avatar
  • 1,569
0 votes
0 answers
100 views

libkeyutils.so.1.8.1

I have noticed something I dont understand. I have many servers hosted as VPS with Racknerd. All my servers is installed with ubuntu 20.04.05 or 20.04.06. All the servers installed before summer, have ...
Jan Warming's user avatar
0 votes
1 answer
652 views

pkg-config cannot find any libraries without manual intervention

I am not a C++ developer or typically work with Conan, CMake, or Makefiles. The first time I had heard of pkg-config was yesterday when conan started erroring on it, unable to resolve a gl package. I ...
Xevion's user avatar
  • 103
0 votes
0 answers
88 views

How to compile and transplant samba-4.19.0 as small as possible?

I am compiling samba-4.19.0 on Debian12 and then porting the compiled content to other systems. At first, I wanted to compile it into a static executable file as much as possible, but I couldn't find ...
just a student's user avatar
0 votes
0 answers
2k views

PDFInfoNotInstalledError: Unable to get page count. Is poppler installed and in PATH?

Currently I am trying to use pdfinfo for extracting the content in the pdf files. I have installed poppler-utils in local using !sudo apt-get install -y poppler-utils and it worked, Now I am running ...
ram_98's user avatar
  • 1
0 votes
0 answers
72 views

Make SCL library avaiable system wide on CentOS 7

I have softwares asking for some libraries libstdc++.so.6 version C++ABI_1.3.8 and libomp.so.5 I've found out that the first one comes with devtoolset-7 and the second one comes with the llvm-...
Jh0nny's user avatar
  • 1
0 votes
0 answers
102 views

Tried accesing my custom shared object, but permission is denied

Created a basic C++ shared objects file using g++: // calculate.hpp #ifdef __cplusplus extern "C" { #endif // typedef struct ...; // function decls int Add(int x, int y); #ifdef ...
enrico sebastian's user avatar
0 votes
1 answer
86 views

Mono cannot find LibVLC or MPV on NixOS

I am trying to use SubtitleEdit, a .NET application, on NixOS, using Mono. This has worked in the past with other distros, but for some reason SubtitleEdit cannot find mpv or libvlc on NixOS. ...
TheLabCat's user avatar
  • 113
0 votes
1 answer
130 views

How to install the Boost.CRC library on Debian

I need to install the Boost CRC library on Debian 11.7. I've searched in Synaptic Package Manager but did't find it. Also, I would prefer to install just that specific library (in a minimal ...
minto's user avatar
  • 535
0 votes
1 answer
644 views

Problem with old libraries

I'm using a fresh Debian 12 install. Everything works fine minus one image recording software that worked fine while using Debian 11. The problem is that the software requires some libraries: - ...
abinos's user avatar
  • 3
1 vote
0 answers
403 views

Convert executable binary to dyamic library

Functionally, a binary (as in ELF binary which can be executed from the shell) is somewhat similar to a library in that both are files containing machine code for a particular target ABI in binary ...
user149408's user avatar
  • 1,333
0 votes
1 answer
1k views

How to install libpng 15.so.15 (required by BIOVIA)?

I've followed the most steps from BIOVIA installation guideline from the following link: https://www.researchgate.net/publication/...
Megaloceros M's user avatar
0 votes
1 answer
52 views

Using a back level library with a proprietary application but without effecting the rest of my install base

I have Corel AfterShot Pro 3 for my photo workflow management but it stopped working a year or so ago. I thought I'd wait for Corel to get current with their application, using up-to-date libraries. I ...
Greg's user avatar
  • 115
0 votes
1 answer
866 views

libx264.so.155: cannot open shared object file: No such file or directory

While the above is true, I have: $ sudo apt install libx264-dev Reading package lists... Done Building dependency tree... Done Reading state information... Done libx264-dev is already the newest ...
Daniel's user avatar
  • 339
1 vote
3 answers
716 views

Zoom not starting because of undefined symbol from libqtquickcontrols2plugin.so

I did a minimum debian stable system installation using debootstrap, but zoom is not able to start in such environment: $ QT_DEBUG_PLUGINS=1 /opt/zoom/ZoomLauncher $ tail ~/.zoom/logs/...
xpt's user avatar
  • 1,644
-1 votes
1 answer
104 views

What are the best practices on storing cross-compiled libs? [closed]

I have a project I want to cross compile (as well as native). I've installed my cross compiler under /opt/x-compiler/arm32/ and I also add some dependencies I have under /opt/lib/arm32/. The ...
CIsForCookies's user avatar
0 votes
1 answer
2k views

Missing libraries after installing openssl (libcrypto.so.1.1, ...)

I made my Arcolinux (5.12.14-arch1-1 x86_64) unusable by trying to install openssh. Googled a few hours and tried something, but without success. I did the following: $sudo pacman -S openvpn Then vpn ...
leol's user avatar
  • 3
1 vote
1 answer
704 views

Kali Linux: Error while loading shared libraries

I’m getting an error: error while loading shared libraries: libtbb.so.2: cannot open shared object file: No such file or directory On Kali Linux. Is there any way to fix this? Yes, I tried to ...
Daniel Santos's user avatar
1 vote
1 answer
422 views

I want to install few libraries on rhel8 distro but not sure how to find which repo or package have them

I want to install few ffmpeg libraries like libavformat, libavutil, libavcodec, libswscale`. I can install it by installing ffmpeg package as a whole by follwing link. When I install ffmpeg it install ...
Sachin's user avatar
  • 11
-2 votes
1 answer
140 views

Dnf not working after deleting libraries

I am using Fedora 37 and have Linux kernel: 6.1.7-200.fc37.x86_64. While trying to replace some libraries (libncurses.so.5) for STMCubeIDE I have deleted some files in /usr/lib/libncurses*. Now, when ...
GabrijelOkorn's user avatar
2 votes
1 answer
157 views

What IPC is used between an application and a library in Linux?

When you have a Linux application that depends on a library (dynamically-linked), how does the application communicate with the library? What inter-process communication method is used?
Noob_Guy's user avatar
  • 223
0 votes
1 answer
228 views

Run-time library dependency (outdated) and installed library versions do not match - Linux

Recently I got a new problem: my system cannot find libplacebo.so.208, but simply because the current version is newer. This is my currently installed version of the package libplacebo: $ ls -l /usr/...
TheBigBadBoy's user avatar
1 vote
1 answer
124 views

How to provide library path to ./configure script

I was trying to install a library called Openslide which failed during the ./configure step because it could not find a dependency (libjpeg). I thought I would proceed to build libjpeg and then ...
Joff's user avatar
  • 383
3 votes
0 answers
248 views

Box86 can't find some specific libraries

I am trying to run some programs on an Ubuntu ARM64 machine with Box86 (in this case, Steam). While starting up it crashes, and I noticed in the console the following errors: Error loading needed lib ...
GospelBG's user avatar
0 votes
1 answer
509 views

Qt statically linked application error: linuxfb plugin not found by the application

I have successfully developed a graphical Qt 5.15.2 application using Qt Creator with dynamically linked libraries. For various reasons I have determined static linking would be better for my ...
amyers's user avatar
  • 21
0 votes
1 answer
2k views

Wrong ELF class: ELFCLASS64

I'm in an ARM machine and I wanted to use an x86 program. Installed Box86 and the program and it's libraries. The program crashes because of this error: Error initializing native *libname* (last ...
GospelBG's user avatar
0 votes
0 answers
196 views

Corrupted .so file centos 7

I boot my centos 7 in normal mode and when I try to login without asking password says login incorrect, after I boot in single mode and in boot log I see this error on during boot: /usr/sbin/sulogin: ...
EMA's user avatar
  • 1
0 votes
0 answers
904 views

error while loading shared libraries: cannot open shared object file: Error 40

There is an application I want to use named openfoam but, I can't because of this error. I already tried other way but none of them work. The command I tipped was: -> fluent3DMeshToFoam Test.obj ...
user7954302's user avatar
35 votes
3 answers
11k views

Do C compilers discard unused functions when statically linking to .a file?

Say I have a C program main.c that statically links to libmine.a. Statically linking to a library causes library functions to be embedded into the main executable at compile time. If libmine.a were to ...
Izzo's user avatar
  • 971
1 vote
0 answers
130 views

Php Warning error

When I execute the command php -v on Ubuntu, I get this error: PHP Warning: PHP Startup: Unable to load dynamic library 'pdo_mysql.so' (tried: /usr/lib/php/20210902/pdo_mysql.so (/usr/lib/php/...
Zahedsword's user avatar
2 votes
1 answer
4k views

/usr/lib/x86_64-linux-gnu/<libname> is not on search path; what's the "right" way to fix that?

On Ubuntu, I tend to run up against link errors for libraries installed under /usr/lib/x86_64-linux-gnu/<libname>, which doesn't seem to be searched by default. In the latest example, I tried ...
Jun Inoue's user avatar
  • 123
1 vote
0 answers
2k views

How to reinstall packages that were accidentally deleted

So I was trying to fix my pulseaudio and I ran the following 2 commands sudo apt-get -f install && sudo apt-get -y autoremove && sudo apt-get autoclean && sudo apt-get clean &...
Dyskord's user avatar
  • 111
0 votes
1 answer
5k views

Specify which libstdc++ to use

I want to make use of a more recent GCC version. Therefore, I compiled GCC 10 and installed it into a non-standard directory /software/gcc10/. So far so good. However, I am faced with problems when I ...
Raven's user avatar
  • 733
1 vote
1 answer
16k views

How do you reload .so files (dynamic libraries) in Linux?

I don't remember the command anymore, but in basically every Linux distro there's a command for reloading .so files and other libraries. How's it called? It's something similar to ld I think. I tried ...
Sir Muffington's user avatar
0 votes
1 answer
440 views

SDL Error while building libgraph-1.0.2 on Debian 11

When I run make I get this output That says that it cannot link SDL: /usr/bin/ld: .libs/text.o:/home/mint/libgraph-1.0.2/grtext.h:77: multiple definition of `InternalFont'; .libs/libgraph.o:/home/mint/...
yomama's user avatar
  • 1
0 votes
1 answer
2k views

/usr/lib vs /etc/ld.so.conf.d

TL;DR Why is it better to place a symlink to a shared library at /etc/lib(64)/ or why is it better to create a *.conf file in /etc/ld.so.conf.d/ .conf file Assuming i have my custom binary at /opt/...
void's user avatar
  • 5
9 votes
3 answers
37k views

opt/lampp/bin/httpd: error while loading shared libraries: libcrypt.so.1: cannot open shared object file: No such file or directory

I use Arch Linux (x86_64) I updated my repositories today with the following command Sudo Packman -Syu But the xampp program no longer runs Stopping all servers... Restarting all servers... Starting ...
ahmadreza1383's user avatar
0 votes
1 answer
2k views

Undefined symbol after updating thc-hydra

I was using hydra without any issues until I decided to update it. Right now when I'm trying to run hydra I'm getting this error: hydra: symbol lookup error: /lib/x86_64-linux-gnu/libmongoc-1.0.so.0: ...
P0y01's user avatar
  • 1
3 votes
0 answers
646 views

Assertion 'clock_gettime(map_clock_id(clock_id), &ts) == 0' failed at ../src/basic/time-util.c:55, function now(). Aborting

As per this naswer I have tried to fix a failed libc6 and libcrypto update. I created a link where it seemed appropriate by mounting my SD card onto /media on another PC changed directory to /media/...
Rho Phi's user avatar
  • 319
2 votes
1 answer
3k views

After libc6 upgrade `sudo: account validation failure, is your account locked?` - What can I do before I switch off and repair from live CD

I have tried to install some packages (apache mariaDB) and something went wrong from my sudo apt install apache2 mariadb-server apt-transport-https At the end there was an error Checking init scripts.....
Rho Phi's user avatar
  • 319

1
2 3 4 5
12