Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

`GLIBC_2.33' not found .required by ***/libfakechroot-Debian-11-x86_64.so #384

Open
RadFromOrange opened this issue Jan 21, 2023 · 2 comments

Comments

@RadFromOrange
Copy link

RadFromOrange commented Jan 21, 2023

After solving glibc issue by adding lib.c.so to libpath , i get segmentation fault issue .After some research ,even if i saw that you've made an improved fakechroot with some elfpatcher and env settings ,found that this is a limitation of fakechroot itself :

https://github.com/dex4er/fakechroot/blob/master/man/fakechroot.pod#limitations

dex4er/fakechroot#22

may be i am missing something...

Thx,

@RadFromOrange
Copy link
Author

Hi,

I am runing udocker in a ubuntu container in a codespace environment using Fakechroot mode.

i am trying to run debian container but i have a glibc compatibility issue :

GLIBC_2.33' not found (required by /home/codespace/.udocker/lib/libfakechroot-Debian-11-x86_64.so)

Is this a non sense to try to make work or this is possible with some elfpatcher and LD_LIBRARY settings ?

Thanx,

@RadFromOrange ➜ ~/.udocker $ udocker run debian

Info: using config file: /home/codespace/.udocker/udocker.conf

##############################################################################

           STARTING 069ab32e-b44e-3f8a-b8cf-824a274f7e48              

##############################################################################
executing: bash
/home/codespace/.udocker/containers/069ab32e-b44e-3f8a-b8cf-824a274f7e48/ROOT//bin/bash: /home/codespace/.udocker/containers/069ab32e-b44e-3f8a-b8cf-824a274f7e48/ROOT//lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /home/codespace/.udocker/lib/libfakechroot-Debian-11-x86_64.so)

@RadFromOrange ➜ ~/.udocker $ /lib/x86_64-linux-gnu/libc.so.6

GNU C Library (Ubuntu GLIBC 2.31-0ubuntu9.9) stable release version 2.31.
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 9.4.0.
libc ABIs: UNIQUE IFUNC ABSOLUTE
For bug reporting instructions, please see:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bugs.

@RadFromOrange RadFromOrange changed the title `GLIBC_2.33' not found .required by ***/libfakechroot-Debian-11 `GLIBC_2.33' not found .required by ***/libfakechroot-Debian-11-x86_64.so Jan 21, 2023
@jorge-lip
Copy link
Collaborator

udocker uses a modified libfakechroot library. The library must be compiled against the libc of the container.
Possibly the version of udocker used here didn't had the right version of the libfakechroot library.
Since libfakechroot libraries for Fn modes have to be compiled for each release of a given distribution, the support for this execution mode is always behind and takes some time to to be included in udocker. Also notice that only a few distributions are supported.
Recent versions of udocker should have the correct library for Debian 11.
Also notice that depending on the application this may also happen when using modes other than F3 or F4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants