[erlang-questions] running centos release tarball on debian

Éric Pailleau eric.pailleau@REDACTED
Tue Dec 13 18:19:47 CET 2016


And once you have a portable release, 
you can avoid using alien and create debian package on centos using 
https://github.com/crownedgrouse/debut in rebar overlay 
 or use https://github.com/crownedgrouse/debbie module in your own escript. 
Regards 




"Envoyé depuis mon mobile " Eric

---- Dmitry Kolesnikov a écrit ----

>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 <garryh@REDACTED> 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
>> erlang-questions@REDACTED
>> http://erlang.org/mailman/listinfo/erlang-questions
>
>_______________________________________________
>erlang-questions mailing list
>erlang-questions@REDACTED
>http://erlang.org/mailman/listinfo/erlang-questions
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20161213/9f18c44f/attachment.htm>


More information about the erlang-questions mailing list