【发布时间】:2021-07-22 07:52:58
【问题描述】:
我正在尝试在 FreeBSD 10.1 操作系统上编译 Erlang OTP-R16B03-1。当我运行./configure 命令时,输出是
odbc : ODBC library - header check failed
我试过安装unixODBC、iODBC。 /usr/ports/databases/unixODBC 也存在。 sql.h 文件位于/usr/local/include。
我仍然收到链接失败错误。任何帮助都会很有用
./configure |grep odbc命令的日志如下所示
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
【问题讨论】:
-
查看
lib/odbc/config.log以获取更详细的错误消息。此外,this question 可能会有所帮助。