Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [glibc]

glibc is GNU's implementation of the Standard C library.

-1
votes
1answer
31 views

Static linking libc, possible or not, recommended or not?

I see this line in my binary: 0x0000000000000001 (NEEDED) Shared library: [libc.so.6] Shouldn't I rather get rid of it? Actually more confusingly, why is it there in the first place, I ...
1
vote
1answer
41 views

glibc need the OS has 2.29 and I have 1 app that needs 2.27 max how to solve so both work?

Opensuse tumbleweed comes with glibc2.29, and so everything else in the system is dependant on it. However, I have CrashPlanDesktop and it needs 2.27 max. I found an opensuse repo with 2.27 easily. ...
1
vote
1answer
53 views

All debian main commands broken by glibc

Here is the thing. I'm lost. I downgraded from Debian 10 buster (testing) to Debian 9 stretch (stable) by editing the /etc/apt/sources.list file. I typed : apt-get update apt-get upgrade apt-get ...
0
votes
0answers
40 views

Cross Compiling GCC - 'glibc' on windows for linux platform

I am trying to cross compile the gcc for linux - i686-elf platform from windows PC. As per the toolchain steps, I have successfully compiled: binutils using /binutils-x.y.z/configure --target=$TARGET ...
0
votes
1answer
40 views

How to install man pages for certain libc functions?

In the past, from time to time, while developing Linux software, I have noticed that some man pages which deal with developer documentation are missing on my systems. This happens mainly on Debian ...
0
votes
1answer
69 views

How does __USE_MISC referenced in glibc work?

I'm just wondering how __USE_MISC works and where it's documented. I see a bunch of functions inside .h files require it and mention it. But it seems something is actively undefining it and I would ...
0
votes
1answer
110 views

I want to update the glibc version from 2.17-222.el7.x86_64 to 2.17-260.el7

I want to update the glibc version from 2.17-222.el7.x86_64 to 2.17-260.el7. Will there be any effect ? IS 2.17-260.el7 compatible to centos 7.2 as all my machines are in centos 7.2 only.
1
vote
1answer
106 views

How does glibc within a Docker image survive different container host kernels?

Docker containers share the kernel of the host, but they do include their own applications and libraries. Is it correct that glibc is one of these libraries? If so, how come there is no problem of ...
0
votes
0answers
89 views

locale & locale-gen: command not found, probably a problem with GCC? - void linux

I have a problem with my system - void linux. At first I have found that one app wasnt working correctly. When I tried to edit the Flameshot configuration by right-clicking on its icon and clicking "...
6
votes
1answer
132 views

ld.so.cache and libc.so.6 memory-mapped for every call?

Playing with strace, it appears to me that ld.so.cache and libc.so.6 are opened and mapped to memory for almost every process. At least those processes that I experimented with. Doesn't this mean ...
0
votes
0answers
42 views

building glibc 2.16 from source throws error

I am trying to build glibc-2.16.0 from source following these steps. The configure step worked fine but when I run make it results in an error /tmp/ccZNttGz.s: Error: `_obstack@GLIBC_2.2.5' can't be ...
0
votes
1answer
64 views

Why OS needs explicit support for musl?

Kernel has API based on interrupts and magic numbers. This API is too low-level and unfriendly for programmers, so libcs were invented. They expose functions, which are handy and call kernel API ...
0
votes
1answer
179 views

Update the glibc package Error

I was asked to fix the vulnerabilities for RHEL 7: GLIBC(RHSA-2018:3092). Based on the output given by Nessus. Remote package installed : glibc-2.17-222.el7 Should be : glibc-2.17-260....
-1
votes
1answer
220 views

GLIBCXX_3.4.20 not found

My issue is: Failed (/usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by plugins) I have installed g++ (GCC) 4.9.1 20140922 (Red Hat 4.9.1-10) and centos version 6.10 (64 bit)
0
votes
1answer
159 views

Arch Linux - pacman -Syu failed - cannot issue any commands

I was running a full system update. Said update failed abruptly, with the last package modified seemingly being the removal of glibc. Now, nothing works. System built-ins such as cd still work, but on ...
1
vote
2answers
78 views

Why do some libc symbols have WEAK binding and others GLOBAL?

Why are different symbols in libc declared with different bindings, 1510 0x0003d200 0xf7d55200 WEAK FUNC 55 system 454 0x00067b40 0xf7d7fb40 WEAK FUNC 474 puts 147 0x000303d0 0xf7d483d0 ...
0
votes
1answer
717 views

Glibc requirement update for Dropbox

Dropbox recently updated their glibc requirement to version 2.19. Centos 7 has version 2.17. It seems not to be a good idea to replace glibc manually. Is there any other workaround?
1
vote
1answer
72 views

Why the same executable in different location loaded different libc.so

I compiled a simple C(only contained an empty main function) file into a.out, and run it in different loaction: user@host:~$ md5sum /home/work/a.out /tmp/a.out dcbdb836569b99a7dc83366ba9bb3588 /home/...
0
votes
2answers
67 views

Glib-2.28 RPM package dependency problem

On rpmfind.net's page for glibc-2.28.9000-6.fc30 RPM for i686, libc.so.6(GLIBC_2.28) is listed under both "Provides" and "Requires", so it's impossible to satisfy the package dependency?
0
votes
1answer
1k views

/lib64/libc.so.6: version `GLIBC_2.14' not found while upgrading to glibc 2.15

Need upgrading the glibc from 2.12 to 2.15 on a RHEL 6.3 system. [root@ipv-vm rpm]# rpm -Uvh glibc-2.15-60.el6.x86_64.rpm glibc-devel-2.15-60.el6.x86_64.rpm glibc-headers-2.15-60.el6.x86_64.rpm glibc-...
1
vote
0answers
81 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 ...
0
votes
1answer
945 views

How to downgrade glibc-common from 2.17-260.el7 to 2.17-222.el7

I am trying to install gcc on my RHEL 7.6 Beta workstation. At the moment, I am doing it using the command yum install gcc, but I keep receiving this error: --> Finished Dependency Resolution ...
1
vote
1answer
38 views

How can I install a present-day version of glibc on CentOS 5, without disturbing any existing software?

I would like to run present-day versions of git, python, curl, and other common programs on a machine that is permanently stuck on CentOS 5. I have been able to walk the compiler version up far enough ...
0
votes
1answer
122 views

Which distro has glibc 2.2.5 installed default?

I want to know which 64 bit distro has glibc 2.2.5 installed default. I found that debian 3 woody has that version.But I cannot download it. Please suggest how to do and where can I download ISO.
0
votes
1answer
221 views

Why could a call to `getaddrinfo()` fail with `EAI_SYSTEM` and errno set to `EBUSY` (“Device or resource busy”)?

I'm seeing this error when running apt update in containers, if that is useful information. apt spits out: System error resolving 'archive.ubuntu.com:80' - getaddrinfo (16: Device or resource busy) ...
0
votes
0answers
45 views

How to check if `libc`, `font` and `terminal` all agree on Unicode version?

In my case, when I open certain files in tmux such as this file, and have multiple panes, the characters overflow the pane's boundaries. Nicholas Marriott suggested that the libc, font and terminal ...
1
vote
1answer
1k views

How do I install GLIBCXX?

I'm trying to install this software called Skedler. Their documentation mentions GLIBCXX library dependencies but they couldn't be bothered providing installation instructions. GLIBCXX libraries ...
0
votes
2answers
598 views

Where is stddef.h defined in Linux?

If I want to find the values of stddef.h, where is it defined? The /usr/include/linux/stddef.h almost has nothing, /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef ...
0
votes
2answers
467 views

is there any C library equivalent of killall in Linux?

I want to kill other application similar to killall command as I know application but can not get PID at run time. This has to be done in C code. I know kill() but it need PID. Any other way ...
0
votes
0answers
261 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 ...
0
votes
1answer
96 views

glibc install from source doesn't create lib folder [closed]

I am on a redhat box Linux version 2.6.32-696.20.1.el6.x86_64 (mockbuild@x86-042.build.eng.bos.redhat.com) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-18) (GCC) ) #1 SMP Fri Jan 12 15:07:59 EST 2018 (...
0
votes
1answer
335 views

Arch linux: locale issue [closed]

After replacing of glibc with glibc-git the system does not have any locales at all. I've switched back to glibc and it is the same (no locales). Trying to regen the locales I get: # locale-gen ...
1
vote
0answers
143 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 ...
0
votes
0answers
90 views

Facing problem while installing glibc via yum

I have been trying to install glibc and encountered the following problem - [root@APP /]# yum install glib* 'import site' failed; use -v for traceback There was a problem importing one of the Python ...
0
votes
2answers
317 views

vfork() calls SYS_vfork but fork() calls SYS_clone?

After running ltrace -S on two programs that were compiled by gcc (version 5.4.0), one that calls vfork() and one that calls fork(), I find that vfork() calls SYS_vfork whilst fork() calls SYS_clone.  ...
2
votes
1answer
163 views

Should my Linux headers match my running kernel or what glibc was compiled against?

The last time I needed to deal with kernel headers was back in the Pleistocene (2.6 or so) and I remember back then that you needed to match your kernel headers not to the kernel you were running but ...
-5
votes
1answer
733 views

*** glibc detected *** /filepath/ : double free or corruption (!prev): 0x00000000007bed40 ***

I need to understand the below C error, *** glibc detected *** /path/readnbn: double free or corruption (!prev): 0x00000000007bed40 *** ======= Backtrace: ========= /lib64/libc.so.6(+0x76508)[...
1
vote
1answer
129 views

Apt not working due to lack of libstdc++ after Debian upgrade : “`GLIBCXX_3.4.15' not found (required by apt-get)”

I was trying to perform upgrade from Debian 6 to 7.11 (wheezy). I've changed sources.list to: deb http://ftp.debian.org/debian/ wheezy main contrib non-free deb-src http://ftp.debian.org/debian/ ...
1
vote
1answer
4k views

GLIBCXX_3.4.21 in CentOS

I have created c++ application in Ubuntu machine. I have copied binary to Centos machine. Got error: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.21' not found I have installed packages I thought ...
2
votes
1answer
327 views

Performance of calling POSIX-specified functions versus direct Linux kernel calls

In an answer over on Stack Overflow, I provided a code sample to perform some small task referenced in the question. The original question had to do with the fastest-performing technique (so ...
1
vote
0answers
477 views

Version ‘GLIBCXX_3.4.20’ not found [closed]

I have installed VeraCrypt (Raspbian for Raspberry Pi ARMv7) on Western Digital My Cloud (runs ARMv7 processor). When I tried to execute the software, I got the following message: veracrypt: /usr/...
0
votes
1answer
224 views

Why is sigset_t in glibc/musl 128 bytes large on 64-bit Linux?

Why is sigset_t on 64-bit Linux 128 bytes large in glibc and musl? #include <signal.h> #include <stdio.h> int main() { printf("%zu\n", sizeof(sigset_t)); //prints 128 with both glibc ...
3
votes
2answers
263 views

Does kernel need to be compiled in same dev environment as userspace?

Lets say my userspace (packages) are compiled with gcc 4.7 and libc6 2.13 (Debian Wheezy) Can I compile linux kernel under different dev environment, such as gcc 6.3 and libc6 2.24 (ie, under Debian ...
1
vote
0answers
171 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 ...
0
votes
2answers
742 views

Unable to run yum update

Trying to run yum update, and yum update google-chrome-stable but receiving this error. I am actually trying to install mssql tools, and I think it requires me to do this? Anyway I need to be able ...
1
vote
0answers
128 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, ...
0
votes
1answer
226 views

Unable to load Debconf

I'm trying to upgrade libc on an old machine that runs Linux 2 but I get an error: (Reading database ... 7426 files and directories currently installed.) Preparing to replace libc6 2.2.5-11.8 (using ....
13
votes
4answers
1k views

uname is broken: how do I determine the currently running kernel?

> uname -r FATAL: kernel too old > cat /proc/cmdline FATAL: kernel too old There are 3 *.vmlinuz-linux files in /boot. How do I determine which kernel is currently running? Note that I'm ...
1
vote
1answer
1k views

difference between libc6-dev and libc6

libc6-dev:amd64 package in Debian contains all the common header files in C programming like stdio.h, ctype.h, time.h, etc. Am I correct that libc6:amd64, which is as far as I know required by ...
1
vote
1answer
714 views

glibc memory alloction : arenas and debugging

Recent versions of glibc ( from 2.12 ? ) have tunable MALLOC_ARENA_MAX and MALLOC_PER_THREAD. Questions : Is there any difference between MALLOC_PER_THREAD=0 and MALLOC_ARENA_MAX=1 ? Is ...