Questions tagged [glibc]

glibc is the GNU C Library, which provides many common and important functions for programs. Almost every program in Ubuntu directly or indirectly depends on this, and will completely fail to run without it. Besides the kernel, glibc is probably the most essential part of the system; even the init daemon requires it. In Ubuntu, glibc is provided by the libc6 package.

Filter by
Sorted by
Tagged with
0
votes
0answers
37 views

Unable to build 32bit glib library on x86_64 machine

i am trying to install 32bit glib library on 64bit x86_64 host. My configure command is :- ../configure CC='/local/common/gcc/v6.3.0p2/bin/gcc -m32' CXX='/local/common/gcc/v6.3.0/bin/g++ -m32' ...
0
votes
2answers
63 views

Install libpng version 1.6 for Ubuntu 19?

How to install libpng for Ubuntu 19 so that I would be able to open Packet Tracer 7.2.1?
1
vote
1answer
256 views

error: ld-2.27.so in swift on Ubuntu 18.04

I installed swift on my ubuntu 18.04 and when i start i get this error. but the code works fine when i'm writing them, I search some solution to fix this error but the thing is that i will remove the ...
0
votes
0answers
741 views

version `GLIBCXX_3.4.26' not found even though libstdc++.so.6 recent enough

I realize there are many questions like this, but the difference from the others is that my libstdc++.so.6 actually does appear to be up to date enough (see below for the strings it exports). This is ...
1
vote
0answers
146 views

gdb error for keepassx/keepassxc: “Cannot find user-level thread for LWP” “generic error”

I tried to run gdb on keepassxc, but encountered an unfamiliar error: $ gdb /usr/bin/keepassxc GNU gdb (Ubuntu 8.1-0ubuntu3) 8.1.0.20180409-git Copyright (C) 2018 Free Software Foundation, Inc. ...
0
votes
1answer
104 views

./a.out fails to load

I am trying to execute a C program via gcc compiler on ubuntu 18.04 In a folder named 'gsl', I have extracted the gsl.tar file. This is also the folder where I save all my ' '.c programs written in ...
1
vote
0answers
2k views

`GLIBC_2.28' not found in Ubuntu 16.04/14.04 in Travis

I have been using a binary to test in Travis, but it's been compiled with a new version of GLIBC apparently and now I get this all the time: perl6: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2....
0
votes
2answers
677 views

How to fix broken glibc packages

I am using Ubuntu 18.04 and I tried to upgrade libc6 from version 2.27 to 2.29 but I ended up breaking package system. I cannot fix because when I try to use fix commands, it always shows tons of ...
2
votes
0answers
3k views

'GLIBC_2.25' not found on Ubuntu

Getting following error while compiling the visit (visualization tool) pawar@pawar:/usr/local/visit/bin$ ./visit ./../current/linux-x86_64/bin/python: /lib/x86_64-linux-gnu/libc.so.6: version `...
0
votes
0answers
51 views

Set up tool chain and GNU C Library

I downloaded GPL source code package, among device source code itself, it contains the tool chain package (emlix.tar.gz) and source code of GNU C Library, glibc 2.5 (glibc-2.5.tar.bz2). A have a ...
2
votes
1answer
110 views

dpkg: error processing package glibc (--configure)

I am using Ubuntu 18.04.2 LTS and, recently, every time I try to sudo apt-get upgrade the following occurs: Reading package lists... Done Building dependency tree Reading state information... ...
1
vote
0answers
319 views

Ubuntu 18.04 Fresh Install Apparent Absence of glibc

I have just installed ubuntu 18.04. I have run: apt update && apt upgrade I have downloaded llvm from llvm releases When I run: clang file.c -o file Where 'file.c' contains: #include &...
0
votes
0answers
726 views

Crash in glibc stating invalid pointer ../sysdeps/unix/sysv/linux/raise.c: No such file or directory

There is crash in glibc stating below error. Could someone point out what is the issue with glibc? Program received signal SIGABRT, Aborted. __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/...
0
votes
0answers
135 views

how i install glibc 2.19 without terminal (manually and already compiled files)

How do I get the files of glibc 2.19 to copy and paste in the relevant folders, for specifically execute blender 2.79b? I can't compile, make install or anything related to terminal installation, so ...
0
votes
0answers
37 views

Problem using DNS TCP query on service does not support IPv6

Symptom After adding "options use-vc" in /etc/resolv.conf, tools like wget/curl cannot resolve hostname any more. Dig/nslookup works. And if change the nameserver to 1.1.1.1, or 8.8.8.8, all work. ...
1
vote
1answer
346 views

sys/ustat.h file not found

I'm trying to build a modified version of the LLVM compiler as used in the Pepper-project I'm using this script to install it, however it fails with this error: /pequin/compiler/buffetfsm/llvm/...
2
votes
0answers
1k views

How can I get glibc as a static library?

I want to compile a program and statically link it to glibc, so it can run on other Linux distributions without the user having to do any special configuration. I tried using CFLAGS="-static -static-...
1
vote
2answers
4k views

Compilation of m4 1.4.10 to 1.4.18 fails due to “Please port gnulib freadahead.c to your platform!” on Ubuntu 18.10

The building of tarball releases of GNU m4 1.4.10 to 1.4.18 (didn't test all hotfix versions, but I assume the error is consistent among this range) with ./configure && make -j1 and git git ...
1
vote
0answers
375 views

How to install requested libs: GLIB, libavcodec and libavformat?

I've got an application from InteractiveBrokers, which sometimes gives me this: So I searched for those libs in synaptic, but in the screenshots below you can see that they all seem to be installed. ...
3
votes
1answer
326 views

Systemd error after upgrading from 18.04 to 18.10

After upgrading from 18.04 to 18.10 i got the following error: systemd[1]: segfault at ffffffffffffffc0 ip 00007fe716b80184 sp 00007ffcc7f9cf88 error 5 in libc-2.28.so[7fe716af5000+171000] I reboot ...
0
votes
0answers
493 views

sudo apt-get dist-upgrade giving errors, unable to open Ubuntu

I'm trying to do sudo apt-get dist-upgrade for upgrades all of the packages on the Linux system (14.04). In the middle, it gave an error and I ran sudo apt-get install -f, the PC got rebooted and went ...
4
votes
1answer
9k views

What is the recommended way to install glibc 2.27 on Ubuntu 16.04? [duplicate]

I tried the following command, but it seems that the package was not found. $ sudo apt-get install libc-bin=2.27-3ubuntu1 Reading package lists... Done Building dependency tree Reading state ...
1
vote
1answer
4k views

/lib/libc.so.6: version `GLIBC_2.14' not found on a ubtuntu machine

I have an internet-less ubuntu server (amd64) which is accessed via ssh. To install a package i installed "libc6-udeb_2.13-38+deb7u10_amd64.udeb" which messed up everything. Now i get this error ...
1
vote
1answer
179 views

In context of Docker images, which Ubuntu image version fixes the CVE-2018-10000 issue with Glibc?

We are trying to address a security issue with Ubuntu 17.10 image (ubuntu:17.10) which uses glibc version 2.26. This has a security vulnerability CVE-2018-10000 that is related to integer overflow. ...
0
votes
1answer
723 views

Undefined reference to symbol acos@@GLIBC_2.2.5 while compiling xpdf

I get the following error while compiling xpdf using make. I've tried using the command: LIBS=-l make but it doesn't work. I know the problem is that the c compiler cannot recognise the math code in ...
1
vote
0answers
326 views

How to build a source package glibc-source for arm architecture on x86 machine

I am building a glibc-source for arm architecture but I am getting the following issue. I have run the following commands: apt-get source glibc-source sudo apt-get build-dep glibc-source Changed ...
1
vote
0answers
4k views

Downgrade glibc on ubuntu 18.04

Ubuntu 18.04 comes with glibc 2.27. This breaks some tools I'm currently using for a project. Is there any way for me to downgrade glibc in 18.04 to 2.26? apt-cache shows that only version 2.27 is ...
7
votes
2answers
5k views

How can I fix a missing/renamed libc.so.6?

The reason that I need to somehow become root without typing sudo is because error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory I used ...
9
votes
0answers
7k views

'GLIBC_2.25' not found on Ubuntu (Windows Subsystem for Linux)

I have following error on Ubuntu 16.04 (Windows Subsystem for Linux) /lib/x86_64-linux-gnu/libc.so.6: version 'GLIBC_2.25' not found I've already tried: apt-get update apt-get install libc6 It ...
2
votes
0answers
62 views

how do I get a list of syscall numbers from my ubuntu distribution?

This question may be a little clean and green. I'm looking to retrieve a list of syscall numbers like in this post.
2
votes
1answer
7k views

GLIBC => 2.5 Ubuntu 16.04

I'm running Ubuntu 16.04 LTS in a server environment, and a piece of backup software says it needs "On Linux, glibc 2.5 or higher is required." I've run ldd --version and get ldd (Ubuntu GLIBC 2.23-...
2
votes
2answers
6k views

updating glibc on Ubuntu 16.04.3 LTS

I'm trying to script an installation of geany and might be on my 20th failure (then like L'Hopital, I shall fail to fail). There's a lot of scripting involved, and I'm only halfway through addressing ...
0
votes
0answers
310 views

unable to locate package libc while install nagios

i want to install Nagios so, tried to install the nagios on local station and i get these error about unable to locate package libc. i tried to find out what missing and didn't find yet, also tried ...
0
votes
1answer
1k views

Good alternative for hamachi on Linux Ubuntu 17.04?

Absolutely love the updated system, it boots faster and is less buggy overall, but due to glibc being updated to version 2.26, Hamachi no longer works, does anyone know of a good Linux alternative? I'...
1
vote
0answers
202 views

Super Slow __vdso_gettimeofday

I noticed that my __vdso_gettimeofday function consumes way too much computation time. When running a program on my system the program spends 40s reading the time, while my work system spends 0.037s. ...
2
votes
2answers
546 views

C Library Function Actual Implementation

I was wondering where I can find the actual C implementation of atoi() (or other such functions). I looked into stdlib.h but it seems like atoi is not implemented there. Is there a way to view the ...
1
vote
0answers
324 views

Compile binary for older GLIBC?

I have a Ubuntu 16.04 Virtualbox instance that I can use to build an open source project (Grafana) that will later need to run on a Red Hat 4 box. When I run the executable I get a /lib64/libc.so.6:...
-1
votes
1answer
437 views

SSH not connecting after updating C library /bin/bash not found [closed]

I recently updated my C library, and since then I cannot connect to my PC via SSH. $ ssh user@foobarzo.com user@foobarzo.coms password: Welcome to Ubuntu 14.04.5 LTS (GNU/Linux 4.4.0-31-generic ...
2
votes
1answer
253 views

How to browse libc using info?

I'm using Ubuntu 16.04 and I have the build-essential package installed. When I use: info libc printf See: Invoking Info Following message shows up in the mini-buffer: No menu item 'libc' in node ...
0
votes
1answer
146 views

How to make a patch for C Library

For my class project, I am trying to fix a ghost vulnerability on Ubuntu 12.04 manually. I completely understand the errors inside the /nss/digits_dots.c and I fixed them. My problem is I don't know ...
1
vote
0answers
1k views

Compiling glibc-2.17 libraries

I hope you can help me. For my class project, I'm suppose to identify and fix GHOST vulnerability in GLIBC in Ubuntu 12.04; I did that. However, the instructor doesn't want the fix by just upgrading ...
2
votes
2answers
7k views

DNS cannot resolve hosts

I recently upgraded my ubuntu and suddenly lost DNS. By the looks of it, its related to https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/1674532. But I cannot run the update to fix the issue ...
0
votes
0answers
184 views

How do I compile Firefox to run on multiple versions of Ubuntu?

I'm building a re-branded Firefox from the source for version 51 stable. I would like to be able to package the compiled binary as a .deb and have it work on several different Linux distributions ...
1
vote
1answer
940 views

Upgrade failed and stuck due to corrupted libc install

I tried upgrading a server from Ubuntu 14 to 16 using the standard do-release-upgrade script. It all seemed to go well, until mid-way through, it showed me an error from libc, saying my 3.2 kernel ...
1
vote
0answers
177 views

glibc got downgraded by mistake

I installed a debian package along with its dependencies using an automated script. However, this happened to install an older version of glibc (2.15) and thereby I assume overrode the version that ...
3
votes
1answer
11k views

GLIBC_PRIVATE not defined in file libc.so.6

I am trying to run Rstudio. And it is just not working. It worked last week when I installed it for the first time, but now that I need to use it, it doesn't. I've been trying for 5 hours, so this is ...
0
votes
0answers
443 views

dpkg and insserv error when installing any package

When I try to install any package the following error occurs: insserv: There is a loop between service runlcactivator and dns-clean if started insserv: loop involving service dns-clean at depth 1 ...
1
vote
0answers
2k views

apt-get: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.18' not found (required by /usr/lib/x86_64-linux-gnu/libstdc++.so.6)

I have this machine $ cat /proc/cpuinfo processor : 0 vendor_id : AuthenticAMD cpu family : 16 model : 8 model name : AMD Opteron(tm) Processor 4171 HE stepping : 1 microcode : ...
2
votes
1answer
289 views

missing C libraries errors when running gedit

I appended this to the end of ~/.bashrc LD_LIBRARY_PATH=/usr/local/MATLAB/MATLAB_Runtime/v901/runtime/glnxa64:/usr/local/MATLAB/MATLAB_Runtime/v901/bin/glnxa64:/usr/local/MATLAB/MATLAB_Runtime/v901/...
1
vote
1answer
546 views

16.04.1 LTS glibcxx 3.4.21 not defined

apt-get often gets this error: GLIBCXX_3.4 21 not defined in file libstdc++.so.6 with link time reference File usr/bin/do-release-upgrade line 11 in module. File usr/lib/python3/dist-packages/...