Closed stefanomusso70 closed 1 year ago
Concerning your attempt to build release 2.3.0 with PostgreSQL v13:
You aren't actually building against PostgreSQL v13. See the following in your compiler invocation:
gcc [...] -I/usr/include/postgresql/16/server -I/usr/include/postgresql/internal [...] oracle_fdw.c
It seems like the first pg_config
on your PATH
is from a PostgreSQL v16 installation. It is to be expected that building oracle_fdw 2.3.0 with PostgreSQL v16 will fail.
You have to change PATH
so that pg_config
from your PostgreSQL v13 installation is first on the path:
PATH=/path/to/pg13/bin:$PATH make
Your second build attempt fails for the very same reason: release 2.5.0 also doesn't work with PostgreSQL v16. The error messages are different, because the incompatibilities are different.
My advice is to always use the latest release of oracle_fdw, no matter against which version of PostgreSQL you are building.
Anything else I can help you with, or can we close this issue?
Thank you, with your suggestion I solve the problem, I can close the issue. Bye Stefano
Hi Lorentz, I attempted to install oracle_fdw on a debian bullseye-slim system. The release of oracle-fdw is 2.3.0, the Oracle instant client is 21.1, the release of postgres is 13.12-1.pgdg110+1, the prerequisites have been met.
First I try to build a docker image based on bullseye-slim with postgres and oracle_fdw, but I have an error. So I try to do the make inside the container (based on a image with postgres) and not during the build of the image, but I have always the same error:
With oracle_fdw 2.4.0 I have the same error.
With oracle_fdw 2.5.0 I have different error:
For me the better solution is installing 2.3.0 release.