-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When run the program get That can not find bind point of OCIBindByPos2 in the dynamic link library #259
Comments
Your libclntsh.so does not contain OCIBindByPos2, only OCIBindByPos - it's an older version than with what you've compiled with Maybe gopkg.in/goracle.v2 is better (uses ODPI-C, a nicer C library): does not need OCI libs at compile time, only at runtime, so it decides which version of OCIBindByPos to use at runtime. |
This file libclntsh.dll or .so is not present in my windows. |
AFAIK it's called oci.dll on Windows. |
the problem was solved with instantclient-basic-windows.x64-12.2.0.1.0 + SDK The gopkg.in/goracle.v2 is not compiling gopkg.in/goracle.v2..\gopkg.in\goracle.v2\orahlp.go:229: undefined: sql.Out |
Regarding gopkg.in/goracle.v2: it needs at least Go 1.9 - the best is the latest (1.11.2 ATM). |
Before close the issue. for rows.Next() {
This is ok, to print the column value ? |
"%v" is better, but yes (assuming rowP isd []driver.Value or []interface{}). |
i try with %v, prints for each row in the select |
I have install and copile the gopkg.in/rana/ora.v3
My programs copile whitout errors.
When run the program get:
The entry point of the OCIBindByPos2 procedure could not be located in the dynamic link library
What is brong?
The text was updated successfully, but these errors were encountered: