[erlang-questions] running centos release tarball on debian
Tue Dec 13 18:59:11 CET 2016
I forgot to say that another way is to create a debian package with only the beam files that depends to another debian package installing the good Erlang VM for Ubuntu.
This imply to build it on Ubuntu or use ubuntu 's Erlang VM in official repositories, but they are probably not up-to-date with last Erlang VM.
"Envoyé depuis mon mobile " Eric
---- Dmitry Kolesnikov a écrit ----
>You can solve the issue if you compile OpenSSL and Erlang yourself at build machine, disable-dynamic-ssl-lib. The resulting relx image would not require libcrypto anymore so that you can convert it.
>You can get hint on build step here https://github.com/docker-file/erlang/blob/master/Dockerfile
>> On Dec 12, 2016, at 11:31 PM, Garry Hodgson <> wrote:
>> We are using a jenkins build server on centos to create our releases, using rebar3. The deployed release tarball includes the erlang runtime. Recently we needed to deploy it on a remote system that runs Ubuntu. The developers used a tool called alien to convert the .rpm that installs the release tarball into a .deb package that Ubuntu expects.
>> The application won't start, complaining that it can't find libcrypto, though OpenSSL is installed. I'm guessing that the compiled erlang runtime, having been built for centos, is looking for libs in different places, perhaps with different names.
>> Is there a way to make this work by working around with env vars, symlinks, or other post-buld kludgery? Or do we need to just bite the bullet and set up a Jenkins build server for ubuntu? Are others deploying releases on different Linux distributions? Any suggestions or lessons learned would be appreciated.
>> erlang-questions mailing list
>erlang-questions mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions