The GNU C Library (glibc) is an implementation of the standard C library and POSIX API used in the majority of Linux operating systems.
Questions tagged [glibc]
70 questions
45
votes
5 answers
How to disable AAAA lookups?
... to compensate for broken DNS servers that are outside our control.
Our problem: We deploy embedded devices that collect sensor data at various, mostly IPv4-only sites. Some sites have poorly maintained networks, e.g. misconfigured or otherwise…
Nils Toedtmann
- 3,202
- 5
- 25
- 36
18
votes
1 answer
Do I have to restart after a library update on Linux?
Yesterday's CVE-2015-7547 lead me to the question whether I have to restart all applications and services linked to glibc after installing the glibc update?
Or more generally, in terms of security, is it advised to restart all applications or…
Bob
- 393
- 3
- 8
15
votes
4 answers
safely upgrade glibc on CentOS 7
I've tried a python application on my CentOS machine and it gives me the following error:
ImportError: /usr/lib64/libc.so.6: version `GLIBC_2.18' not found (required by /tmp/_MEI2BYIr4/libstdc++.so.6)
I've been tempted to upgrade GLIBC, but after…
Paco el Cuqui
- 199
- 1
- 1
- 8
10
votes
2 answers
Install libxml2 2.7.X on CentOS 5.X
CentOS ships with libxml2-2.6.26. I have to install at least 2.7.X version.
I downloaded RPMs for libxml2, libxml2-devel and libxml2-python (2.7.8) from XMLSOFT (http://xmlsoft.org/sources/).
I am trying to install it this way:
# yum localinstall…
tomekw
- 101
- 1
- 1
- 3
9
votes
2 answers
What can go wrong with a GLIBC upgrade?
I recently installed a piece of software that my group needs for a research project starting next September. Turns out the software has a known crash bug when used with glibc 2.12.1. My boss asked if we can upgrade glibc on the server that's…
Sevenless
- 193
- 1
- 5
8
votes
2 answers
Linux: Block IPv6 for certain applications / hostnames
Problem and aim
We don't get IPv6 from our ISP thus I have an IPv6 tunnel which works fine but is, of course, not very fast. And not really reliable. I like to have IPv6 available "just in case" but I want certain hosts (domains) to be connected…
Hauke Laging
- 5,157
- 2
- 23
- 40
6
votes
2 answers
glibc 2.7 on CentOS 5.5?
I'm trying to run a program that requires glibc 2.7, but I'm running it on CentOS 5.5. Is there any way to do this? I can't upgrade to CentOS 6.
CommunistPancake
- 197
- 1
- 1
- 6
5
votes
2 answers
5 second resolving delay
Using wget (curl, httplib2) I always get a 5 second resolving timeout. This issue doesn't arrive when I do wget -4 or wget -6. Resolving also works using dig or host. Delay can be lowered using "options timeout:2" in /etc/resolv.conf
The strace…
Stefan de Konink
- 61
- 1
- 4
4
votes
2 answers
Prevent additional DNS queries when "search" is not set
The host in question is running Arch Linux with hostname set to foo.example.org. There is no search directive in /etc/resolv.conf.
If I ping example.com or curl example.com or wget example.com (example.com does not exist, NXDOMAIN), there would be…
Zhuoyun Wei
- 370
- 2
- 3
- 11
4
votes
0 answers
Why does `ldd` resolve `libc.so` to `ld.so`?
On my machine, ldd is showing libc.so.6 resolve to /lib64/ld-linux-x86-64.so.2
ldd binary
/lib64/ld-linux-x86-64.so.2 (0x564329071000)
libdl.so.2 => /lib64/ld-linux-x86-64.so.2 (0x564329071000)
libz.so.1 => /lib/libz.so.1 (0x7f7b1e631000)
…
Michael Gummelt
- 185
- 5
4
votes
2 answers
Missing locales on CentOS 7
We are running a Werewolf cluster and the node images are missing the locales. Only C and POSIX are available. The system uses CentOS 7 as base.
It isn't really an issue but it's a very annoying to receive warnings at each command, like…
Vinícius Ferrão
- 5,400
- 10
- 52
- 91
4
votes
1 answer
glibc-compiled programs on CentOS 6.7, will they also run on CentOS 5.10?
We have a grid computing environment, comprised primarily of CentOS 5.10 hosts, that people compile applications on and then run them.
We're mulling an upgrade to CentOS 6.7 and we're wondering if glibc on it would be backwards-compatible with…
Nobilis
- 143
- 5
4
votes
1 answer
GLIBC 2.6 on Centos 5.8
There are many discussions about glibc on CentOS on serverfault but I couldn't find one directly related to these: I have CentOS 5.8 server and I would like to install G-WAN. It requires GLIBC 2.6, I have 2.5 right now.
Does CentOS 5.8 support GLIBC…
fiatux
- 41
- 1
- 2
3
votes
2 answers
upgrade glibc on RHEL4 without breaking anything
I have a static version of wkhtmltopdf which requires glibc-2.4
wkhtmltopdf: /lib/tls/libc.so.6: version `GLIBC_2.4' not found (required by wkhtmltopdf)
I have apt installed with the DAG repos. Other than that the server is pretty stock standard…
SpliFF
- 394
- 2
- 7
- 24
3
votes
0 answers
Install libxml2.8 on RHEL 6
I want to install the software TinyOWS on a RHEL 6 server. I followed the instructions:
wget http://download.osgeo.org/mapserver/tinyows-1.1.0.tar.bz2
tar xvjf tinyows-1.1.0.tar.bz2
cd tinyows-1.1.0
./configure
make
make install
But I couldn't…
jirikadlec2
- 131
- 1
- 6