Giter Club home page Giter Club logo

Comments (3)

laurenz avatar laurenz commented on August 14, 2024

The README says:

You need to install Oracle's C header files as well (SDK package for Instant
Client).

So that would have saved you from your first problem.
I had no mention of your second problem, but it is frequent enough that I updated the documentation:

PostgreSQL and Oracle need to have the same architecture, for example you
cannot have 32-bit software for the one and 64-bit software for the other.

Now that you have installed 64-bit Oracle, everything should work.
What is the error message you get?
I recommend that you uninstall the 32-bit Oracle Instant Client before trying, as it is all too easy to get confused with different Oracle installations on the same maching.

from oracle_fdw.

 avatar commented on August 14, 2024

Thanks for the reply.

I made the beginner's mistake of thinking that Instantclient_64 meant that the client was 64-bit.
Here's my solution:

  1. I re-installed instantclient and sdk from the Oracle site, being careful to grab the 64-bit versions.
  2. I added sym links to /usr/lib for libclntsh.dylib and libclntsh.dylib.11.1 to /usr/lib/
  3. Added the new paths to my DYLD_LIBRARY_PATH and my LD_LIBRARY_PATH env variables in my .profile.
  4. Closed and re-opened all terminal sessions just to be sure that my environment was being defined by my .profile settings.
  5. Restarted Postgres and followed the rest of your README install instructions, and was able to install the extension.

I'm very close. But not yet able to talk to the Oracle server. At this point I get the ORA-12154 error. I will call this question closed, and open another for that issue.

Thanks.
R

from oracle_fdw.

laurenz avatar laurenz commented on August 14, 2024

Ok, thanks for the feedback.

from oracle_fdw.

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.