Git Product home page Git Product logo

Comments (7)

tgulacsi avatar tgulacsi commented on May 30, 2024

Just a half-blind shot in the gray: OCIBindByPos2 is missing (which shall be used with 11.2).
These are defined for ora in version.h. Maybe the version macro defined there is bad or something?

from ora.

rana avatar rana commented on May 30, 2024

Michael,

Would you try downloading and compiling with http://gopkg.in/rana/ora.v3
and see if there is a difference?

On Tue, Oct 13, 2015, 1:45 PM Tamás Gulácsi [email protected]
wrote:

Just a half-blind shot in the gray: OCIBindByPos2 is missing (which shall
be used with 11.2).
These are defined for ora in version.h. Maybe the version macro defined
there is bad or something?


Reply to this email directly or view it on GitHub
#40 (comment).

from ora.

MichaelS11 avatar MichaelS11 commented on May 30, 2024

Thank you @rana for your help.

I tried with version 3 or ora and had the same issue. I also tried ora with the instant client 12.1.0.2 and same errors. I do not think it is an issue with the code. I also tried the go Oracle driver that is a translation of the Python cx_Oracle and it gave very similar errors.

from ora.

rana avatar rana commented on May 30, 2024

Michael,

Would you uninstall mingw64, install TDM GCC and test?

from ora.

MichaelS11 avatar MichaelS11 commented on May 30, 2024

Thought the same thing, same errors :/

from ora.

ricsmania avatar ricsmania commented on May 30, 2024

Hello @MichaelS11, I think you might have misspelled your CGO_LDFLAGS variable, it should have a S in the end. I'm using a similar setup and everything works:

Windows 10
Go 1.5.1 64
Mingw64
Oracle instant client 12.1

CGO_CFLAGS=-Ic:\oracle\instantclient_12_1_64\sdk\include
CGO_LDFLAGS=-LC:\Oracle\instantclient_12_1_64\sdk\lib\msvc -loci
PATH=/c/go/bin:/c/projetos/go/bin:/c/MinGW_64/mingw64/bin:/c/oracle/instantclient_12_1_64

from ora.

MichaelS11 avatar MichaelS11 commented on May 30, 2024

Oh my goodness! Fail on my part. Thank you very much!

from ora.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.