-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
Hi guys,
I'm facing this error when compiling the library:
MacOS
$ git clone https://github.com/Vonmo/eapa.git && cd eapa
$ git checkout -b 0.2.0
$ rebar3 compile
[...]
=> Errors loading plugin rebar3_run. Run rebar3 with DEBUG=1 set to see errors.
===> Fetching rebar3_appup_plugin v2.4.4
===> Fetching bbmustache v1.5.0
===> Fetching string_compat v0.0.1
===> Analyzing applications...
===> Compiling string_compat
===> Compiling bbmustache
===> Compiling rebar3_appup_plugin
===> Fetching rebar3_vendor v0.4.0
===> Analyzing applications...
===> Compiling rebar3_vendor
ld: warning: The i386 architecture is deprecated for macOS (remove from the Xcode build setting: ARCHS)
ld: warning: ignoring file /Users/zab/.erl/24.2.1/lib/erl_interface-5.1/lib/libei.a, building for macOS-i386 but attempting to link with file built for macOS-x86_64
ld: warning: ignoring file /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib/libSystem.tbd, missing required architecture i386 in file /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib/libSystem.tbd (3 slices)
ld: dynamic executables or dylibs must link with libSystem.dylib for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)Ubuntu 20.04 LTS
$ git clone https://github.com/Vonmo/eapa.git && cd eapa
$ git checkout -b 0.2.0
$ rebar3 compile
[...]
===> Verifying dependencies...
Compiling libc v0.2.66
Compiling cfg-if v0.1.10
Compiling proc-macro2 v1.0.7
Compiling unicode-xid v0.2.0
Compiling cc v1.0.50
Compiling syn v1.0.13
Compiling failure_derive v0.1.6
Compiling proc-macro2 v0.4.30
Compiling rustc-demangle v0.1.16
Compiling unicode-xid v0.1.0
Compiling syn v0.15.44
Compiling unicode-segmentation v1.6.0
Compiling lazy_static v1.4.0
Compiling rustler_sys v2.0.0
Compiling void v1.0.2
Compiling rug v1.6.0
Compiling unreachable v0.1.1
Compiling heck v0.3.1
Compiling quote v1.0.2
error: failed to run custom build command for `rustler_sys v2.0.0`
Caused by:
process didn't exit successfully: `/home/zab/eapa/crates/eapa/target/release/build/rustler_sys-15284ac56a380485/build-script-build` (exit status: 101)
--- stdout
This OTP release uses the unsupported Erlang NIF version "2.16".
Please report at https://github.com/rustlerium/rustler.
--- stderr
thread 'main' panicked at 'gen_api.erl encountered an error.', /home/zab/.cargo/registry/src/github.com-1ecc6299db9ec823/rustler_sys-2.0.0/build.rs:34:18
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
===> Hook for compile failed!Help appreciated
Metadata
Metadata
Assignees
Labels
No labels