Questions tagged [shared-library]
The shared-library tag has no summary.
341 questions
1
vote
1
answer
65
views
Preallocate large continuous memory block for legacy executable
I'm trying to develop J2ME game on Linux using this guide by microgram dev.
The j2me emulator from Oracle Wireless Toolkit works totally fine after Linux reboot.
I run some other apps like browser, ...
0
votes
1
answer
57
views
System paths in LD_LIBRARY_PATH
Is it acceptable to specify system paths (/lib, /usr/lib, contents of ld.so.conf.d, etc.) in LD_LIBRARY_PATH? Wouldn't this cause problems? My goal is that an external program, which I can't rebuild ...
0
votes
0
answers
110
views
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, ...
0
votes
0
answers
56
views
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 ...
0
votes
0
answers
181
views
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 ...
2
votes
1
answer
59
views
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 ...
1
vote
0
answers
43
views
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 ...
0
votes
0
answers
329
views
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,...
0
votes
0
answers
100
views
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 ...
0
votes
0
answers
100
views
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.
0
votes
1
answer
223
views
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. ...
0
votes
0
answers
437
views
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 ...
1
vote
0
answers
109
views
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 (...
5
votes
2
answers
481
views
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 ...
1
vote
0
answers
120
views
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 ...