Giter Club home page Giter Club logo

Comments (8)

chrullrich avatar chrullrich commented on August 14, 2024

You are using a version of oracle_fdw that was built with PostgreSQL 16. You have to find and install a package that supports PostgreSQL 15 instead. oracle_fdw is always compiled for one specific (major) version of PostgreSQL and the result only works with that one version.

You can also build it yourself from source. Please see the README file; it explains in detail how to do this.

from oracle_fdw.

laurenz avatar laurenz commented on August 14, 2024

Another possibility is that your PostgreSQL version is 15.0 or 15.1.
That won't work, and you have to update to a later minor release.

See #596 and the commit message for 5727908.

from oracle_fdw.

MajdRamadan avatar MajdRamadan commented on August 14, 2024

you mean if i install postgres 12 this error won't appear

from oracle_fdw.

laurenz avatar laurenz commented on August 14, 2024

No. Update your PostgreSQL v15 server to 15.6 and try again.

from oracle_fdw.

MajdRamadan avatar MajdRamadan commented on August 14, 2024

i'm new on postgres and i dont have any idea about upgrading so i tried using postgresql 12 and face this error :

create extension oracle_fdw;
ERROR: could not load library "/usr/pgsql-12/lib/oracle_fdw.so": /usr/pgsql-12/lib/oracle_fdw.so: undefined symbol: errstart_cold

from oracle_fdw.

laurenz avatar laurenz commented on August 14, 2024

See the documentation:

Since the Oracle client shared library is probably not in the standard library path, you have to make sure that the PostgreSQL server will be able to find it. How this is done varies from operating system to operating system; on Linux you can set LD_LIBRARY_PATH or use /etc/ld.so.conf.

But you definitely should not use PostgreSQL v12. Updating is trivial: install 15.6 over your existing 15.0 installation and restart the server. If that is too much for you, perhaps you shouldn't use oracle_fdw, which involves compiling from source...

from oracle_fdw.

devrimgunduz avatar devrimgunduz commented on August 14, 2024

@MajdRamadan how are you installing oracle_fdw, and what is the OS?

from oracle_fdw.

laurenz avatar laurenz commented on August 14, 2024

Could you resolve the problem?

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.