Closed sagarparker closed 1 year ago
try installing libc++-dev
& libc++abi-dev
?
try installing
libc++-dev
&libc++abi-dev
?
Alpine doesn't seem to have libc++-dev & libc++abi-dev.
Hi @sagarparker,
libc++
is a required dependency of workerd
. In particular we need it in order to be able to use coroutines in Clang, and a lot of our code is written to use coroutines. (libc++
and Clang are both parts of the LLVM project.)
It appears Alpine may not have a libc++
package. Unfortunately this probably means it's not going to be easy to use workerd
on Alpine.
Sorry, but this isn't something we're able to help with. However, if you discover that there is some way to get this working with minimal changes to workerd
, we're happy to consider PRs.
I'm also using Alpine v3.17 in docker. Alpine does have libc++-dev
, but I haven't found libc++abi-dev
. It still doesn't build after installing libc++-dev
, but fails with a similar error as in #320 for me.
I have been trying to compile workerd inside docker using alpine:3.17 as the base image.
Getting this error during building with bazel :