Erlang Error: {open_error, -12}

PostsErlang Error: {open_error, -12}

This error happens when you have old or missing .so libraries for your Erlang app.  It is rarely mentioned on the Internet and can consume hours of wasted debugging time.  Now you know.  🙁

By Jayson Vantuyl on October 14, 20082 commentsPosts

About Jayson Vantuyl

I live in San Francisco, California; have an awesome son, David; and make machines do (subjectively) interesting things. I'm generally an all around handy fellow.


  • Reply Steven Parkes said: June 18, 2009 12:52 pm

    Since this is the first Google hit for "open_error, -12" (and because I did do a lot of searching as to why I was getting the error even after having seen this): some of the ejabberd scripts (ejabberdctl and erl) (at least those packaged with the OS X installer from ProcessOne) have an error that causes the arch to be misidentified and as a result, the libs not to be found. So, the cause is a library issue, but only apparently missing.

    See EJAB-956.

  • Reply cgu said: August 9, 2011 1:57 pm

    do you know what "{error,{open_error,-10}}" means?

Leave a Comment

Your email address will not be published. Required fields are marked *