之前碰到过一次,但是当时是和ssl的问题一起解决的,所以再一次的疏忽了,Erlang安装的时候一定要确认所有需要的库都正确安装了。

错误情况是在erl环境中运行 odbc:start(). 的时候

抛出如下的异常:

** exception error: undefined function odbc:start/0

该异常的解决办法和《Erlang {“no such file or directory”,”crypto.app”}  的解决方法》类似首先确认linux下安装了如下的包:

apt-get  install unixodbc unixodbc-dev

接着重新安装erlang解决。

参考:《Linux(Debian)下正确编译安装Erlang的方法

Tagged with:  

Leave a Reply

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

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>