Hello! I finally have a patch for the erlang spec file that lets the VM look for dependencies in /usr/share/erlang/lib[0]. I tested it by moving one of ejabberd's dependencies there, and the server does start up.
I've also written a patch for the macros to put libraries in that location[1]. There is one problem I've not solved yet - rebar does not seem to find dependencies when running eunit, as I reported in a comment in [0]. I'm not sure why but it seems that Rebar does not use the Erlang VM's search path? Does anybody know how we can convince Rebar to find dependencies in /usr/share? [0] https://bugzilla.redhat.com/show_bug.cgi?id=1476614 [1] https://github.com/lemenkov/erlang-rpm-macros/pull/4/
signature.asc
Description: This is a digitally signed message part
_______________________________________________ erlang mailing list -- [email protected] To unsubscribe send an email to [email protected]
