Questions tagged [shared-library]

The tag has no usage guidance.

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

Wine can't find DLLs

The problem that I currently have with my wine installation is that it doesn't find the DLLs to start the game, he says something like: 0100:err:module:import_dll Library D3DCOMPILER_43.dll (which is ...
1
vote
1answer
22 views

How to Resolve "error while loading shared libraries: libpython3.7m.so.1.0: cannot open shared object file: No such file or directory" on Ubuntu 20.04

I installed Swift for Ubuntu using the latest toolchain available. At the time of writing, that version is 5.4.3. I downloaded it from https://swift.org/download/#releases I installed many ...
0
votes
0answers
26 views

What to do when you have a newer version of a shared library?

I want to execute an executable, which depends on libsnmp-dev, of which I do not have the source. This binary depends on some shared libraries. When I execute ldd <application> to inspect, I get:...
0
votes
1answer
24 views

How to find all possible locations for libraries and header files on any distro?

I found that the location of libraries and header files are very different on different distributions. For Example on Fedora you have /usr/lib64/libbfd.a while on Ubuntu you have /usr/lib/x86_64-linux-...
0
votes
2answers
23 views

auCDtect: Fatal error: glibc detected an invalid stdio handle

I'm trying to use auCDtect to check the authenticity of my audio files. I can run the linux binary successfully on my Synology NAS (DS918+) with the addition of libstdc++-libc6.2-2.so.3. I wanted to ...
0
votes
0answers
24 views

Installing the latest version of libpcap & libpcap-dev

In my docker container I run the following command to install the pcap lib: apt-get install -y libpcap-dev When I run apt list --installed I see this weird output: libpcap-dev/oldstable,now 1.8.1-6 ...
0
votes
1answer
37 views

how can share variables between different apps

how can update the foo variable from another app? $ cat app1.sh #!/bin/bash //foo can be changed from the internet, but for example, I give it foo=1 export foo=1 while true do echo "$foo+2&...
0
votes
1answer
41 views

OpenBSD GCC Upgrade [closed]

I'm attempting to upgrade the GCC library in OpenBSD from 4.2.1 to 11.2.0 (for a project, and a personal challenge). So far, everywhere I looked was unsuccessful. I know it's probably something ...
0
votes
2answers
50 views

Is it safe to remove a shared lib while programs which depends on it is executing?

Is it allowed to delete (for example, with the rm command) some shared library without any danger when programs that depend on it are executed? I thought so, because if the program was running, then ...
0
votes
0answers
98 views

Library missing after port update on FreeBSD

I have been confronted with some strange behavior after upgrading my ports with portupgrade --all --interactive I always miss "libsamba-credentials.so.0" (from "/usr/local/lib", ...
0
votes
0answers
14 views

centos7-librdkafka.so missing dependencies

I'm building a software that uses centos7-librdkafka.so, but this library fails to load. I've run ldd /app/bin/Debug/net5.0/runtimes/linux-x64/native/centos7-librdkafka.so And it says: ldd /app/bin/...
1
vote
0answers
43 views

Error using glib2 from yum: "libgio-2.0.so.0: undefined symbol: g_free"

I am trying to build all of the dependencies for Weasyprint 52.5 for AWS Lambda. Despite being a python library, Weasyprint has a large number of OS dependencies. I'm creating a lambda layer by ...
0
votes
1answer
26 views

Can you force a shared object to run as root or use setuid or setgid if its caller is not one of those?

My App needs to have write access to /dev/input/event*. On my Ubuntu system /dev/input/event* is owned by root:input. My app runs fine if I use sudo, but I'm trying to avoid that. So I set my App ...
0
votes
1answer
33 views

How to resolve shared library file errors while compilation [closed]

I'm compiling my project using Makefile & I'm getting the following error. [rahul@wbms-dev wdb]$ make /orasw/app/oracle/product/client_19c/bin/proc INCLUDE=/orasw/app/oracle/product/client_19c/lib ...
0
votes
0answers
23 views

Shared library fetching fails if LD_LIBRARY_PATH isn't exported

By looking at /etc/ld.so.conf.d there is a libc.conf file that point to /usr/local/lib that contains the .so file necessary to run my application correctly. Even running ldconfig -v it is showed that ...
1
vote
1answer
190 views

libreadline.so.6: cannot open shared object file. Have libreadline-7 and dev

Im getting the error below while trying to run vtysh for some network simulations vtysh: error while loading shared libraries: libreadline.so.6: cannot open shared object file: No such file or ...
0
votes
1answer
44 views

Kernel Make requires libssl0.9.8?

Im getting the error below while running make while trying to recompile kernel linux 4.15.0 for my Ubuntu 18.04 VM. openssl: error while loading shared libraries: libssl.so.0.9.8: cannot open shared ...
0
votes
0answers
40 views

Dynamic library on Debian stable error: libOpenCL.so.1: cannot open shared object

On Debian stable when trying to fix error $ mpv mpv: error while loading shared libraries: libOpenCL.so.1: cannot open shared object I have run sudo apt install ocl-icd-opencl-dev to no avail. Can ...
0
votes
0answers
53 views

Issue with a lot of programs: error while loading shared libraries: libsrt.so.1.4: cannot open shared object file

I am using arch and I think this happened after a btrfs root snapshot restore, but I am not sure. /etc/ld.so.conf.d/ consists of fakeroot.conf and openmpi.conf. My /usr/local/lib is empty, however: ls ...
0
votes
0answers
26 views

libc.so.6 version error

I was installing node-red and it gave me an error stating that the library libatomic.so.1 was missing but i had it in one of my directories. After some searching i found out that i had to edit the /...
3
votes
0answers
24 views

Is there any solution to ltrace calls made by libs opened using dlopen()?

I wrote different two different types of queues. Bundled them in different .sos. I have a driver main.c which tests functions offered by those queues. main.c makes use dlfcn.h to load, unload required ...
1
vote
1answer
40 views

Why does this SO (shared object) end in .3gf?

On ubuntu trusty tahr, when I install libblas3 from the repository, it installs a file at /usr/lib/libblas.so.3gf. Under focal fossa, it behaves differently and installs under /usr/lib/x86_64-linux-...
1
vote
1answer
153 views

Install a second G++ on Debian using official packages only?

I need a newer G++ for a project, but all tutorials will tell you to download the sources, compile them and "simply" install them then use it. Which is something I don't want since it's not ...
0
votes
0answers
24 views

Error when trying to run rsyslogd with RELP module on dd-wrt

I'm trying to setup Rsyslog reliable remote logging through the rsyslog-relp module on dd-wrt (x64). Rsyslogd itself works fine by installing the OpenWrt package, rsyslog-relp instead needs to be ...
0
votes
1answer
47 views

How to link 32 bit shared library (.so file) to 32 bit executable?

Short question I tried to use gcc -m32 -c file.c -o file.o -Llib -llibname command to link my 32 bit shared library (.so file) to 32 bit executable. But it seems like library not added. Long question ...
1
vote
2answers
475 views

Cent OS 7 libpng16.so.16 can't open shared object file

I am attempting to use a program XPDFReader on CentOS 7 it keeps throwing the error error while loading shared libraries: libpng16.so.16: cannot open shared object file: No such file or directory I ...
0
votes
0answers
119 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
1answer
49 views

ldd vs rpm -q --requires

could someone please explain why the ldd and rpm -q --requires outputs differ from each other ? I'm checking against curl [root@localhost ~]# rpm -qa curl curl-7.29.0-59.el7_9.1.x86_64 [root@...
0
votes
2answers
29 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
0answers
70 views

Linking to wrong .so file on Fedora 33 (libx265) when compiling ImageMagic

On Fedora 33, I'm trying to compile ImageMagic from git. libx265 and libheif are installed from the Fedora fusion repos, along with their -devel packages. When running ./configure --prefix=$HOME --...
0
votes
1answer
37 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
41 views

I am searching for the source code to a specific library

I am looking for the source code to libj2d-gtk-linux-i386-2.0.0.so which is reported to be contained in a file named GtkGraphics2DFactory.c. This library is an SWT 2 Java bit of glue that is found in ...
0
votes
0answers
38 views

What is the best way of finding library conflicts in a large application?

I have a large application (let's call it P) with lots of dependencies to boost, Qt, zlib, libpng, etc. Recently, I have added a feature to P that needs to dynamically load a new shared object (let's ...
0
votes
0answers
34 views

Dumping a packed shared library

I have 2 packed shared libraries, the second one is probably dependent on first one. The first one is packed with UPX, and the unpacking code is in .init_proc. I have tried attaching a debugger and ...
1
vote
1answer
164 views

Is there a standard Linux utility to generate shared library symlinks?

In an embedded environment that I'm working in, the following files are present: lrwxrwxrwx 1 root root 19 Aug 23 2016 /usr/lib/x86_64-linux-gnu/libjsoncpp.so.1 -> libjsoncpp.so.1.7.4 -rw-r--r-...
0
votes
1answer
40 views

What does the "w" mean after a shared library name?

Some of my libraries have a "w" after the name. What does this signify? For example I have the following shared libraries in /usr/local/lib: libncurses.so libncursesw.so libmenu.so libmenuw....
-4
votes
2answers
614 views

What is the linker and what is the loader in dynamic linking?

CSAPP (3ed) says in p733 that 7.9 Loading Executable Object Files To run an executable object file prog, we can type its name to the Linux shell’s command line: linux> ./prog Since prog does not ...
-2
votes
1answer
134 views

What is necessary and sufficient condition for an ELF object file to be a shared library or a relocatable object file?

Stephen Kitt wrote in https://unix.stackexchange.com/a/448943 any ELF object with an entry point can be an executable, regardless of its other properties. and ld.so is both an executable (because of ...
0
votes
1answer
107 views

What is "shared executables"?

Stephen Kitt wrote in https://unix.stackexchange.com/a/448943/674 ld.so is a shared ELF object, but it doesn’t require an interpreter (it has no .interp entry); this is typical of libraries (shared ...
0
votes
1answer
184 views

why static libraries use relocatable object files while share libraries use source file?

I was reading a textbook which describes static libraries anad shared libraries. There are two source files, addvec.c and multvec.c, to create a static library of them, we would use the ar tool as ...
0
votes
3answers
106 views

How to handle applications that used outdated shared libraries?

I'm trying to run GDB on a rolling release version of Linux that is looking for libncurses.so.5, but the system has version 6 installed. I've seen solutions where people use ln to link libncurses.so.5 ...
1
vote
2answers
272 views

apt-get seems to not be installing a library package correctly

Recently I have installed the library liblz4.so with apt-get install liblz4-1, but I have noticed that the above command only installs these files/links: /usr/lib/x86_64-linux-gnu/liblz4.so.1.7.1 /usr/...
1
vote
2answers
162 views

How to determine the default shared library path?

Some of distro is /lib64 some of them is /lib/x86_64-linux-gnu, there maybe other format. Is there a uniform way to determine this in bash?
2
votes
0answers
340 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 ...
0
votes
1answer
441 views

libstdc++6 stops apt-get from working

I tried to install the latest version libstdc++6 through the deb file from Ubuntu however now whenever i try to install a package it shows me an error. libstdc++6 : Depends: gcc-10-base (= 10-...
0
votes
0answers
146 views

Unsatisfied Link Error (No such file or directory) on Linux, while file is available at given path

I am loading some .so files in my Java code using System.load("home/projects/proj/my.so"). Where I have given complete path of my .so files. But in my logs I am getting below error: sys:Err: ...
2
votes
2answers
520 views

is there a tool for finding shared library symbol conflicts?

I have a crash in some software I am writing which I suspect may be caused by symbol conflicts between two different shared libraries (when I disable one of the shared libraries the other starts ...
1
vote
0answers
53 views

What are .chk files among .so libraries purpose

I'm preparing a chrooted environment for some command. I'm using CentOS 6. To determine what libraries do I need in my enviroment, I'm using strace: strace <command> | grep open > needed....
0
votes
0answers
85 views

Executable Files are now Shared Library Files?

So what I'm trying to do is open up an application I made using Electron-Js on windows 10, Now the file worked fine before on my Linux laptop but then suddenly I can't open shared library files ...
0
votes
1answer
179 views

Why does exim use openssl from system instead of compiled version?

I try to upgrade from exim 4.84 to exim 4.94 My Local/Makefile for exim contains this: SUPPORT_TLS=yes TLS_LIBS=-L/MYPATH/lib/ -lssl -lcrypto -ldl TLS_INCLUDE=-I/MYPATH/include/openssl/ USE_OPENSSL=...

1
2 3 4 5 6