Questions tagged [glibc]

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

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

GLIBC_2.14 and C compiler missing from Centos 6.7

I have came across a situation today on my CentOS 6.7 VM, where I'm trying install any package via yum I'm getting the below given error: yum install gcc There was a problem importing one of the ...
0
votes
1answer
12 views

C-std headers containing helper functions for system, user and kernel times?

Basically, I am working with Nvidia's new github repos and trying to compile them in a cross-platform setup. Specifically, I am trying to compile them on Fedora 33. I have run into an issue: In file ...
0
votes
0answers
18 views

Why would someone use DBUS Proxy?

I am trying to implement an application using this GDBUS API from bluez. I tried to study ways in which to make calls to the API and I managed to call a function and obtain results. Here's an example ...
0
votes
1answer
42 views

How to compile static binary for i386?

I'm trying to compile some code statically (dosfstools) with GCC for i386, using -static and -march=i386, but the libraries, for example /usr/lib/i386-linux-gnu/libc.a, are not i386 despite the name. ...
1
vote
0answers
837 views

GLIBC_2.32 not found

I've been trying to get one of my python programs to run, however, every time I attempt to execute the file through terminal, I get the following error. [12432] Error loading Python lib '/tmp/...
-2
votes
1answer
38 views

what is __gmon start_?

I'm trying to reverse engineering a loading file, with winhex I found the binary strings by looking on the loading file by using WinHex: Are those some commands for bash Linux? it is loading .so ...
2
votes
1answer
74 views

libc-bin half-configured, can't run apt -f install to fix/install packages, can't configure libc-bin because it depends on libc-bin

I have a Netgear ReadyNAS machine which internally runs a modified version of Debian Jessie. I mainly use it as a server and have a few Docker containers which I run on it. I can't upgrade past Jessie ...
0
votes
0answers
536 views

/lib64/libc.so.6: version 'GLIBC_2.14' not found in Redhat 6.5, for running a software in non-desktop version of Linux

Whenever I try to run a software, my red hat 6.5 Linux server displays grok :/lib64/libc.so.6: version 'GLIBC_2.14' not found (required by grok) (grok is a file which I use need to run my simulation ...
1
vote
0answers
35 views

Dynamic Linking when Migrating C++ Program from Solaris to Linux

The Problem I'm attempting to migrate a legacy application's build process from an older Solaris machine to Linux, specifically, RHEL 7.7. The application was originally built using Solaris Studio (...
0
votes
1answer
257 views

Emulating an AARCH64 Binary calling libgps on x86_64 Ubuntu using QEMU gives “Error relocating: symbol not found” Errors

This is similar to the issue posted here and here. I want to reverse engineer a binary called gpslogger but before debugging it using GDB, I wish to simply emulate it using QEMU (qemu-aarch64) since ...
0
votes
0answers
28 views

Error on building gcc cross compiler toolchain

I'm following this guide to build a linux system for learning experience On the the guide at the section titled GCC (Static), I'm having an error, on running the command ` $ ln -vs libgcc.a `${...
1
vote
1answer
262 views

`aarch64-linux-musl-cross` has a broken link for `ld-musl-aarch64.so.1`

The goal I want to run an ARM64 Go binary on x86_64 Kali Linux using QEMU user mode. The problem I got aarch64-linux-musl-cross. ~$ wget https://musl.cc/aarch64-linux-musl-cross.tgz ~$ tar -xvf ...
0
votes
2answers
237 views

installed wrong libc6 package and broke system

Background I was attempting to upgrade my libc6 version in a "not" nice way. It all started with me trying to update my MariaDB from 10.1 to 10.2. I somehow then managed to find out that ...
1
vote
2answers
61 views

What if I wanted /etc to be called something else?

Aside from the kernel itself, the Filesystem Hierarchy Standard is perhaps the only major feature common to all linux systems. Some obscure distributions modify it only slightly: stali, for example, ...
0
votes
1answer
315 views

-lcrypt error cross compiling 64 to 32

I am trying to compile dirtycow exploit file which can be found in here. gcc -pthread dirty.c -o dirty -m32 -lcrypt Because my target is 32 bit I compile it with -m32 and -lycrypt to make sure it ...
0
votes
1answer
170 views

Why ltrace doesn't show a call to glibc __nss_configure_lookup()

I'm trying to understand how ltrace command works. So I've been poking around in /etc/nsswitch.conf. I have a "hosts: resolve" line in there - it tells glibc to dynamically load nss-resolve ...
3
votes
3answers
644 views

Can a process background itself?

Can a process background itself? What would be a Perl and/or C implementation of this?
1
vote
1answer
706 views

Snaps failing when trying to run alacritty

I'm trying to run alacritty on a near-fresh install of Ubuntu. As far as I can tell I followed the guide, and running infocmp alacritty doesn't return an error, though the response is unintelligible ...
0
votes
0answers
61 views

Python Import Error (GLIBC)

I am working with the PySide2 and Shiboken2 modules in Python 3 for Qt GUI development. Shiboken 2 is throwing an error when running. The Miniconda package came with libstdcxx-ng 8.2.0 and libgcc-ng 8....
0
votes
0answers
409 views

ImportError: /lib64/libc.so.6: version 'GLIBC_2.14' not found

I am using Python 3.7 on unix and installed the PySide2 and shiboken2 modules in order to run a Qt based GUI. The modules installed without an issue, however shiboken2 is throwing errors when calling ...
1
vote
1answer
58 views

What would be an effect on the system when we try to forcefully delete /etc/ld.so.preload file?

I have been doing my research around this command. rm -f /etc/ld.so.preload The script which currently I am analyzing, starts with above command. Note: I tried doing my research around "ld.so....
0
votes
1answer
143 views

“Segmentation fault (core dumped)” is given back when launching most apps on archlinux after upgrade

Noob here ! I have archlabs which runs on archlinux. After normal upgrade, most apps do not run (texmaker, qt5ct ...), when running them from terminal they give the error : "Segmentation fault (...
2
votes
0answers
37 views

Same locale, different distrib, inconsistent behavior

I migrate a system from a CentOS 6.9 VM to a Debian 10 Docker container, and I can't explain why thousands separator differs. Same locale (fr_FR.UTF-8), same version of the locale yet different ...
4
votes
1answer
767 views

Docker container shows, “sleep: cannot read realtime clock: Operation not permitted”

When I run apt-get dist-upgrade in Docker container, I'm getting, Unpacking libc6:i386 (2.31-1) over (2.30-8) ... Setting up libc6:i386 (2.31-1) ... Checking for services that may need to be restarted....
1
vote
1answer
123 views

compiling old glibc on arm fails with undefined references in nis and nss

It seems to have become a bit complex, so first some background: I need to compile self-contained programs that run on arm systems with glibc versions typically between 2.13 and 2.17. When trying to ...
1
vote
0answers
152 views

Is there a glibc-compat or equivalent for CentOS 8?

I'm a new maintainer for an old codebase written in C++, targeting the C++0x standard, with several gcc and g++ dependencies in the code. I'm concerned about keeping the dependencies of this program ...
2
votes
1answer
439 views

LD_LIBRARY_PATH in Debian

I just followed the advice here: How to update glibc to 2.14 in CentOS 6.5 as an Android related program has been complaining about glibc-2.29 Everything seemed to compile and now in the /opt ...
4
votes
1answer
497 views

rpcbind is opening port 873 UDP but rpcinfo -p shows no program bound to that port

I'm looking at lsof -i output on several Linux servers in our environment and finding that rpcbind opens the usual port 111 in both TCP and UDP protocols, but also opens port 873 UDP for no apparent ...
0
votes
1answer
239 views

Circular dependencies when installing glibc

I am trying to install python3-pygrib on CentOS 7. First I needed to install eccodes, libpng and pyproj. Before those libraries, I need to install glibc231. I ran into circular dependencies trying to ...
0
votes
1answer
39 views

How to start TeamSpeak3 Client | Centos 7

Im running a centos-release-7-8.2003.0.el7.centos.x86_64 with a GNOME 3.28.2 I installed TeamSpeak3-Client-linux_amd64-3.5.2.run but when I try to start it I get the following error: ./...
0
votes
0answers
50 views

linking .so file to newer GLIBC on SLES 11

I want to use the rocksdbjni.so on SLES 11 but I noticed that it is dependent to GLIBC_2.12: librocksdbjni.so: /lib64/libpthread.so.0: version `GLIBC_2.12' not found (required by librocksdb.so) The ...
1
vote
1answer
217 views

What mandates the _start entrypoint (kernel, ld-linux.so, etc.)?

I know that ELF executable files need to have a visible _start subroutine where the execution begins. However, from what I can understand, the Kernel actually calls in ld-linux.so (or some other ...
0
votes
1answer
100 views

CentOS, using different glibc version

I followed this question: How to update glibc to 2.14 in CentOS 6.5 Did all the steps mentioned, everything is installed as it should be. However when I check the version, it still is: I am using ...
1
vote
1answer
533 views

Nvidia driver installation error

I'm new to the Linux world and I have a problem that is ruining my experience right now. I have installed Linux Mint 19.3 on my Laptop and immediately noticed a lot more battery drainage compared to ...
6
votes
1answer
3k views

Why is the integer value of SIGRTMIN (first real-time signal) 34 and not 32? [duplicate]

Examining the output of kill -l command $ kill -l 1) SIGHUP 2) SIGINT 3) SIGQUIT 4) SIGILL 5) SIGTRAP 6) SIGABRT 7) SIGBUS 8) SIGFPE 9) SIGKILL 10) SIGUSR1 11) SIGSEGV 12) SIGUSR2 13) ...
4
votes
1answer
323 views

Is sigprocmask() not working correctly?

(Sorry for the long post but I wanted to be as accurate as possible) I was trying to print the signal mask of the main thread while writing a C program, when I came across something strange regarding ...
25
votes
2answers
5k views

Why doesn't the Linux kernel have optimized functions like glibc does (e.g., memchr, strchr)?

When I try to implement the C string library myself, I found that glibc and the Linux kernel have a different way to implement some functions. For instance, glibc memchr and glibc strchr use some ...
0
votes
0answers
23 views

Why can't I use openmp after installing glibc2.14

I want to compile a software with icc, but he needs glibc2.14. Before glibc was installed, openmp was used, and 24 cores could be effectively used. But after I installed it, I didn't use icc, he also ...
1
vote
2answers
2k views

Compiling GCC against a custom built GLIBC

I was trying to compile GCC 9.2 against a custom built GLIBC 2.30. I have installed GLIBC in a non-standard location. Then I have followed these steps to compile GCC: sfinix@multivac:~$ GLIBCDIR=/...
0
votes
1answer
81 views

LFS - Should Glibc be patched in Section 5.7?

I'm currently working my way through the Linux From Scratch (LFS) book, but I'm a bit confused about when to apply patches. In Section 5.7 the goal is to build glibc. The section have a pretty ...
3
votes
1answer
178 views

How/Shall I keep libc and kernel in sync?

If I compile latest kernel from kernel.org, make a deb package and install it on my Debian system, shall I worry about libc (and any other libraries?) and kernel being out-of-sync? I vaguely ...
1
vote
0answers
108 views

Using libhugetlbfs to transparently back up glibc malloc calls in a multi-threaded application

I'm trying to back up the memory allocations of a multi-threaded application with 1GiB hugepages using libhugetlbfs. However, only the main thread allocations are being assigned hugepages. If I ...
2
votes
1answer
51 views

Which package contains libc manpages?

Which package does contain manpages for standard C functions? I have installed glibc and gcc but there are only POSIX manpages. I mean manpages like strlen.
0
votes
0answers
419 views

mono dependencies on CentOS 7

I am trying to install mono as described here. In the root shell... su root I tried following command yum install mono-devel as mentioned on the web-page, but got stuck at installation of ...
3
votes
0answers
131 views

What is the publickey for in nsswitch.conf

As I understand it the getent tool is used to query the Name Service Switch. In the getent man file all the different entries (plus a few more) from nsswitch.conf is listed, except the publickey one. ...
4
votes
1answer
5k views

How do I change the output of `date` back to 24-hour format?

Apparently a recent change (in Glibc 2.29?) causes the date command to start printing times in 12-hour format: $ date Fri 23 Aug 2019 07:34:13 PM PDT This is for my default locale $ cat /etc/locale....
1
vote
1answer
1k views

Check the actual glibc version used

I want check the glibc version used by toolchain to build code for the target system (ARM). In toolchain directory I tried strings /sysroot/lib/libc.so.6 | grep GLIBC the output is GLIBC_2.4 ...
0
votes
0answers
61 views

building glibc for old kernel

I configured build with this command and built it using make Now I'm trying to create deb package with this settings but i failed with this error FATAL : kernel too old how can i do it?
1
vote
1answer
1k views

steam / libc6 (i386) installation fails

uname -a returns Linux mypcname 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux lsb_release -a returns Distributor ID: LinuxMint Description: Linux ...
0
votes
1answer
222 views

Failed sanity check at LFS 5.7.Glibc-2.29

I want to cross-compile LFS on CentOS v. 7.6.1810 with no sudo rights (I want to customize my environment on server). One problem is that globally a lot of packages are outdated (for instance, python ...

1
2 3 4 5 6