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

learn more… | top users | synonyms

1
vote
2answers
71 views

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

When I have installed the gcc 5.1.0, I found lots of my softwares can not be used, such as firefox, gnome, they will give me a tip of "GLIBC_2.1X not found". Now the version of GLIBC is higher than ...
1
vote
0answers
28 views

Debian: How to resolve relocation error?

I am running Debian 7.1. I tried to apt-get install -f, and messed up. All command line returns ln: relocation error: /lib/arm-linux-gnueabihf/libc.so.6: symbol _dl_find_dso_for_object, version ...
1
vote
0answers
45 views

../lib/libc.so.6: version `GLIBC_2.12' not found

I'm running a debian wheezy (7.8) box and I just ran into a problem with an application that needs `GLIBC_2.12'. The glibc-linking seems confusing to me. Maybe someone can enlighten me? The program ...
0
votes
0answers
27 views

SIGSEV on lots of GUI-software on arch linux. Seems to be glibc related

On my arch linux install, I can't open firefox, evolution, geary, midori and other software. All CLI-stuff I've tried works flawlessly, and also google-chrome-unstable, vlc and others. When ran in gdb ...
1
vote
1answer
22 views

what does elibc_FreeBSD mean in gentoo portage overlays?

I have a gentoo overlay which has been added to http://gpo.zugaina.org/. One of my ebuilds recMD5 now shows the use flag elibc_FreeBSD even though I didn't add it. I am also running into it for a ...
1
vote
1answer
40 views

Antergos libpthread causes segmentation faults

A lot of the programs I use on my machine exit with segfaults. Nearly all programs function normally until being closed, at which point they segfault. So far the only two programs that have not worked ...
0
votes
0answers
63 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 ...
2
votes
2answers
39 views

Releasing linux software - compatibility

I want to release a C++ library for Linux. Is it true that (when no other libs are dynamically linked) only the glibc version decides compatibility to other Linux distributions? Is there a better way ...
1
vote
2answers
118 views

How to chroot to provide a new glibc version to an app?

I am trying to run a program, but when I execute it the following error appears : ./app: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by ./app) At first I read to ...
2
votes
1answer
42 views

How do I create executables that can work on old systems on modern distros?

Typically even old programs (copied from systems with Linux kernel version 2.4) just run file on modern Linux systems, unless they depend on a lot of libraries or use frameworks. New programs, (often ...
33
votes
4answers
1k views

Does bash open files in O_APPEND when using “>>” on linux?

If we use echo 1234 >> some-file then Documentation says that the output is appended. My guess is that, if some-file does not exist, then O_CREAT will make a new file. If > was used, then ...
0
votes
1answer
22 views

Suse: How to update a single package in SLES10 SP4

I am in the middle of an activity and have never worked with SLES10 SP4 In SLES11 zypper update glibc* update all glibc packages .. but this is not working in SLES10 SP4 .. can someone tell me how to ...
1
vote
0answers
347 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 ...
0
votes
0answers
109 views

upgrade glibc to 2.7 in Redhat 5

Is it a bad idea to upgrade glibc to 2.7 in Redhat linux? if yes, why is that?
1
vote
1answer
95 views

Run a program with a newer libc

How do I run a program that was compiled against glibc 2.14 on an old system? I'm unable to update anything. Can I download newest glibc and somehow have the program use it instead of the installed ...
1
vote
1answer
308 views

How to fix “skipping incompatible /usr/lib/libc.a”

I get the following error when I try to build an embedded Linux target on a 64 bit Fedora 16 (Verne): make[3]: Entering directory `/export/home/git/minerva-5.x/third_party/multifiles' ...
0
votes
0answers
166 views

Cross compile GLIBC : error: Need linker with .init_array/.fini_array support

Whenever I call glibc configure with --prefix=/usr --with-headers=/var/tmp/ubuild.wandboard-armhf.build_dir/armv7a-hardfloat-linux-gnueabi/sysroot/usr/include --host=armv7a-hardfloat-linux-gnueabi ...
2
votes
3answers
1k 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 ...
2
votes
0answers
47 views

Why does glibc have 2 versions of the same functions? [closed]

I don't fully understand the versioning mechanism of glibc. In what cases do the developers decide a function needs a new version, and that function is no longer "backwards compatible" in glibc and a ...
1
vote
1answer
67 views

How to make my ELF run with both new and old version of glibc?

When I'm compiling my elf, it is "best practice" to make it link against the oldest version of glibc I can, so it will work both on new and old versions of glibc. i.e. if I use realpath, which in ...
1
vote
1answer
117 views

How do I install some required libraries for a program without sudo?

I am trying to run a program on a computer running Red Hat 6.5. This results in the three following errors: "/lib64/libc.so.6: version `GLIBC_2.14' not found" "/usr/lib64/libstdc++.so.6: version ...
2
votes
1answer
68 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. ...
12
votes
1answer
6k views

Ghost Vulnerability - CVE-2015-0235

Does the Ghost Vulnerability require access (as in being a logged in user) to the effected OS in question? Can someone clarify the 'remote attacker that is able to make an application call'? I only ...
2
votes
0answers
162 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 ...
2
votes
2answers
74 views

Location of Language and Locale files

I'm using OpenSUSE 13.2 with GNOME 3.14 Desktop Environment. My interface language is en_US while my locale is ar_SY. My locale contain some wrong data about months names (May and June) and I want to ...
3
votes
1answer
1k 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 ...
5
votes
1answer
7k views

How to update glibc to 2.14 in CentOS 6.5

I want to install Android NDK on my CentOS 6.5 machine. But when I ran the program, it says it needs glibc 2.14 to be able to run. My CentOS 6.5 only has Glibc 2.12 installed. So I tried to update ...
0
votes
1answer
1k 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 ...
7
votes
1answer
1k views

Cross compiling GLIBC for my ARM SoC

I am seeing something really weird inside a chroot-ed Debian armel environment. But first, a bit of backstory... This is long, but the question is complex and any potential help depends on knowing ...
7
votes
2answers
4k views

What is the difference between i686 and x86_64 packages?

I have a machine with both glibc i686 and x86_64, and a very annoying problem with glibc. Is it normal to have two libraries of the same name installed on one computer? How can I know which library ...
2
votes
1answer
260 views

How to install glibc version that corresponds to GCC 4.4 on RHEL5

We have a program with executables built on RHEL6 using GCC4.4 and we need to run it on RHEL5.5. But RHEL5.5, by default does not have the necessary version of glibc. Has anyone faced such an issue ...
1
vote
1answer
145 views

Error while installing glibc-2.14 from source

The version of glibc in the repository is 2.13 so I couldn't use apt-get to install it. I downloaded the source code of glibc-2.14, but when I run ./configure command I get this error: checking for ...
2
votes
1answer
289 views

Building custom glibc and compiling program against it

I've been scouring the internet for a couple of days now to get some information on how to (cross)compile glibc and then compile a program against it. So far, I've managed to compile glibc using the ...
1
vote
0answers
198 views

OpenEmbedded: root account doesn't exist!

I'm using the current OpenEmbedded system from: http://git.openembedded.org/openembedded-core/tree/ (For what it's worth, I'm also pulling in layers from ...
2
votes
0answers
61 views

Determine libc version used to create static library

I am seeing symbol referencing errors with the static libraries I am using (available with OpenSPARC processor). I have glibc 2.15 on my system. How do I determine the version of glibc used to create ...
8
votes
2answers
193 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, ...
0
votes
1answer
85 views

install kernel headers without overwriting old headers

I've built a newer (3.16-rc2) kernel which is running fine. My userspace program needs to link against the newer headers as it uses some new definitions in fcntrl.h etc. My question is how do I ...
6
votes
1answer
658 views

How to rebuild glibc on Arch Linux?

It seems like MATLAB is royally screwed up on Linux, because it "dynamically loads some libs with static TLS", which doesn't mean anything to me other than I get bunches of errors. The suggested work ...
0
votes
1answer
61 views

What are the disadvantages of uClibc?

I try to speed up my boot sequence, and somebody recommends to use the uClibc instead of Glibc. I've built an image with it, it gets smaller and faster to boot — but at which cost? Does anyone know ...
0
votes
1answer
4k views

cmake: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by cmake)

I want to run cmake for a program, [build]$ cmake ../ cmake: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by cmake) I have this error, how i can fix it? I use from ...
3
votes
2answers
1k views

No 32 development library error after install glibc-devel.i686

I am trying to install gcc 4.9.0 on centOS 6. During ./configure there is an error coming up: /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/4.4.7/libgcc_s.so when searching for ...
0
votes
1answer
855 views

LFS-7.5 chapter 6.9 `make check` fails

I am building and installing glibc-2.19 in chapter 6.9 and I encountered this error while executing TIMEOUTFACTOR=16 make -k check | tee glibc-check-log: mv -f ...
1
vote
1answer
302 views

On Debian (64-bit), how do I install glibc that I built from source?

When I tried to do this, my system broke, with every program immediately segfaulting. I believe it's because it installed a new version of ld-linux-x86-64.so.2 in /lib64 but when a program was loaded ...
0
votes
1answer
2k views

Centos 6.5 iconv 2.5 glibc

I'm using Centos 6.5 x64 for developing purposes. I need to install iconv 2.5 but could not find how. Centos 6.5 glibc version is 2.12 On Centos 5.9 glibc version is 2.5 Why newer Centos uses older ...
2
votes
1answer
501 views

LFS 7.5 - Glibc-2.19 compile errors at section 6.9, are they fatal to my LFS build?

I am using a host Ubuntu 14.04 system, and I am currently going through the Linux From Scratch guide here. At section 6.9, http://www.linuxfromscratch.org/lfs/view/stable/chapter06/glibc.html, after ...
0
votes
2answers
79 views

Compiling for Red Hat 5.9

I need to compile a C++ application to run on Red Hat 5.9, but I don't have access to a development server that runs Red Hat 5.9. My current executable compiled on Ubuntu 10.04 produces the error ...
0
votes
5answers
5k views

Why does “yum update” fails with many duplicates, after many months of no upgrades?

After many months (> 6) of no software upgrades, I logged into an EC2 instances running: Linux version 2.6.32-358.23.2.el6.x86_64 (mockbuild@x86-022.build.eng.bos.redhat.com) (gcc version 4.4.7 ...
5
votes
1answer
1k views

Using alternate libc with ld-linux.so hacks; cleaner method?

I have a legacy system with a very old glibc, which we can't upgrade without incurring a mountain of testing/validation work. I have needed to run newer programs (such as Java 1.7) on that system ...
2
votes
0answers
212 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 ...
0
votes
2answers
7k 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 ...