Questions tagged [glibc]

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

Filter by
Sorted by
Tagged with
1
vote
1answer
31 views

Nvidia driver installation error

I'm new to the Linux world and I have a problem that is ruining my experience right now. I have installed Linux Mint 19.3 on my Laptop and immediately noticed a lot more battery drainage compared to ...
3
votes
1answer
147 views

Why is the integer value of SIGRTMIN (first real-time signal) 34 and not 32? [duplicate]

Examining the output of kill -l command $ kill -l 1) SIGHUP 2) SIGINT 3) SIGQUIT 4) SIGILL 5) SIGTRAP 6) SIGABRT 7) SIGBUS 8) SIGFPE 9) SIGKILL 10) SIGUSR1 11) SIGSEGV 12) SIGUSR2 13) ...
3
votes
0answers
119 views

Is sigprocmask() not working correctly?

(Sorry for the long post but I wanted to be as accurate as possible) I was trying to print the signal mask of the main thread while writing a C program, when I came across something strange regarding ...
25
votes
2answers
4k views

Why doesn't the Linux kernel have optimized functions like glibc does (e.g., memchr, strchr)?

When I try to implement the C string library myself, I found that glibc and the Linux kernel have a different way to implement some functions. For instance, glibc memchr and glibc strchr use some ...
0
votes
0answers
15 views

Why can't I use openmp after installing glibc2.14

I want to compile a software with icc, but he needs glibc2.14. Before glibc was installed, openmp was used, and 24 cores could be effectively used. But after I installed it, I didn't use icc, he also ...
1
vote
2answers
130 views

Compiling GCC against a custom built GLIBC

I was trying to compile GCC 9.2 against a custom built GLIBC 2.30. I have installed GLIBC in a non-standard location. Then I have followed these steps to compile GCC: sfinix@multivac:~$ GLIBCDIR=/...
0
votes
1answer
40 views

LFS - Should Glibc be patched in Section 5.7?

I'm currently working my way through the Linux From Scratch (LFS) book, but I'm a bit confused about when to apply patches. In Section 5.7 the goal is to build glibc. The section have a pretty ...
0
votes
0answers
60 views

Problem using ./ld-linux-x86-64.so.2 with newer glibc

I recently compiled a glibc newer than the one I keep on my system, with the purpose of running a pre compiled binary. When I try to run it with: ./ld-linux-x86-64.so.2 /media/34GB/Arquivos-de-...
3
votes
1answer
115 views

How/Shall I keep libc and kernel in sync?

If I compile latest kernel from kernel.org, make a deb package and install it on my Debian system, shall I worry about libc (and any other libraries?) and kernel being out-of-sync? I vaguely ...
1
vote
0answers
32 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 ...
2
votes
1answer
43 views

Which package contains libc manpages?

Which package does contain manpages for standard C functions? I have installed glibc and gcc but there are only POSIX manpages. I mean manpages like strlen.
0
votes
0answers
11 views

How does glibc's ptmalloc2 determine if small freed heap allocations (<= 88B) are put in fast or small bins?

How does glibc's ptmalloc2 determine if small freed heap allocations (<= 88B) are put in fast or small bins? I'm trying to understand how the glibc ptmalloc2 heap allocator works, and so have ...
0
votes
0answers
201 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 ...
0
votes
0answers
81 views

GLIBC update broke server SSH

One of the users upgraded GLIBC version from 2.12 to 2.14 on a RHEL 6.10. Now the SSH is not working as well as we are not able to log in via vCenter. This message displayed at the console in vCenter ...
1
vote
0answers
55 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. ...
3
votes
1answer
873 views

How do I change the output of `date` back to 24-hour format?

Apparently a recent change (in Glibc 2.29?) causes the date command to start printing times in 12-hour format: $ date Fri 23 Aug 2019 07:34:13 PM PDT This is for my default locale $ cat /etc/locale....
0
votes
1answer
387 views

Check the actual glibc version used

I want check the glibc version used by toolchain to build code for the target system (ARM). In toolchain directory I tried strings /sysroot/lib/libc.so.6 | grep GLIBC the output is GLIBC_2.4 ...
0
votes
0answers
40 views

building glibc for old kernel

I configured build with this command and built it using make Now I'm trying to create deb package with this settings but i failed with this error FATAL : kernel too old how can i do it?
0
votes
1answer
349 views

steam / libc6 (i386) installation fails

uname -a returns Linux mypcname 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux lsb_release -a returns Distributor ID: LinuxMint Description: Linux ...
0
votes
1answer
156 views

Failed sanity check at LFS 5.7.Glibc-2.29

I want to cross-compile LFS on CentOS v. 7.6.1810 with no sudo rights (I want to customize my environment on server). One problem is that globally a lot of packages are outdated (for instance, python ...
0
votes
0answers
26 views

Strange error when compiling lightdm-gtk-greeter-2.0.3.tar.gz

I got the error when compiling lightdm-gtk-greeter-2.0.3.tar.gz as below make[2]: Leaving directory '/sources/lightdm-1.24.0/lightdm-gtk-greeter-2.0.3/po' Making all in src make[2]: Entering ...
0
votes
1answer
113 views

Error building Docker container images on CentOS 7

I'm trying to build a CentOS 7 Docker container from a minimal template as below FROM centos:AUTO_SELECT_VERSION RUN yum -y install yum-plugin-ovl \ && yum -y install lsof perl file tar ...
3
votes
1answer
292 views

Why does glibc need kernel headers?

Why do programs like glibc need the Linux Kernel headers? The Linux API is provided via syscalls, and other libc implementations such as musl do not require these headers. What makes glibc special?
0
votes
0answers
269 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....
2
votes
1answer
6k 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
3k 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
438 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
65 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
716 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
40 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 ...
0
votes
1answer
467 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
2k 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
470 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
1k 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
1answer
301 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 ...
2
votes
1answer
488 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
359 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.
3
votes
1answer
812 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 ...
6
votes
1answer
322 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
1answer
181 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
414 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
1k 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
548 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
289 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
918 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
100 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
282 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
3k 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
183 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
1answer
3k 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
2 3 4 5