Unable to build with OTP 23
nikolaik opened this issue · comments
Nikolai Røed Kristiansen commented
On Ubuntu 20.04 trying to use OTP v23 with jchash i get the following:
$ mix deps.compile jchash
===> Compiling jchash
make: Entering directory '/project/deps/jchash/c_src'
cc -O3 -std=c99 -finline-functions -Wall -Wmissing-prototypes -fPIC -I /usr/lib/erlang/erts-11.0.2/include/ -I /usr/lib/erlang/lib/erl_interface-4.0/include -c -o /project/deps/jchash/c_src/jchash.o /project/deps/jchash/c_src/jchash.c
cc /project/deps/jchash/c_src/jchash.o -shared -L /usr/lib/erlang/lib/erl_interface-4.0/lib -lerl_interface -lei -o /project/deps/jchash/c_src/../priv/jchash.so
/usr/bin/ld: cannot find -lerl_interface
collect2: error: ld returned 1 exit status
make: *** [Makefile:59: /project/deps/jchash/c_src/../priv/jchash.so] Error 1
make: Leaving directory '/project/deps/jchash/c_src'
===> Hook for compile failed!
$ dpkg -l|grep esl-erlang
ii esl-erlang 1:23.0.2-1
Is the deprecation of erl_interface the reason, mentioned here?