<div dir="ltr">Hi all,<div><br></div><div style>I am using erlang on Mac OS X and am using homebrew (a package manager, <a href="https://github.com/mxcl/homebrew">https://github.com/mxcl/homebrew</a>) to keep my erlang installation up-to-date. Now homebrew installs all packages into its own directory and then symlinks the files into the right spot, like this:</div>

<div style><br></div><div style>Installed to (--prefix): /usr/local/Cellar/erlang/R15B03</div><div style>Symlinked to and run in: /usr/local </div><div style><br></div><div style>With the default erlang build options, this makes erlang look for its app under /usr/local/Cellar/erlang/R15B03/lib/erlang/lib. However third party apps install into /usr/local/lib/erlang/lib, and erlang cannot find them there.</div>

<div style><br></div><div style>Currently I am fixing this by crudely changing $ROOTDIR in .../lib/erlang/bin/erl and .../lib/erlang/bin/start, but I am wondering if there is a better way to do this? And if there is not, is my hack causing any side effects I am not seeing yet?</div>

<div style><br></div><div style>Thanks,</div><div style>Dirk</div></div>