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

learn more… | top users | synonyms

0
votes
1answer
30 views

Running C++11 library with older libc

I have written a shared library using C++11 features, compiled with gcc 4.8, libc 2.18, which needs to be run on a client's CentOS 6 machine, which has gcc 4.4.7, libc 2.12. There are some symbols in ...
4
votes
3answers
7k views

Yum says a package is installed, and not installed, and it's blocking other packages from being installed

I am trying to install a new package (glibc-static), and I get the following error ---> Package nss-softokn-freebl.i686 0:3.14.3-18.el6_6 will be installed --> Finished Dependency Resolution ...
0
votes
1answer
36 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 ...
18
votes
5answers
17k views

Why is almost every program complaining about my locale?

I'm using Arch Linux, and I've followed the directions on the wiki about setting my locale. Nearly every program that runs complains about the locale - even locale. It looks like this: % locale ...
1
vote
1answer
44 views

Compiling Apache with another glibc version

My system has an old glibc version. I compiled the new version [2.23] into /FaF/glibc. Due to the fact the new glibc version is not compatible with SLES 11 SP2 & SP3 I have to use the linker ...
1
vote
0answers
10 views

How to compile latest sources using older gcc glibc versions and run them? [migrated]

I'm able to compile & run the latest "stockfish chess engine" sources using GCC 4.8 or later on Redhat EL 7.X. The latest source code (alongwith README) is available at https://github.com/...
3
votes
2answers
3k views

Cannot update glibc on CentOS 7

I have CentOS 7 installed. I want to install the APR package for Apache, and I'm told I cannot install it because it requires at least glibc.2.14 while I have glibc.2.12 installed. I have downloaded ...
2
votes
1answer
541 views

can not install mysql-server on centos 6.7 32bit . Error: need rpm?

when I try to install mysql-server on centos with this command: yum install mysql-server server replies: Loaded plugins: fastestmirror, security Setting up Install Process Loading mirror speeds ...
1
vote
0answers
28 views

How to make “sudo” command work? [closed]

I tried to change symbolic links of libz files in lib64. Previously it was: libz.so.1 -> libz.so.1.2.3 Now it is: libz.so.1 -> libz.so.1.2.7 When I try to use sudo and change it back, i ...
0
votes
1answer
27 views

Updating glibc to 2.21 on CentOS

I'm not very experienced with Linux, so please bear with me. I need to install MySQL 5.6 on a CentOS box. I found what seemed to be a simple tutorial, but the first command (sudo yum install my-sql-...
2
votes
1answer
35 views

What would suddenly cause programs to read /etc/ld.so.preload when they start up?

Apparmor enforcement messages have begun appearing in the syslog of a Trisquel 7 machine. The affected programs requested open of the file /etc/ld.so.preload, in read mode and were denied by apparmor ...
0
votes
0answers
20 views

How to install or update GLIBC_2015

I am trying to run Telegram messaging application in Wheezy 7.9.0. When I run it using bash (./Telegram), the following output is shown : /lib/i386-linux-gnu/i686/cmov/libc.so.6: version `GLIBC_2.15' ...
0
votes
0answers
80 views

Non-Root Container

I'm attempting to create some kind of gentoo "subsystem" without root permissions. I've encountered a problem with my approach and I'm wondering if it's possible to do or not. The way I'm attempting ...
0
votes
0answers
18 views

How can I compile a more compact glibc?

While trying to create an x86-64 appliance, I naturally wanted to compile glibc 2.23. I managed to do so through mkdir build cd build ../configure --enable-kernel=2.6.32 --with-headers=/path/to/...
7
votes
2answers
787 views

SIGINFO on GNU Linux (Arch Linux) missing

I am developing an application and I would like it to print some runtime stats to the console on demand. kill and signals came to my mind immediately. Reading through Unix signals on Wiki, SIGINFO ...
1
vote
0answers
211 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 ...
3
votes
1answer
356 views

Locally-installing glibc-2.23 causes all programs to segfault

I'm trying to upgrade glibc on a system on which I do not have root access. Therefore, I'm installing to a local prefix. I would like some help understanding best practices for setting this up, as ...
0
votes
0answers
58 views

Can I run an application using a different libc version?

Is there a way to make an application use a specific libc instead of the libc my system normally uses? I sometimes participate in CTFs and the minor differences in behaviour between libc versions can ...
0
votes
1answer
384 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
0answers
12 views

Compiling Glibc, differently

I'm attempting to compile and package Glibc for what may eventually become my own Linux distribution. --with-headers=directory allows me to tell Glibc that the kernel headers are in a different place....
0
votes
2answers
102 views

Is Chromium OS a GNU/Linux distro?

I want to ask, if Chromium OS is a GNU/Linux distribution or is it a non-GNU Linux-based operating system like Android, webOS or Syllable Server. Does Chromium OS use GNU C Library, GNU coreutils etc.,...
2
votes
2answers
95 views

Ghost vulnerability - recompile C/C++ programs?

I've CentOS 6.0 server with glibc-2.12-1.7.el6.x86_64 running many open source services and some of my own C programs. To fix ghost vulnerability, I need to update it to glibc-2.12-1.149.el6_6.5. ...
3
votes
1answer
179 views

Glibc Patch for getaddrinfo() vulnerability

I have been seeing a lot about the newly discovered vulnerability in the glibc library which can be exploited (albeit with difficulty) by attackers. Here is a (fire and brimstone) article on the ...
4
votes
1answer
167 views

Debian wheezy updates broke tr command [closed]

After I updated the following packages yesterday in debian wheezy, tr command stop working. Start-Date: 2016-02-16 23:10:06 Commandline: apt-get dist-upgrade Upgrade: libkrb5-3:amd64 (1.10.1+dfsg-5+...
0
votes
2answers
10k views

CentOS yum install gcc error: glibc-common conflicts with glibc

I met a problem with installing gcc on my CentOS. Outputs of my command sudo yum install gcc: Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * addons: centos.ustc.edu.cn *...
8
votes
2answers
305 views

Would it be possible to compile and bootstrap GNU?

A new Guix release came out some time ago. And I got the idea that if I can bootstrap glibc, gcc, and guix to HURD and Mach, I can have a non-Linux GNU system. But I also need some software like bash, ...
3
votes
1answer
199 views

Unexpected sort order in en_US.UTF-8 locale

While trying to answer this question about SQL sorting, I noticed a sort order I did not expect: $ export LC_ALL=en_US.UTF-8 $ echo "T-700A Grouped" > sort.txt $ echo "T-700 AGrouped" >> ...
2
votes
0answers
249 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 /...
14
votes
3answers
102k views

Need to install glibc >= 2.14 on Wheezy

I am trying to get Protractor working for performing e2e angular testing, but protractor requires Selenium which requires ChromeDriver which requires glibc 2.14. My current development box is running ...
0
votes
1answer
2k views

How do I install GLIBC in Kali/Debian?

How can I install GLIBC? When I installed Spotify on my Kali 1.0.9a it gives me the following output when I try running Spotify through the Terminal: spotify: /lib/x86_64-linux-gnu/libc.so.6: version ...
1
vote
1answer
665 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="${...
1
vote
1answer
856 views

How to redirect linker share library default path /lib64/libc.so.6, /lib64/libc.so.6: version `GLIBC_2.14' not found

My linux machine is x86_64-redhat-linux. However I am using another arm tool chain aarch64-linux-gnu-gcc on this machine to build(I don't need to run what I build on this machine, just build, so it ...
0
votes
1answer
2k views

How to update libc(glibc) on kali linux (debian based)?

I get the following error when I try to run armitage, and furthermore I get errors when i try to install certain packages or when I run certain software. root@Xeno:~# armitage Exception in thread "...
1
vote
0answers
2k 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/...
0
votes
1answer
26 views

How can I check whether my cross-compilation of a dynamic library has been done correctly?

I used my arm toolchain to compile the glibc library, I have already deployed this on the target device (linux) with no issues. How can I be sure that my compilation and deployment is done correctly ...
1
vote
0answers
127 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 ...
0
votes
0answers
81 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
2answers
372 views

“GLIBC” can not be used when I have installed the gcc 5.1.0

When I have installed gcc 5.1.0, I found lots of my programs cannot be used, such as firefox, gnome: they will give me a message "GLIBC_2.1X not found". Now the version of GLIBC is higher than before, ...
2
votes
0answers
62 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 ...
3
votes
1answer
436 views

Can't compile glibc for 64 bit system

I'm trying to compile glibc-2.16 statically for x64 system, ../configure --enable-kernel=2.6.9 --prefix=/run/shm/libc-static-64 --enable-static --enable-shared --host=i486-linux-gnu --build=i486-...
2
votes
1answer
242 views

Find out glibc compilation options

I want to find out which compiler/linker options were used to compile the GNU C Standard Library (glibc) when installing Linux. In particular I want to get the same result of the archive libc.a when ...
2
votes
1answer
317 views

How to find out which package of libc6 I need?

I am running into following error: version GLIBC_2.14 not found version GLIBC_2.15 not found when trying to install software I need. Therefore, I decided to upgrade libc6 on my debian (Linux ...
5
votes
1answer
6k views

How can I downgrade a glibc version?

I upgraded glibc for a reason that isn't around anymore so I want to downgrade it. The stupid thing is a lot of programs rely on glibc at the moment. I still have the 2.4 version on the system as the ...
1
vote
2answers
27 views

What's the advantage of locale archives over locale files spread out in directories?

I am quite curious about why locale-archive files are preferred in many Linux distros and what and to which extent its advantage over compiled files for each locale would be.
1
vote
3answers
91 views

New signal arrives while execution is in a signal handler, how to decide which is first?

I am working on a tool handling a massive amount of signals (with different signums) with sigaction(). I need to handle the case, if a new signal is coming, while the previous was in a signal handler....
1
vote
2answers
64 views

Specifying local libc does call global libc?

If I run the command foo specifying a a different libc to use as follows: LD_LIBRARY_PATH=$PATH_TO_MY_CUSTOM_LIBC foo Is the globally defined libc used to run any of the command given above? For ...
1
vote
0answers
132 views

How to manually upgrade libc6?

I have a live linux distro, taken from this article. My working linux is Ubuntu 14 x64 where I build the live distro. I need to add an application to distro, so I copied executable to bin folder, ...
4
votes
1answer
5k views

Upgrading Ubuntu 14.04 to glibc 2.20 or greater

I have an application written in Go that is crashing frequently and I think it's related to an issue that was fixed in glibc 2.20. My Ubuntu 14.04.3 LTS has glibc 2.19 according to ldd --version. I'...
34
votes
2answers
1k views

Why and how are some shared libraries runnable, as though they are executables?

On 32-bit Linux systems, invoking this $ /lib/libc.so.6 and on 64-bit systems this $ /lib/x86_64-linux-gnu/libc.so.6 in a shell, provides an output like this: GNU C Library stable release ...
0
votes
1answer
247 views

RedHat Glibc - multiple packages

Before I jump into the issue, I am using RedHat 6.5 and have no access to the internet to download yum updates due to environment restrictions. All I have in this case is the CD ROM (RHEL 6.5) to ...