You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 21, 2019. It is now read-only.
I had a similar issue trying to compile ejabberd with Erlang R15 on my Mac OS X (10.9.4). There were no errors during the build (I used the homebrew formula). But when I attempted to run ejabberd through the ejabberdctl start command it would start and crash with that error. I checked the iconv.so file that was generated during the build of eiconv using otool -L and it only listed libSystem.B.dylib as a dependency, and not libiconv.2.dylib.
I cloned the eiconv repository and running configure then make yielded the same result. I looked at the p1_yaml project and noticed that the rebar.config file had a linker flag for the libyaml. So I changed this line in the rebar.config file
and that seems to fix the problem. The iconv.so file that the clang makes now lists libiconv as one of the shared libraries that is used and ejabberd runs normally after replacing the previous version of the iconv.so file. I don't know if the configure script needs any changes as well.
unable to load iconv NIF
The text was updated successfully, but these errors were encountered: