[erlang-questions] running centos release tarball on debian

Garry Hodgson <>
Tue Dec 13 19:20:00 CET 2016


Many thanks to all who replied. I expect we'll address this at the 
source, and upgrade our automated builds to handle both Centos and 
Ubunu. The Docker stuff looks intriguing as well.


On 12/13/16 4:53 AM, Dmitry Kolesnikov wrote:
> Hello,
>
> 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
>
> Best Regards,
> Dmitry
>
>
>> 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.
>>
>> Thanks
>>
>>
>>
>> _______________________________________________
>> erlang-questions mailing list
>> 
>> http://erlang.org/mailman/listinfo/erlang-questions
>



More information about the erlang-questions mailing list