2,393 questions
0votes
1answer
24views
Libm.so.6 compatibility?
I have built a custom toolchain for RPi with ct-ng. For libm.so.6 it ctng's sysroot, I have checked, it's containing these GLIBC versions: GLIBC_2.17 GLIBC_2.18 GLIBC_2.23 GLIBC_2.24 GLIBC_2.25 ...
1vote
1answer
106views
VS Code Remote-SSH fails with "GLIBC_2.28 not found" on Ubuntu 18.04
After upgrading VS code version 1.99, I cannot connect to my remote server. I’m trying to connect to my remote server (Ubuntu 18.04) via VS Code Remote-SSH, but the server fails to start with: Missing ...
0votes
1answer
35views
How to understand GLIBC incompatibility?
Unfortunately a project I'm working on doesn't work on some platforms. It crashes with an error like /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found /lib/x86_64-linux-gnu/libm.so.6: ...
0votes
1answer
67views
How to tell julia that it should use a locally installed glibc version for compilation?
I am working on a HPC3 and want to install CUDA.jl to utilize the GPU while working in Julia. While compiling CUDA.jl (via Pkg.build("CUDA")), I realized that my glibc version is too low (...
1vote
2answers
113views
Why does my hello-world Rust executable depend on libgcc_s?
I'm building the following program in Rust: fn main() { println!("Hello, world!\n"); } on a Devuan Excalibur system (like Debian Trixie but without systemd; rustc version 1.84). After ...
1vote
1answer
102views
R Package Installation Failure on Pop!_OS 22.04: GLIBCXX/GLIBC Version Mismatch (readr, googlesheets4)
I'm getting dependency errors when I try to install R packages readr and googlesheets4 on my Pop!_OS 22.04 system. This is particularly problematic because readr is a core dependency of the tidyverse ...
0votes
0answers
44views
Unable to install libjemalloc2 with amazoncorreto image
I am trying to migrate from openjdk-17 to amazoncorreto java 17 but stuck with 3 libs which I am not able to figure out. Currently I am using below base image(which extends from debian 11 and has apt-...
-3votes
1answer
54views
SkiaSharp Version Compatible with glibc 2.17 on CentOS 7
I'm working on a CentOS 7 system, which has glibc 2.17 and cannot be upgraded. I need to use SkiaSharp, but the latest version (v3) requires glibc 2.27+, which causes compatibility issues. My setup: ...
2votes
1answer
94views
Is it safe to run a container based on a higher version of Linux on a lower version of the Linux operating system? [closed]
For example, my operating system is Ubuntu 18.04, and I built an image based on Ubuntu 24.04 on this system. During the image build, I compiled a C program P inside the image. Later, I run this ...
0votes
2answers
108views
Why does realloc(NULL, size) call my malloc wrapper, but realloc(ptr, 0) does not call my free wrapper? [closed]
I have wrapped my dynamic memory functions (malloc, calloc, realloc, and free) to track memory usage in my program. I have encountered the following: Calling realloc(NULL, 5) goes directly to my ...
0votes
1answer
67views
Rust Binary Linking Issue: exec /opt/rust_application: no such file or directory on Scratch Container
I’m working on creating a scratch image as part of a test network for a system I’m building. My goal is to set up a multi-stage Docker build that allows me to compile and run a Rust application both ...
0votes
1answer
35views
Running the app with custom downloaded glibc gives seg fault [duplicate]
I downloaded custom glibc and then compiled using g++ dt.cpp -std=c++11 -Wl,-rpath "/opt/glibc-2.28/lib", but it gives seg fault #include <iostream> ...
1vote
1answer
117views
Crash when dlopening shared library which accesses global variable in constructor
This simple library $ cat foo.c int glob; int foo() { return 0; } __attribute__((constructor)) void init() { glob = foo(); } $ gcc -g -O0 -shared -fPIC foo.c -o libfoo.so loads fine when I ...
1vote
1answer
45views
Output errors when using libmvec intrinsics for trigo functions manually (like cosf)
Referencing this link, I tried to integrate the libmvec intrinsics into some existing C++ code. Naturally, this involved me changing the forward declaration to extern "C" __m128 ...
6votes
2answers
220views
How does shared-library sharing work for `linux` systems with different toolchains?
I would like to understand what happens exactly at compile/runtime when a C++ executable tries to run on Linux. I know this is somewhat vague, so I will try to be more specific in the following ...