mikra01 / nimodpi

Oracle ODPI-C wrapper for Nim
MIT License
21 stars 0 forks source link

DPI-1020: application requires ODPI-C 4 (min 4.3) but is using a shared library at version 4.1 #10

Closed walter-weinmann closed 2 years ago

walter-weinmann commented 2 years ago

With the latest version I get the following problem:

db_oracle.nim(440)       newOracleContext
Error: unhandled exception: newOracleContext: (code: 0, offset16: 0, message: "DPI-1020: application requires ODPI-C 4 (min 4.3) but is using a shared library at version 4.1", messageLength: 94, encoding: "UTF-8", fnName: "dpiContext_createWithParams", action: "check version", sqlState: "HY000", isRecoverable: 0, isWarning: 0, offset: 0) [IOError]
mikra01 commented 2 years ago

I bumped to latest ODPI-C 4.3 rel. unfortunately nimpterop does not clear the nimcache - seems there are old precompiled fragments for rel. 4.1. present; so please clear your local "nimcache" directory and recompile.

walter-weinmann commented 2 years ago

Ok, thank you very much.