我在发布包(由systools:make_tar创建)时遇到了问题。当我使用erlang (/usr/local/lib/erlang/)的代码运行它时,它运行得非常完美。只有当我切换到发行包(/some/other/dir)提供的代码时,它才会开始抛出undef异常。
我知道的是:
/some/other/dir/erts-5.8.1/bin/erl -sname test -boot /some/other/dir/releases/0.0.1/start来运行所有这些/some/other/dir/erts-5.8.1/bin/erl以设置代码的路径(从/usr/local/lib/erlang到/some/other/dir来回)/usr/local/lib/erlang/lib和/some/other/dir/lib中有完全相同版本的代码.app文件,所以.beam文件在/usr/local/lib/erlang/lib/和/some/other/dir/lib/中都有。code:all_loaded()/code:get_path()中。code:clash()的冲突现在我没有主意了。有什么指示吗?:)
发布于 2010-12-17 14:49:56
我的建议?使用钢筋。
总之,您的.rel文件是否包含那些未定义的应用程序?
https://stackoverflow.com/questions/4464136
复制相似问题