概要
wsl(wsl2じゃない)で、elixirやってみた。
LivebookでExplorerがエラー吐く件
Explorerがエラー吐く
Mix.install([
{:explorer, "~> 0.7.0"}
])
==> rustler_precompiled
Compiling 4 files (.ex)
Generated rustler_precompiled app
==> explorer
Compiling 24 files (.ex)
08:43:47.371 [debug] Copying NIF from cache and extracting to /home/ore/.cache/mix/installs/elixir-1.14.5-erts-13.2/82f330905a03115e831c0915fa1c9b98/_build/dev/lib/explorer/priv/native/libexplorer-v0.7.1-nif-2.15-x86_64-unknown-linux-gnu.so
08:43:48.291 [warn] The on_load function for module Elixir.Explorer.PolarsBackend.Native returned:
{:error,
{:load_failed,
'Failed to load NIF library: \'/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28\' not found (required by /home/ore/.cache/mix/installs/elixir-1.14.5-erts-13.2/82f330905a03115e831c0915fa1c9b98/_build/dev/lib/explorer/priv/native/libexplorer-v0.7.1-nif-2.15-x86_64-unknown-linux-gnu.so)\''}}
調査
Expolorerがlibc.so.6の2.28バージョンを要求してるが、ubuntu18.04は、2.27バージョンでした。
対応
2.27バージョンのExpolorerがないか探す。
0.3.1 -> 2.29
0.4 -> 2.28
0.5.5 -> 2.28
0.1.0 -> 2.29
0.2.0 -> 2.29
0.7.0 -> 2.28
無いです。
以上。