Stack Exchange Network

Stack Exchange network consists of 174 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.

0
votes
1answer
29 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
33 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
39 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
108 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
31 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
59 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
78 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
58 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
84 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
58 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
558 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
70 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
50 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
632 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
59 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
498 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
31 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
83 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
156 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
35 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
673 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
384 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
360 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
239 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
71 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
279 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
119 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
67 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
259 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
143 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
598 views

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

Someone please help me understand the below C error, *** glibc detected *** /path/readnbn: double free or corruption (!prev): 0x00000000007bed40 *** ======= Backtrace: ========= /lib64/libc.so.6(+...
1
vote
1answer
114 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
3k 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
223 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
412 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
201 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
221 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
135 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
692 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 ...
0
votes
0answers
131 views

How to install a recent browser with TLS 1.2 encryption on old version of Linux

I want to install a recent Browser with TLS 1.2 Encryption on an old OS with old (2003) hardware. The hardware is an Intel Pentium 4 1.60GHz, and I am running Linux kernel 2.6.21.5 on Slackware 12.0. ...
1
vote
0answers
109 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
205 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
918 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
620 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 ...
0
votes
1answer
304 views

How to perform argument parsing in C? [closed]

I am trying to write an utility that runs on linux Operating System. I am planning to develop it using C. I have lots of doubts striking me. I would like to ask some of it. Questions 1: How can I ...
1
vote
1answer
2k views

Installing Tensorflow on CentOS 6.9 (GCC, GLIBC, and binutils problem)

I have been having a tremendous trouble installing Tensorflow on CentOS 6.9. I tried to follow the instruction installing Tensorflow on CentOS using Anaconda3 (naturally for Python 3, Python 3.5.3 ...
0
votes
1answer
1k views

Upgrade to GLIBC 2.14 on CentOS 6

How can I upgrade to GLIBC 2.14 on CentOS 6? I am currently running 2.12.
0
votes
1answer
1k 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
1answer
103 views

How to check whether a binary potentially accesses internet without running it?

Is there a reliable way to check whether a binary executable potentially tries to access the internet (e.g. to phone home) prior to running it? I guess that many binaries use ioctl / socket / connect ...