GithubHelp home page GithubHelp logo

build error about emqx-rel HOT 7 CLOSED

emqx avatar emqx commented on May 26, 2024
build error

from emqx-rel.

Comments (7)

gilbertwong96 avatar gilbertwong96 commented on May 26, 2024 1

from emqx-rel.

terry-xiaoyu avatar terry-xiaoyu commented on May 26, 2024

Your OTP version? And your EMQ version?

from emqx-rel.

gilbertwong96 avatar gilbertwong96 commented on May 26, 2024

from emqx-rel.

wumao avatar wumao commented on May 26, 2024

I tested,
ubuntu16.4 erlang 20.0, 20.1,20.3, 21 emqtt 2.3.11 no pass
ubuntu17.4 erlang 20 emqtt 2.3.11 pass
ubuntu 18.4 erlang 20,20.1,20.3,21 emqtt 2.3.11 no pass
centos 7 erlang 20.0 emqtt 2.3.11 no pass
========centos 7 and ubuntu find the error.===============
Uncaught error in rebar_core: {'EXIT',
{undef,
[{crypto,start,[],[]},
{rebar,run_aux,2,
[{file,"src/rebar.erl"},{line,212}]},
{rebar,main,1,
[{file,"src/rebar.erl"},{line,58}]},
{erl_eval,do_apply,6,
[{file,"erl_eval.erl"},{line,670}]},
{escript,eval_exprs,5,
[{file,"escript.erl"},{line,873}]},
{erl_eval,local_func,6,
[{file,"erl_eval.erl"},{line,557}]},
{escript,interpret,4,
[{file,"escript.erl"},{line,789}]},
{escript,start,1,
[{file,"escript.erl"},{line,277}]}]}}
make[1]: *** [all] Error 1
make[1]: Leaving directory `/root/otp_src_20.0/emqx-rel-2.3.11/.erlang.mk/rebar'

from emqx-rel.

gilbertwong96 avatar gilbertwong96 commented on May 26, 2024

This problem still caused by rebar. Usually, if you make project with erlang.mk . Rebar would be installed automatically by erlang.mk . The error log shows that crypto start failed . Did you build your erlang from source code . Please make sure that your all libraries of your erlang runtime have been built sucessfully.

from emqx-rel.

wumao avatar wumao commented on May 26, 2024

yes, I build erlang by myself.
use the command :
cd otp_src_20.0 && ./configure && make && make install

from emqx-rel.

wumao avatar wumao commented on May 26, 2024

thank you. @gilbert-wong , you are right.
apt-get install libssl-dev
then build erlang, now it works.

from emqx-rel.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.