Comments (15)
BTW, I don't hit this error message ("libgcc_s.so.1 must be installed for pthread_cancel to work"
) with glibc 2.21.
from alpine-pkg-glibc.
It seems that there was libgcc_s.so.1
included in glibc 2.21 artifacts as I see /usr/lib/libgcc_s.so.1
in my frolvlad/alpine-glibc
image.
from alpine-pkg-glibc.
Yea, 2.21 was the artifact from Arch Linux and 2.22 is from the custom built binary. It may just be an option at build time for glibc. But I'm not sure. Will do some more research.
from alpine-pkg-glibc.
Maybe one of these configure options? https://projects.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/glibc#n66
from alpine-pkg-glibc.
I don't believe that libgcc_s.so.1
was/is a part of glibc package on Arch Linux because when I do pacman -Qo /usr/lib/libgcc_s.so.1
, it reports that the library is owned by gcc-libs
.
from alpine-pkg-glibc.
It looks like that version may have traced libgcc as a dependency and pulled it in while the latest one does not:
# apk --allow-untrusted add glibc-2.21-r2.apk
(1/2) Installing libgcc (5.3.0-r0)
(2/2) Installing glibc (2.21-r2)
Do you think this needs to be a dependency or can you just apk add libgcc
?
from alpine-pkg-glibc.
Hmm, I have already tried to install libgcc from Alpine and also tried to copy the library to /usr/glibc-compat/lib/
, but the error was still there. I'm trying this again, will provide the results shortly.
from alpine-pkg-glibc.
Unfortunately, libgcc
package doesn't help when I'm using glibc 2.22.
FROM frolvlad/alpine-glibc:alpine-3.3_glibc-2.22
RUN apk add --no-cache --virtual=build-dependencies wget ca-certificates tar xz && \
wget "https://www.archlinux.org/packages/extra/x86_64/mono/download/" -O "/tmp/mono.pkg.tar.xz" && \
tar -xJf "/tmp/mono.pkg.tar.xz" && \
apk del build-dependencies && \
rm /tmp/*
RUN apk add --no-cache libgcc && mozroots --import --ask-remove
The most unfortunate part is that mozroots
fails at the very end, after the "main work" is done:
Mozilla Roots Importer - version 4.2.2.0
Download and import trusted root certificates from Mozilla's MXR.
Copyright 2002, 2003 Motus Technologies. Copyright 2004-2008 Novell. BSD licensed.
Downloading from 'http://mxr.mozilla.org/seamonkey/source/security/nss/lib/ckfw/builtins/certdata.txt?raw=1'...
Importing certificates into user store...
Import process completed.
libgcc_s.so.1 must be installed for pthread_cancel to work
Native stacktrace:
Debug info from gdb:
=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================
Aborted (core dumped)
from alpine-pkg-glibc.
This was working with glibc-2.21-r2?
from alpine-pkg-glibc.
Yes. You can try it by changing FROM
statement to:
FROM frolvlad/alpine-glibc:alpine-3.3
from alpine-pkg-glibc.
I think this has to do with the way the glibc /usr/glibc-compat/etc/ld.so.cache
is generated. Can you try first doing /usr/glibc-compat/sbin/ldconfig /lib /usr/lib
and then running mozroots
?
If this works, I think we just need to add back the ldconfig
trigger (which was at 5e743ad).
from alpine-pkg-glibc.
Wow, that works...
from alpine-pkg-glibc.
Thus, it seems that we need to add libgcc
dependency + ldconfig
trigger.
from alpine-pkg-glibc.
Give the latest glibc-bin-2.22-r8.apk
a try.
from alpine-pkg-glibc.
It seems to work!
P.S. It seems that all my tests are now passing, so I'm going to ask people in "Java issue" to test experimental images of OracleJDK and Mono based on glibc 2.22.
from alpine-pkg-glibc.
Related Issues (20)
- make test failed about [email protected] on ubuntu_aarch64 HOT 2
- error /lib/ld-linux-x86-64.so.2 HOT 1
- /usr/lib/libstdc++.so.6: no version information available HOT 2
- Error relocating /lib/ld-linux-x86-64.so.2: unsupported relocation type 37 HOT 6
- did this glibc support arm? HOT 2
- v2.35-r1 symbols not found HOT 2
- Unexpected "(" in /usr/glibc-compat/sbin/ldconfig HOT 1
- SSL certificate from https://sgerrand.com/ has expired. HOT 11
- Error character map file UTF-8' not found: No such file or directory HOT 1
- ....symbol not found HOT 4
- Is alpine-pkg-glibc supports for latest alpine release 3.18 HOT 13
- protoc: stdout: . stderr: Error loading shared library ld-linux-x86-64.so.2: No such file or directory HOT 4
- 2.35-r1 release doesnt work with alpine image HOT 1
- ERROR: gcompat-1.1.0-r4: trying to overwrite lib/ld-linux-x86-64.so.2 owned by glibc-2.35-r1. HOT 10
- Getting segmentation fault after python upgrade HOT 4
- Release 2.38 HOT 21
- Cannot connect to https://alpine-pkgs.sgerrand.com/ via CloudFlare HOT 2
- will this support i686 HOT 2
- Mac/M3 build? HOT 3
- Symbols not found and unsupported relocation type 37
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alpine-pkg-glibc.