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
0 answers
32 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
35 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
83 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,707
0 votes
0 answers
32 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
33 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
96 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
74 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,547
0 votes
0 answers
47 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
272 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
  • 101
0 votes
0 answers
70 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 ...
ABeginner's user avatar
  • 121
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
59 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
88 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
63 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
95 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
  • 525
0 votes
1 answer
430 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
322 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,225
0 votes
1 answer
787 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
40 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
0 answers
187 views

configure: error: libcurl >= 7.28.0 library and headers are required with support for https at HPC

I met an issue when I tried to configure for R installation in HPC. I'm trying to install R-4.1.0 and 4.3.0; both show similar issue. configure: error: libcurl >= 7.28.0 library and headers are ...
Debajyoti Kabiraj's user avatar
0 votes
1 answer
599 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
628 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,498
-1 votes
1 answer
85 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
534 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
213 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
127 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
1 vote
1 answer
134 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
  • 103
0 votes
1 answer
207 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
101 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
228 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
413 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
167 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
747 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
10k 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
  • 1,041
1 vote
0 answers
122 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
3k 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
1k 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
4k 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
  • 703
1 vote
1 answer
12k 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
408 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
8 votes
3 answers
33k 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
577 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
4 votes
3 answers
13k views

Why is libjpeg.so.8 missing from Debian?

Debian 10, but same issue applies to Debian 11. Trying to run a certain binary (gaming), I get complaints about libjpeg.so.8 missing. apt-file search libjpeg.so.8 gives no results. However I can see ...
cat pants's user avatar
  • 405
0 votes
0 answers
77 views

Error while compiling GMT(generic mapping tool on centos7) with GDAL

I am having the following error while compiling GMT with GDAL and I am unable to figure out the root cause of it. GDAL has been compiled from the source (following this link). Dependencies too has ...
Navneet Srivastava's user avatar
0 votes
0 answers
307 views

OpenSSL Library issues

Any tasks I attempt to perform on my Ubuntu Server 18.04 machine which involve SSL negotiation fail with various errors. For example: # speedtest-cli Retrieving speedtest.net configuration... Cannot ...
JediWombat's user avatar

1
2 3 4 5
12