question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't run evolve on Alpine Linux

See original GitHub issue

Love 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:closed
  • Created 4 years ago
  • Comments:24 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
lecailloncommented, Nov 7, 2019

Let’s move to this issue #144 now 😃

1reaction
oliver-dungeycommented, Nov 7, 2019

Sorry haven’t had time to get together a nice set of working files for you yet but it’s on my urgent list!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found