Can't run evolve on Alpine Linux
See original GitHub issueLove your software - I’ve been using Flyway for years and Evolve is perfect for my dotnet needs, thanks for sharing it with the world.
I am running Alpine Linux on my Docker containers and struggling to get Evolve to work due to dynamic linking problems. No problems on Fedora and other distros but Alpine uses muscl
instead of glibc
(see: https://stackoverflow.com/questions/37818831/is-there-a-best-practice-on-setting-up-glibc-on-docker-alpine-linux-base-image).
Here is the crux of the matter (after installing libc6-compat
package which fixed one of the dependency issues):
/var/www/tmp $ ./evolve sqlserver
Error relocating ./evolve: __register_atfork: symbol not found
Error relocating ./evolve: __rawmemchr: symbol not found
/var/www/tmp $ ldd ./evolve
/lib64/ld-linux-x86-64.so.2 (0x7fef9df20000)
libdl.so.2 => /lib64/ld-linux-x86-64.so.2 (0x7fef9df20000)
librt.so.1 => /lib64/ld-linux-x86-64.so.2 (0x7fef9df20000)
libpthread.so.0 => /lib64/ld-linux-x86-64.so.2 (0x7fef9df20000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x7fef9da60000)
libc.so.6 => /lib64/ld-linux-x86-64.so.2 (0x7fef9df20000)
Error relocating ./evolve: __register_atfork: symbol not found
Error relocating ./evolve: __rawmemchr: symbol not found
I’m not familiar enough with cross compiling to know what the best answer is, looking at your source code it’s all C# so not quite sure what’s going on.
Issue Analytics
- State:
- Created 4 years ago
- Comments:24 (12 by maintainers)
Top Results From Across the Web
[alpine-devel] udev replacement on Alpine Linux
First, I can't emphasize the "optional" qualifier enough regarding the filesystem ... Vdevd simply runs a script to fill in /run/udev and write...
Read more >Installation of Docker on Alpine Linux
To install Docker on Alpine Linux, run apk add --update docker openrc. Important. The Docker package is available in the Community repository.
Read more >How to show details of error in Alpine apk
I have run into the same issues and tried to read the source code in ... apk --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/main ...
Read more >Docker Alpine executable binary not found even if in PATH
Static executables don't carry dynamic dependencies and could run on any Linux. Alternatively, the software may be built from source on Alpine.
Read more >Java SDK crashes the JVM on Alpine docker image
We are using the Docker image eclipse-temurin:17-alpine in a Spring boot ... When running Java SDK version 3.0.10 the application works fine.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Let’s move to this issue #144 now 😃
Sorry haven’t had time to get together a nice set of working files for you yet but it’s on my urgent list!