scar icon indicating copy to clipboard operation
scar copied to clipboard

Error: version `GLIBC_2.14' not found

Open gmolto opened this issue 7 years ago • 3 comments

Attempting to run a SCAR function out of the knickers/imagemagick results in the following error:

/tmp/home/.udocker/containers/0da3a78f-7472-3662-98a4-ea8dba881df8/ROOT/bin/dash: /tmp/home/.udocker/containers/0da3a78f-7472-3662-98a4-ea8dba881df8/ROOT//lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by /tmp/home/.udocker/lib/libfakechroot-x86_64.so)

The Docker image is based on debian:wheezy

gmolto avatar Jun 16 '17 21:06 gmolto

From the limitations section of the fackechroot manpage:

  • Every command executed within fakechroot needs to be linked to the same version of the dynamic linker from real environment. If the libraries in chroot are not compatible, try to use --use-system-libs option.

So, maybe we need to modify udocker to use the --use-system-libs option

alpegon avatar Jun 19 '17 11:06 alpegon

Info from executing /lib64/libc.so.6 in the amazon lambda environment:

GNU C Library (GNU libc) stable release version 2.17, by Roland McGrath et al.
Copyright (C) 2012 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 4.8.3 20140911 (Red Hat 4.8.3-9).
Compiled on a Linux 3.2.5 system on 2016-03-03.
Available extensions:
	The C stubs add-on version 2.1.2.
	crypt add-on version 2.1 by Michael Glad and others
	GNU Libidn by Simon Josefsson
	Native POSIX Threads Library by Ulrich Drepper et al
	BIND-8.2.3-T5B
	RT using linux kernel aio
libc ABIs: UNIQUE IFUNC
For bug reporting instructions, please see:
<http://www.gnu.org/software/libc/bugs.html>.

Info from executing /lib/x86_64-linux-gnu/libc.so.6 in the knickers/imagemagick container:

GNU C Library (Debian EGLIBC 2.13-38+deb7u11) stable release version 2.13, by Roland McGrath et al.
Copyright (C) 2011 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 4.4.7.
Compiled on a Linux 3.2.78 system on 2016-05-29.
Available extensions:
	crypt add-on version 2.1 by Michael Glad and others
	GNU Libidn by Simon Josefsson
	Native POSIX Threads Library by Ulrich Drepper et al
	BIND-8.2.3-T5B
libc ABIs: UNIQUE IFUNC
For bug reporting instructions, please see:
<http://www.debian.org/Bugs/>.

alpegon avatar Jun 19 '17 11:06 alpegon

For the sake of reference, this problem is also exhibited with the openjdk:6-jre image in Docker Hub. openjdk:7-jre does not fit within the 512 MB limits

gmolto avatar Jul 20 '17 15:07 gmolto