[Issue 14733] New: unable to link with odbc on linux. dmd_2.068.0~b1-0_i386.deb

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Jun 25 03:09:17 PDT 2015


https://issues.dlang.org/show_bug.cgi?id=14733

          Issue ID: 14733
           Summary: unable to link with odbc on linux.
                    dmd_2.068.0~b1-0_i386.deb
           Product: D
           Version: D2
          Hardware: x86
                OS: Linux
            Status: NEW
          Severity: trivial
          Priority: P1
         Component: phobos
          Assignee: nobody at puremagic.com
          Reporter: john.sevsk at gmail.com

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 at 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

--


More information about the Digitalmars-d-bugs mailing list