alpine-pkg-glibc
alpine-pkg-glibc copied to clipboard
Error on runtime: relink `/usr/lib/libgcc_s.so.1' with `/usr/glibc-compat/lib/libc.so.6' for IFUNC symbol `memset'
I try to install Oracle 12c on Alpine using glibc-2.25-r1 and found this problem
bash-4.3# /u01/app/oracle/product/12.1.0/xe/perl/bin/perl -v
/u01/app/oracle/product/12.1.0/xe/perl/bin/perl: Relink /usr/lib/libgcc_s.so.1' with /usr/glibc-compat/lib/libc.so.6' for IFUNC symbol `memset'
Segmentation fault (core dumped)
Could you help take a look ?
anybody can help comment this? I meet same situation, the image is compiled from glibc environment with same glibc version 2.25 but uses this musl libc in runtime environment.
I have the same problem. Please help someone!!!
I ran into the same problem attempting to run nvcc from the NVIDIA CUDA Toolkit:
cicc: Relink `/usr/lib/libgcc_s.so.1' with `/usr/glibc-compat/lib/libc.so.6' for IFUNC symbol `memset'
nvcc error : 'cicc' died due to signal 11 (Invalid memory reference)
The issue appears to be that /usr/lib/libgcc_s.so.1 is linked against musl instead of glibc:
# ldd /usr/lib/libgcc_s.so.1
ldd (0x7f6b1561d000)
libc.musl-x86_64.so.1 => ldd (0x7f6b1561d000)
Note also the previous issue #6 about libgcc_s.so.1.
Maybe see this workaround: https://github.com/sgerrand/alpine-pkg-glibc/issues/75#issuecomment-423855554 (I was struggling with the same kind of conflict between musl libc and glibc and the workaround helps me a lot!)