Menu

unixODBC

Help
2006-10-12
2013-03-07
  • Javier Diaz-Reinoso

    In the README say the driver works with: 'unixODBC or iODBC', but in the Makefile in INCLUDED_LIBS only have -liodbcinst, so what changes are needed to work with unixODBC?

     
    • Evgen Bendyak

      Evgen Bendyak - 2006-10-12

      is it compile normal? just in link stage write that iodbcinst not found? If so simple change -liodbcinst on library form unix odbc and all will be work

       
    • Javier Diaz-Reinoso

      I don't compile the library, instead I installed iODBC, but now I have this error when using iodbctest:
      ----------------------
      iODBC Demonstration program
      This program shows an interactive SQL processor
      Driver Manager: 03.52.0406.0126

      Enter ODBC connect string (? shows list): DSN=bnftest;UID=firmas;PWD=xxxxx;DATABASE=cli_cta
      1: SQLDriverConnect = [JMan Soft][OraODBC][bnftest]ORA-00604: error occurred at recursive SQL level 1
      ORA-01401: inserted value too large for column
      ORA-06512: at line 2
      (604) SQLSTATE=HY000
      1: ODBC_Connect = [JMan Soft][OraODBC][bnftest]ORA-00604: error occurred at recursive SQL level 1
      ORA-01401: inserted value too large for column
      ORA-06512: at line 2
      (604) SQLSTATE=HY000

      Have a nice day.
      ----------------------
      Have you any idea what this error mean?, were are using Oracle 9i in a Red Hat client with a Windows Oracle server.

      Thank you for your help.

       
      • Evgen Bendyak

        Evgen Bendyak - 2006-10-14

        Strange but by code i see this is error of oracle not my driver error in open connection procedure. I test it on Oracle 9i but never see such error :(. Also do you describe all in odbc.ini such as Server and Database. Also SQLDriverConnect understand only DSN Server Database UID PWD. But you give DATABASE so may be problem in that, driver not read DATABASE from your string and from ini file so it give wrong database ro oracle OCI library

         

Log in to post a comment.