Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.


MySql 5 Redhat AS4

Brian A.
  • Brian A.
    Brian A.

    When using iodbctest with a mysql 5 driver, I get the following:

    iODBC Demonstration program
    This program shows an interactive SQL processor
    Driver Manager: 03.52.0305.1107
    1: SQLDriverConnect = [iODBC][Driver Manager]/usr/lib/ undefined s
    ymbol: SQLWriteDSNToIniW (0) SQLSTATE=00000
    2: SQLDriverConnect = [iODBC][Driver Manager]Specified driver could not be loade
    d (0) SQLSTATE=IM003

    I ran
    nm /usr/lib/ | grep SQLWriteDSNToIniW and the symbol does appear.

    If I run a test using unixODBC's isql I connect w/o a problem.

    Any help would be greatly appreciated.

    Brian A.

    • I suspect this is because iodbctest is not linked with the -liodbcinst library. I believe the module has a dangling reference to this function and expects it to be resolved by the application. If you recompile iodbctest and include the -liodbcinst library this may resolve your problem.