[erlang-questions] running centos release tarball on debian

Dmitry Kolesnikov dmkolesnikov@REDACTED
Tue Dec 13 10:53:03 CET 2016


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




More information about the erlang-questions mailing list