Can't compile fasthtml on Debian 10 / ARM32
When I try to compile fasthtml, I get the following error:
cc -o priv/fasthtml_worker c_src/fasthtml_worker.c c_src/lexbor/liblexbor_static.a -g -O2 -std=c99 -pedantic -Wcomment -Wextra -Wno-old-style-declaration -Wall -Wno-unused-parameter -I/usr/local/lib/erlang/erts-13.2/include -Ic_src/lexbor/source -lpthread -L/usr/local/lib/erlang/erts-13.2/../lib/erl_interface-5.3 /usr/local/lib/erlang/erts-13.2/../lib/erl_interface-5.3.1/lib -I/usr/local/lib/erlang/erts-13.2/../lib/erl_interface-5.3 /usr/local/lib/erlang/erts-13.2/../lib/erl_interface-5.3.1/include -DOTP_22_OR_NEWER -lei -pthread
c_src/fasthtml_worker.c: In function ‘main’:
c_src/fasthtml_worker.c:82:3: warning: implicit declaration of function ‘ei_init’; did you mean ‘ei_x_new’? [-Wimplicit-function-declaration]
ei_init ();
^~~~~~~
ei_x_new
/usr/bin/ld : ne peut pas trouver /usr/local/lib/erlang/erts-13.2/../lib/erl_interface-5.3.1/lib : file format not recognized
/usr/bin/ld : ne peut pas trouver /usr/local/lib/erlang/erts-13.2/../lib/erl_interface-5.3.1/include : file format not recognized
collect2: error: ld returned 1 exit status
make: *** [Makefile:56: priv/fasthtml_worker] Error 1
Though I have:
pleroma@Furuneo:/opt/pleroma$ ls /usr/local/lib/erlang/lib/erl_interface-5.3.1/lib/
libei.a libei_st.a
pleroma@Furuneo:/opt/pleroma$ ls /usr/local/lib/erlang/lib/erl_interface-5.3.1/include/
eicode.h ei_connect.h ei.h