Questions tagged [glibc]

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

0
votes
0answers
12 views

install glibc to specific folder with gcc in specific folder

There is no answer in installation-of-glibc-in-my-directory OS: x86_64. cat /etc/redhat-release Red Hat Enterprise Linux Server release 6.3 (Santiago) Things I want to do: installing glibc-2.23....
0
votes
1answer
61 views

libc6 does not want to update to 2.29

I tried to install KiCad after i updated my Debian box to Debian 10, but i got the following error. The following packages have unmet dependencies: kicad : Depends: libc6 (>= 2.29) but 2.28-10 is to ...
2
votes
1answer
118 views

GLIBC_2.29 can not be found for avrdude even after downloading it

I have a bit of a struggle with using avrdude to flash my microcontroller. It dependends of libm.so.6 GLIBC_2.29 which it cannot find. It looks under /usr/lib/libm.so.6 where this file does actually ...
1
vote
1answer
52 views

glibc-2.14 compatibility

I'm developing an python application for my company on a RHEL 7.4, development environment. In my prod env, I'm running a RHEL 6.8 (soon to be upgraded). The problem is that I ran my application on ...
0
votes
0answers
30 views

What is “arm-linux-gnueabihf/ld-2.24.so”?

When i $ file /bin/bash on my raspberry, it says interpreter arm-linux-gnueabihf/ld-2.24.so Is it an "ELF shared object" or a "binary program as Dynamic linker"?
3
votes
1answer
230 views

Unable to update glibc to the latest version

We use Katello/Satellite 6 to manage our repos/pkgs and subscribe our servers to it. In the Katello Web UI it says that glibc-2.12-1.212.el6.x86_64 and glibc-common-2.12-1.212.el6.x86_64 is an ...
0
votes
0answers
32 views

Browsers recomendations that work without “modern” glibc and libstdc++

Recently a website that I use was modified, and with that, I can no longer bid on an auction I participate in. I use an Firefox 30, a Firefox 45 and a Palemoon 27.9.4, but neither works anymore. To ...
-1
votes
1answer
111 views

Understanding glibc versions

In the enterprise class of Linux OS's, SLES 11.4 uses glibc 2.11 SLES 12.3 I think uses glibc 2.19 RHEL 6.10 uses glibc 2.12 RHEL 7.6 uses glibc 2.17 source for glibc is currently at 2.29 I was ...
-1
votes
1answer
88 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 ...
2
votes
2answers
188 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
305 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
113 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
68 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
169 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
230 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
329 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
245 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
176 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
68 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
87 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
268 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
622 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
214 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
105 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
794 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
75 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
97 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
2k 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
103 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
2k 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
78 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
185 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
348 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
54 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
2k 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
991 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
688 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
287 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
139 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
421 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
177 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
2answers
387 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
187 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
882 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
154 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
5k 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
384 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
551 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
290 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 ...
4
votes
2answers
306 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 ...