Questions tagged [glibc]
glibc is GNU's implementation of the Standard C library.
83
questions with no upvoted or accepted answers
4
votes
0
answers
380
views
What is the publickey for in nsswitch.conf
As I understand it the getent tool is used to query the Name Service Switch. In the getent man file all the different entries (plus a few more) from nsswitch.conf is listed, except the publickey one. ...
4
votes
0
answers
518
views
GNOME shell periodically crashing
I'm on a laptop running Arch Linux. As of a series of updates applied this morning, I've had some issues with GNOME crashing, and being reloaded, forcing me to log in again -- and while my tmux ...
4
votes
1
answer
508
views
Highest version of glibc working on actual 386 hardware
I need to build a working minimal Linux environment that will run on ACTUAL 386 class hardware. I know that I have to use kernel <3.8, which is not a problem. The issue is with glibc, as it seems ...
3
votes
2
answers
5k
views
How do I install some required libraries for a program without sudo?
I am trying to run a program on a computer running Red Hat 6.5.
This results in the three following errors:
"/lib64/libc.so.6: version `GLIBC_2.14' not found"
"/usr/lib64/libstdc++.so.6: version `...
2
votes
0
answers
1k
views
Apt Stuck On Setting Up libc6
I have picked up bad habits from using other Debian distros. So I thought I'll install Debian WSL2 in my new computer.
Someone told me Debian Stable is too old, so they use Debian testing for newer ...
2
votes
1
answer
72
views
How do I insert my own lib to other binaries in Linux?
My goal is developing a tool for educational purposes which logs commands on a system. Until now have found primitive ways to do this but all these ways can be easily bypassed so I had this idea to ...
2
votes
0
answers
3k
views
Running x86_64 binaries on arm64
I have been searching for a simple way to run x86_64 binaries on arm64 GNU/Linux.
I've tried qemu-user:
qemu-x86-64 -L /usr/x86-64-linux-gnu /opt/x86_64program, but I'm getting
/lib/libc.so.6: version ...
2
votes
0
answers
243
views
Dynamic Linking when Migrating C++ Program from Solaris to Linux
The Problem
I'm attempting to migrate a legacy application's build process from an older Solaris machine to Linux, specifically, RHEL 7.7. The application was originally built using Solaris Studio (...
2
votes
1
answer
5k
views
`aarch64-linux-musl-cross` has a broken link for `ld-musl-aarch64.so.1`
The goal
I want to run an ARM64 Go binary on x86_64 Kali Linux using QEMU user mode.
The problem
I got aarch64-linux-musl-cross.
~$ wget https://musl.cc/aarch64-linux-musl-cross.tgz
~$ tar -xvf ...
2
votes
0
answers
91
views
Same locale, different distrib, inconsistent behavior
I migrate a system from a CentOS 6.9 VM to a Debian 10 Docker container, and I can't explain why thousands separator differs. Same locale (fr_FR.UTF-8), same version of the locale yet different ...
2
votes
0
answers
903
views
Is it possible to recover from corrupted libc on Redhat?
I have created the following unfortunate situation.
While trying to resolve this error when running a binary :
/lib64/libc.so.6 : version 'GLIBC_2.15' not found
Looking further I found that libc....
2
votes
0
answers
813
views
How to deal with "scriptlet failure in rpm package glibc" during upgrade to Fedora 24?
Actual message (from photo, not recorded in dnf system-upgrade log -1):
Upgrading : glibc-2.23.1-18.fc24.x86_64 28/4874
warning: %trigger(cronie-1.4.12-1.fc21.x86_64) scriptlet failed, exit status ...
2
votes
1
answer
257
views
Redhat and Centos servers glibc errors
Please forgive if I am not wording this correctly and my current lack of information, but I am losing my mind trying to figure this out and I am not currently behind the servers in question. I have ...
2
votes
0
answers
2k
views
yum update glibc - ERROR with rpm_check_debug vs depsolve:
I want to update my system with yum update but I get only errors starting with these two lines:
Running rpm_check_debug
ERROR with rpm_check_debug vs depsolve:
Then, I tried only to update the ...
2
votes
0
answers
2k
views
GLIBC not loading even after source compilation
While I am installing chef , I am getting below error.
[root@centos Tools]# chef-server-ctl reconfigure
/opt/opscode/embedded/bin/ruby: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /...
2
votes
0
answers
1k
views
How to remove a broken installation of glibc
I just attempted to install glibc version 2.19 to my computer as follows:
1) I cloned the glibc git repo with
$ cd ~
$ git clone git://sourceware.org/git/glibc.git
2) I checked out version 2.19 ...
2
votes
0
answers
6k
views
../lib/libc.so.6: version `GLIBC_2.12' not found
I'm running a debian wheezy (7.8) box and I just ran into a problem with an application that needs `GLIBC_2.12'.
The glibc-linking seems confusing to me. Maybe someone can enlighten me?
The program ...
2
votes
0
answers
4k
views
Broken System due to upgrading libc6
I am using Kali, and I tried to upgrade libc6, because it comes with a lower version than I need. After downloading the latest package from the debian repo (https://packages.debian.org/sid/amd64/libc6/...
2
votes
1
answer
2k
views
How to make my ELF run with both new and old version of glibc?
When I'm compiling my elf, it is "best practice" to make it link against the oldest version of glibc I can, so it will work both on new and old versions of glibc.
i.e. if I use realpath, which in ...
2
votes
1
answer
2k
views
Determine libc version used to create static library
I am seeing symbol referencing errors with the static libraries I am using (available with OpenSPARC processor). I have glibc 2.15 on my system. How do I determine the version of glibc used to create ...
2
votes
0
answers
387
views
How to install libc6 from unstable repository on Debian?
This is my server:
Linux nn15.project.org 3.2.0-4-amd64 #1 SMP Debian 3.2.46-1 x86_64 GNU/Linux
Debian GNU/Linux 7.1 (wheezy) Release: 7.1
I have sudo permissions. How can I install libc6 from ...
2
votes
1
answer
1k
views
Eglibc cannot compile suffix of object files while trying to cross compile
I'm currently making my way through Trac's CLFS book.
When trying to configure the 32-bit version of EGLIBC-2.15, using the options:
BUILD_CC="gcc" CC="${CLFS_TARGET}-gcc ${BUILD32}" \
AR="${...
2
votes
2
answers
18k
views
'GLIBC_2.32' not found when using apt and apt-get
I'm using Pop! OS. When running any simple apt or apt-get command in the terminal, even something as simple as apt --help, I get an error message
apt: /lib/x86_64-linux-gnu/libc.so.6: version 'GLIBC_2....
1
vote
0
answers
54
views
How to easily find all executables linked against certain libc6 version?
Background
It is an Ubuntu-based OS, where I manually built & installed Arch's pacman, added Arch's repositories to it, and ran pacman --force -S git to test it out. It was a mistake, yes. git had ...
1
vote
0
answers
44
views
Mamba broken after updating ssl. ImportError: cannot dynamically load position-independent executable
I work on a linux server that is running Ubuntu. I have been using miniforge to manage environments with packages for specific tasks. Previously, I was using a global install of anaconda in but ...
1
vote
0
answers
652
views
how to fix /usr/bin/install: missing destination file operand after '$HOME/toolchain/glibc-build/cstdlibT'
I'm using cygwin building glibc-2.25. I've followed up to http://clfs.org/view/sysvinit/x86_64/cross-tools/glibc-64.html.
I've compiled
File-5.31
Linux-4.9.21 Headers
M4-1.4.18
Ncurses-6.0
Pkg-config-...
1
vote
1
answer
660
views
Kernel panic following GLIBC upgrade
I was trying to install software on Deepin Linux 20 that required an higher version of GLIBC. I found a Stack Overflow question about how to do that and followed the instructions on some of the ...
1
vote
0
answers
402
views
What must be added to nsswitch.conf to [Succes=return] for group database
Working on a CentOS machine, with GlibC 2.17 I am struggling to find a configuration which disables group lookup for local users on remote directories.
I know that be design the group lookup searches ...
1
vote
0
answers
88
views
Installing different iconv in same RedHat box
I have new version of iconv installed in RedHat 8 (production). How can I downgrade without affecting existing iconv (as well as existing glibc) ?
Currently I have this:
iconv 2.28
RedHat 8.5
Need to ...
1
vote
1
answer
6k
views
how to install libc6 2.34 from sources?
I'm running Linux Mint 20.2 Uma and I'm trying to upgrade the linux kernel version. I want to install the kernel version 5.15rc3 but the problem is that after I download the .deb packages from the ...
1
vote
0
answers
8k
views
/lib64/libc.so.6: version 'GLIBC_2.14' not found in Redhat 6.5, for running a software in non-desktop version of Linux
Whenever I try to run a software, my red hat 6.5 Linux server displays
grok :/lib64/libc.so.6: version 'GLIBC_2.14' not found (required by grok)
(grok is a file which I use need to run my simulation ...
1
vote
0
answers
2k
views
Is there a glibc-compat or equivalent for CentOS 8?
I'm a new maintainer for an old codebase written in C++, targeting the C++0x standard, with several gcc and g++ dependencies in the code. I'm concerned about keeping the dependencies of this program ...
1
vote
0
answers
351
views
Using libhugetlbfs to transparently back up glibc malloc calls in a multi-threaded application
I'm trying to back up the memory allocations of a multi-threaded application with 1GiB hugepages using libhugetlbfs. However, only the main thread allocations are being assigned hugepages. If I ...
1
vote
0
answers
844
views
mono dependencies on CentOS 7
I am trying to install mono as described here. In the root shell...
su root
I tried following command
yum install mono-devel
as mentioned on the web-page, but got stuck at installation of ...
1
vote
0
answers
324
views
Making a CentOS 6.x installation compatible with Xilinx ISE 14.7
I would like to run version 14.7 of Xilinx ISE, which is a closed-source software. When it originally came out in 2013, it was supposed to be running on RHEL 6, so I think using CentOS 6.x should be ...
1
vote
0
answers
669
views
does software requiring newer version of glibc = Operating System update?
I am trying to test a newer version of a software package and get this error message when trying to launch
Error: unsupported version of GNU C Library (glibc)
minimum supported version : 2.12
...
1
vote
0
answers
483
views
How to install glib2.14 in centos along with existing glib in centos 6.7
I wont able to run my electron app in centos 6.7 which says,
G_LIB2.14 and G_LIB2.15 not found... i gone through many sites since which says updating glib was not a good method will affect other UI ...
1
vote
0
answers
599
views
upgrading GNU libc (Debian Sid)
I'm running Debian/Sid/x86-64 on my desktop (mostly for development tasks). Current kernel is Debian 4.12.13
I'm quite interested by the latest features of GNU libc 2.26
The current libc on my ...
1
vote
0
answers
376
views
How to add variables to getconf?
According to the getconf man page:
NAME
getconf — get configuration values
SYNOPSIS
getconf [−v specification] system_var
...
DESCRIPTION
In the first synopsis form, ...
1
vote
0
answers
2k
views
Installation of glibc in my directory
Hi for the reason here, I would like to install glibc in my own directory.
I tried to follow the "HOWTO" here
wget http://ftp.gnu.org/gnu/libc/glibc-2.7.tar.gz
tar xzvf glibc-2.7.tar.gz
wget https:/...
1
vote
0
answers
1k
views
Applications reporting "Illegal instruction" after upgrading glibc
Background Info:
Linux OS: Stripped down, minimalistic and very customized (no apt-get, yum, etc)
Linux Kernel: 2.6.19.1
Current glibc version: 2.3.6
Target glibc version: 2.6.1
Issue:
...
1
vote
1
answer
570
views
Constraints on gcc / glibc versions between build and run
Probably a basic question but I did not manage to find a clear answer to it:
Let's say I am compiling a code (with some parts in C) on a build server and run it on a different server. The build ...
1
vote
0
answers
658
views
Ubuntu unzip error: sysmalloc assertion failed
I'm trying to unzip a multipart zip file (that I had originally zipped in Windows using WinRAR). The file consists of 4 parts: me.zip and me.z01, me.z02, me.z03 and me.z04.
The command I'm using to ...
1
vote
0
answers
1k
views
Building glibc doesn't produce 64 bit libc.so.6
I'm trying to build glibc with a 64bit version of libc.so.6 since a library I'm trying to use wants glibc_2.14+ but it isn't provided because the system I'm running on I don't have root access and the ...
1
vote
0
answers
990
views
OpenEmbedded: root account doesn't exist!
I'm using the current OpenEmbedded system from: http://git.openembedded.org/openembedded-core/tree/
(For what it's worth, I'm also pulling in layers from http://git.openembedded.org/meta-openembedded/...
1
vote
1
answer
271
views
Need general guide on how to build Linux Stream (LiS) under RedHat 6.2
Day 1
I have hit into some error, and the build simply fail, saying that there is some conflict. Thus I believe a .o file cannot be made and then result fatal error during linking, anyone have steps ...
1
vote
1
answer
7k
views
`GLIBC_2.34' not found
I am trying to run an up in my raspberry pi (4b with latest bullsey) which I have cross-compiled.
The error am encountering is: “/lib/arm-linux-gnueabihf/libc.so.6: version `GLIBC_2.34' not found”
...
1
vote
1
answer
3k
views
Problems running glibc 2.14 on RHEL6
I am trying to run the latest version of the Android SDK on an RHEL6 box. I am getting errors that I need GLIBC 2.14. So I installed GLIBC 2.14 in /opt/glibc-2.14.
I have set the LD_LIBRARY_PATH=/...
1
vote
1
answer
4k
views
How to fix ld-linux-x86-64.so.2 CRC mismatch?
Not sure how I came to getting this problem but for some reason ld-linux-x86-64.so.2 is reporting a CRC mismatch and it's effecting a program that I cannot open which results in a segfault.
the ...
0
votes
0
answers
15
views
Upgrading libstdc++ to Include GLIBCXX_3.4.30 on Oracle Linux 9.4 AArch64 for Amazon Q Extension Compatibility
Has anyone successfully added GLIBCXX_3.4.30 to Oracle Linux 9 (specifically version 9.4 on AArch64 architecture)? I am encountering a version mismatch error when trying to run the Amazon Q extension ...