Comments (7)
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.
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.
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.
Michael,
Would you uninstall mingw64, install TDM GCC and test?
from ora.
Thought the same thing, same errors :/
from ora.
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.
Oh my goodness! Fail on my part. Thank you very much!
from ora.
Related Issues (20)
- How to get the result of a function HOT 5
- Package 'oci8' has no Name: field HOT 4
- LastInsertId is returning 0, when using database/sql package with oracle driver
- exemple
- Getting error in the.Next() method HOT 5
- sql db.Exec fail to insert "" to blob,runtime error: index out of range HOT 2
- Dependencies HOT 3
- When run the program get That can not find bind point of OCIBindByPos2 in the dynamic link library HOT 8
- My code makes de select and prints <nil> for each row HOT 5
- Build in Bitbucket Pipelines HOT 2
- Stmt.exeC Env.ociError ORA-03135: connection lost contact\nProcess ID: 61366\nSession ID: 2867 Serial number: 6006 HOT 3
- Error during go get HOT 6
- Cannot build with instaclient 11.1 HOT 3
- Data Cartridge Development support HOT 3
- Support AQ HOT 1
- time.Time shows <nil> even if the value is present in the DB HOT 7
- remove lock on break HOT 1
- I am geting BLOB fields with extra content HOT 1
- v4.1.15 Data chaos bug HOT 1
- MAC OS ARM64
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ora.