Building 'delta' on Alpine Linux
Paul Walker
Posted on May 14, 2021
Short post for a change this time. :-)
I've just built delta on an Alpine Linux image. There were a couple of dependencies I had to install before it would build, and one of them puzzled me for a bit.
Cargo was building and failed on crti.o
:
= note: /usr/lib/gcc/x86_64-alpine-linux-musl/9.3.0/../../../../x86_64-alpine-linux-musl/bin/ld: cannot find crti.o: No such file or directory
collect2: error: ld returned 1 exit status
apk search
didn't show anything useful. So, for myself in the future (or anyone else who happens to be searching for this) - the package that provides crti.o
for Alpine is musl-dev
.
💖 💪 🙅 🚩
Paul Walker
Posted on May 14, 2021
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.