Bug 14733 – unable to link with odbc on linux. dmd_2.068.0~b1-0_i386.deb
Status
RESOLVED
Resolution
INVALID
Severity
trivial
Priority
P1
Component
phobos
Product
D
Version
D2
Platform
x86
OS
Linux
Creation time
2015-06-25T10:09:00Z
Last change time
2015-06-26T06:19:56Z
Assigned to
nobody
Creator
john.sevsk
Comments
Comment #0 by john.sevsk — 2015-06-25T10:09:17Z
dmd_2.068.0~b1-0_i386.deb
unixodbc 2.2.14p2-5ubuntu5
unable to link with the libodbc.so library
with errors like "undefined reference to `SQLAllocHandle@12"
because of "extern (Windows)" directives in files
etc/c/odbc/sql.d
etc/c/odbc/sqlext.d
etc/c/odbc/sqltypes.d
etc/c/odbc/sqlucode.d
I think it should be "extern (C)" for unix platforms