Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re^5: /app/chart/oracle/product/19c/sdk/include/oci.h:745:20: fatal error: ociver.h: No such file or directory

by marto (Cardinal)
on Oct 05, 2021 at 11:29 UTC ( #11137236=note: print w/replies, xml ) Need Help??

in reply to Re^4: /app/chart/oracle/product/19c/sdk/include/oci.h:745:20: fatal error: ociver.h: No such file or directory
in thread /app/chart/oracle/product/19c/sdk/include/oci.h:745:20: fatal error: ociver.h: No such file or directory

Where did you install the SDK? Your ORACLE_HOME seems to point at the Oracle 19c database installation, there's no mention of the instant client path. Your install is still not correct, hence the first message is the same. The second message message about tells you that (of the DBD::Oracle install you made) relates to v1.24, where as the Oracle shared object file you have is for version 1.60. Perhaps confusion from trying to install different versions of the module. Stick to the latest release unless you have good reason not to. Since you don't show how, I'm guessing you're doing a perl Makefile.PL, you should get more details from perl Makefile.PL -v.

  • Comment on Re^5: /app/chart/oracle/product/19c/sdk/include/oci.h:745:20: fatal error: ociver.h: No such file or directory
  • Select or Download Code

Replies are listed 'Best First'.
Re^6: /app/chart/oracle/product/19c/sdk/include/oci.h:745:20: fatal error: ociver.h: No such file or directory
by silversurfer2in (Initiate) on Oct 05, 2021 at 12:09 UTC
    Hello Marto,

    As I have mentioned I have installed Oracle 19c (19.3). The path to ORACLE_HOME is for the client installation only

    The client that I have installed was downloaded from under the header Oracle Database 19c Client (19.3) for Linux x86-64

      That path looks like it's for the 19c database, not the instantclient. Depending on how Oracle is installed (often out of our hands, by DBAs etc), you may not have everything you need to build DBD::Oracle, hence why I suggested getting the components listed in the modules README, setting ORACLE_HOME (and LD_LIBRARY_PATH) as required then building the module. From experience this is more likely to be successful, less likely to run into some Oracle related shenanigans.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11137236]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2022-01-21 00:00 GMT
Find Nodes?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:

    Results (57 votes). Check out past polls.