<div dir="ltr"><div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jul 4, 2019 at 10:52 AM Matwey V. Kornilov <<a href="mailto:matwey.kornilov@gmail.com">matwey.kornilov@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">ср, 3 июл. 2019 г. в 23:28, Rickard Green <<a href="mailto:rickard@erlang.org" target="_blank">rickard@erlang.org</a>>:<br>
><br>
><br>
><br>
> On Tue, Jul 2, 2019 at 7:45 PM Matwey V. Kornilov <<a href="mailto:matwey.kornilov@gmail.com" target="_blank">matwey.kornilov@gmail.com</a>> wrote:<br>
> ><br>
> ><br>
> > Hi,<br>
> ><br>
> > I see the following in the changelog for the quite old version of crypto:<br>
> ><br>
> > """<br>
> > Fixed Bugs and Malfunctions<br>
> ><br>
> >     It was not possible in R9 to relink the crypto driver. The object<br>
> > file was missing as well as an example makefile. The crypto driver<br>
> > object file is now released with the application (installed in<br>
> > priv/obj). An example makefile has also been added to the priv/obj<br>
> > directory. The makefile serves as an example of how to relink the driver<br>
> > on Unix (crypto_drv.so) or Windows (crypto_drv.dll).<br>
> ><br>
> >     Own Id: OTP-4828 Aux Id: seq8193<br>
> > """<br>
> ><br>
> > priv/obj is still there. I would like to have more details on this<br>
> > issue. Could somebody give an example when one needs to relink<br>
> > crypto_drv.so?<br>
> ><br>
><br>
> We used to deliver a pre-built binary release of OTP for licensed customers. The object file and example makefile were there in order for customers to be able link the crypto driver against an alternative openssl library. Nowadays the driver has be replaced by a NIF and we only deliver OTP as source. Since everyone builds from source, there is no need for this relink procedure.<br></blockquote><div><br></div><div>Let me take the last sentence back :-)<br> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
> --<br>
> Rickard Green, Erlang/OTP, Ericsson AB<br>
<br>
Hi,<br>
<br>
Many thanks for your response. You say that relinking is not needed<br>
nowadays. Is it possible to drop this object files from "make install"<br>
rules in further releases?<br>
<br>
-- <br>
With best regards,<br>
Matwey V. Kornilov<br>
</blockquote></div></div><div><br></div><div>In case you deliver OTP as a pre-built binary package to your customers (as we previously did), it might be useful for your customers to be able to relink the crypto NIF library. That is, I don't think this feature should be removed.<br clear="all"></div><div>-- <br><div dir="ltr" class="gmail_signature">Rickard Green, Erlang/OTP, Ericsson AB</div></div></div>