oracle / odpi

ODPI-C: Oracle Database Programming Interface for Drivers and Applications
https://oracle.github.io/odpi/
Other
269 stars 78 forks source link

Fatal and erroneous instruction #125

Closed larsoleruben closed 4 years ago

larsoleruben commented 4 years ago

See https://www.oracle.com/corporate/security-practices/assurance/vulnerability/reporting.html for how to report security issues.

For other issues:

  1. What version of ODPI-C are you using (see dpi.h)? version 7.1.3

  2. Do you have a runnable code snippet to describe the problem? Use a gist (see https://gist.github.com/) or Markdown syntax (see https://help.github.com/github/writing-on-github/basic-writing-and-formatting-syntax)

  3. What error(s) you are seeing? oci.dll not found

  4. What OS (and version) is your application executing on? Ubuntu 18.04 and windows 10

  5. What is your version of the Oracle client (e.g. Instant Client)? How was it installed? Where it is installed? Version 19.5.0.0.0 Following the instruction here https://www.oracle.com/database/technologies/instant-client/winx64-64-downloads.html on the bottom of the page (19_3 replaced with 19_5:

  6. What is your Oracle Database version?

  7. What is the PATH environment variable (on Windows) or LD_LIBRARY_PATH (on Linux) set to? On macOS, what is in ~/lib? c:/orcale/instantclient_19_5 or /opt/oracle/instantclient_19_5

  8. What environment variables did you set? How exactly did you set them? The normal way

  9. What compiler version did you use? ?

This is really crappy! The oci.dll is MISSING from the 19_5 version. I replaced it with the 18_5 and it works, because, surprise, the oci-dll is there. Please update your downloads or adjust you instructions. This is the same on both Linux and Windows!

cjbj commented 4 years ago

@larsoleruben All four (64-bit, 32-bit, basic & basic light) Windows Instant Client 19.5 bundles have an oci.dll file. Linux bundles, of course, don't. But they do have the equivalent .so.

If you give more detail, we might be able to see what your problem is, and direct it to the right group if necessary.

larsoleruben commented 4 years ago

Yes I found out that I had mixed them or something. But to find these download is a nightmare. Why does it have to be so difficult to connect to an oracle database?

cjbj commented 4 years ago

Forums for any software (including supposedly "easy to install" software) are full of questions about install & config. There are always a few steps that are specific to that software.

I'm not sure what you are using ODPI-C for, but I disagree that finding downloads is complex. And we do our best with installation instructions (e.g. here, here, and here).

anthony-tuininga commented 4 years ago

Closing - no activity