Questions tagged [shared-library]
The shared-library tag has no summary.
342 questions
0votes
0answers
56views
ldd not showing actual shared libraries address
After having deactivated ASLR, with: echo 0 | sudo tee /proc/sys/kernel/randomize_va_space I used ldd /path/to/binary to get the address of the shared library that my binary (written in C) was using, ...
0votes
0answers
39views
I have an AI program which uses Vulkan API. I want to run it on a Debian server without GPU
I have an AI program which uses Vulkan API. I want to run it on a Debian server without GPU. I know running Vulkan on CPU is possible but it's slow. What should I install/configure to have Vulkan on ...
0votes
0answers
69views
How can I get libc-client.so.2007?
I downloaded the source code for UW-IMAP/imap-2007f_upstream from the URL below. https://github.com/uw-imap/imap/archive/refs/tags/imap-2007f_upstream.tar.gz I compiled it, but libc-client.so.2007 was ...
2votes
1answer
46views
Why can I not intercept `write` in `seq`?
Based on Limit file IO speed I have built https://git.data.coop/tange/tangetools/src/branch/master/iothrottle It works for some programs: iothrottle -i 10M cat foo > bar # Yes, here you could just ...
1vote
0answers
29views
Mutt Segmentation Fault with MX Linux 21.3 #129
New noob here. Using MX Linux, set up Mutt with gmail. Was initially successful. Emails and all. Then at some point when trying to use again, it stuck at 4% giving a segmentation fault. Using gdb it ...
0votes
0answers
150views
Building GCC 12.4, I get: libisl.so.23: ... No such file or directory
I'm trying to build GCC 12.4.0 on Oracle Linux 9.4 (sorry about that... not my choice of distribution), as a non-root user. So, I've downloaded and built my relevant prerequisites: gmp, mpfr, mpc, isl,...
0votes
0answers
58views
GDB doesn't hit catchpoint on the child process forked off from debuggee
I was re-doing what described here about multiprocessing debugging in GDB. The weird thing is that GDB doesn't hit the exec catchpoint on the child process running cat command (the latter is forked ...
0votes
0answers
63views
I accidentally rename lib/ld-linux-aarch64.so.1 file on my target machine, what should i do?
I accidentally renamed ld-linux-aarch64.so.1. Now I cannot connect my target machine with SSH. How can I rename it back? I will not consider to reflash my target machine.
0votes
1answer
165views
sudo segmentation fault
In a remote system to which I don't have console access, which I'm connecting through ssh, I broke the sudo installation and now I'm not able to use it at all, and I'm not able to restart as a root. ...
0votes
0answers
214views
How to detect undefined symbols in shared libraries or objects?
My Linux distribution (openSUSE Slowroll) accidentally shipped some incompatible libraries recently due to its experimental nature, lacking adequate automated testing using openQA, that caused the ...
0votes
0answers
31views
How to select specific python library for an executable?
I have an executable which loads /lib64/libpython3.so at runtime. (I am on fedora 40 right now). As far as I can tell this library loads my default python version installed, currently this links to ...
0votes
0answers
52views
Cannot find mqic library when compiling Mqueue-sending C program
On our linux dev server for an application at work, we have an in-house C program called sendFile to, well, send files to the Mqueue. The program has seemingly not been changed since its creation in ...
1vote
0answers
79views
Why does ldd behave differently on the ldconfig binary?
When we run ldd on some file, there are two possible results: If the file is dynamic executable, the shared dependencies are shown, for example: # ldd /usr/bin/sleep linux-vdso.so.1 (...
4votes
2answers
332views
Do executables in different containers share shared objects that are define in the same common image layer?
I am investigating the memory impact of containerising two processes that depend on the same shared object. My main question is whether the shared object will be loaded in memory twice or not. This ...
1vote
0answers
87views
The library path of gold linker (ld.gold)
How to set library search path through environment variables? (since I'm using bazel) How to print library search path used by ld.gold (so I can check if I set it correctly) Context: I'm compiling a ...