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

learn more… | top users | synonyms

2
votes
3answers
955 views

Compiling a C program that defines a function getline by GCC

I'm trying to compile by GCC an old C program that defines and uses a function named getline, which conflicts with the function of the same name in the GNU C library. How can you compile it? Passing ...
0
votes
1answer
356 views

Installing glibc 2.3 for mysql server

I need to install mysql server and client for a project of mine so I downloaded the MySQL-client-5.1.61-1.glibc23.i386.rpm for the client and MySQL-server-5.1.61-1.glibc23.i386.rpm for the server. I ...
5
votes
1answer
321 views

Where to find the source file of function pause(void) and sigsuspend(set)

I want to find the source file of pause and sigsuspend in the glibc-2.14.1 package. I grep the package and find the file sysdeps/posix/pause.c has a definition of function pause, the code is int ...
4
votes
1answer
152 views

How/why can Firefox packages work on all Linuxes?

How/why can a Firefox 64bit (or 32bit) package work on different Linux distributions since each Linux distribution has a different version for gcc, glibc, linux kernel, etc. ?
5
votes
1answer
591 views

What is in the output of “getent ahosts”?

What are the fields printed by getent ahosts DOMAIN? The output for getent hosts is a simple combination of IP and hostname. The getent ahosts has an additional third field that is, in all my test, ...
0
votes
1answer
289 views

Is it possible to preload glibc?

One of my client runs a glibc-2.7 based system , and my static linked program wasn't able to start on the target machine, raising an error: ...
2
votes
1answer
254 views

How to set parameter i486 on glibc compiling process of x86_64 system?

My host: lfs@sam:/mnt/lfs/sources/glibc-build$ uname -m x86_64 lfs@sam:/mnt/lfs/sources/glibc-build$ In lfs(LFS-BOOK-6.8-HTML/chapter05/glibc.html) It says case `uname -m` in i?86) ...
3
votes
1answer
1k views

How can I downgrade a glibc version?

I upgraded glibc for a reason that isn't arround anymore so i want to downgrade it again. The stupid thing is a lot of programms rely on glibc at the moment. I still have the 2.4 version on the system ...
11
votes
1answer
3k views

Installing two glibc alongside in debian/ubuntu

Is it possible to install and use two different glibc versions on the same machine. Where one version is only used to run legacy software, which relies on old glibc binaries? Is it possible to do ...
6
votes
1answer
2k views

Can new glibc versions be used with an old kernel?

Apparently glibc can be compiled with --enable-kernel to support older kernel versions. However, I haven't been able to find information on what kernel versions are supported on a particular glibc ...
4
votes
1answer
772 views

EGLIBC vs GLIBC on laptops

From what I understand the primary cause of fork/branch of EGLIBC as compared to GLIBC was the problem with patches for ARM that Debian devs wanted to push upstream. I have slightly different ...