I am trying to compile Erlang OTP-R16B03-1 on FreeBSD 10.1 OS. When i run the ./configure
command the output is
odbc : ODBC library - header check failed
I have tried installing unixODBC, iODBC. Also /usr/ports/databases/unixODBC
exists. The sql.h
file is located in /usr/local/include
.
I am still getting the link failed error. Any help will be useful
The log for ./configure |grep odbc
command is as shown below
config.status: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting
=== configuring in odbc/. (/root/otp_src_R16B03-1/lib/odbc/.)
checking for odbc in standard locations... -L/usr/local/lib
checking for SQLAllocHandle in -lodbc... no
configure: WARNING: "ODBC library - header check failed"
configure: WARNING: Check for large file support flags failed; getconf failed
odbc : ODBC library - header check failed
2条答案
按热度按时间brvekthn1#
我在
erlang 21
上遇到了同样的问题,但是当我从github(erlang 22
)下载最新版本,并尝试./configure
时,错误ODBC library - header check failed
再次出现,但再次尝试make install
后,一切都成功完成。xkftehaa2#
最后对我有用的是
然后