How to install oracle_fdw extension in postgresql 9.4 - ubuntu-16.04

I'm trying to installing oracle_fdw packages in postgres 9.4. But it is throwing the exception below.
Error:
/home/ramesh/Downloads/oracle_fdw-1.2.0# make
make: pg_config: Command not found
make: *** No targets. Stop.
I am using Ubuntu 16.04.

Related

Install aws-s3-postgres step "make install" causes error: make: *** windows32_openpipe (): unable to launch process (e=2)

I try to intsall the aws-s3-postgres extension on a windows machine. I follow the installing guide from https://github.com/chimpler/postgres-aws-s3
with - make install - on the directory, where the clone aws-s3-postgres is placed i get following error:
process_begin: CreateProcess((null), pg_config --pgxs, ...) failed.
make: *** windows32_openpipe (): unable to launch process (e=2)
. Stop.
Now is installed:
Python 3.10.0
pip 22.1.2 from C:\Users\xxx\AppData\Local\Programs\Python\Python310\lib\site-packages\pip (python 3.10)
boto Version: 2.49.0
boto3 Version: 1.24.7
pg_config also running
clone aws-s3-postgres is donnloaded.

install php driver of mongo db on mac with m1 chip

I'm trying to install mongodb php driver on mac with m1 chip using pecl.
php 7.4
XAMPP
when I run command:
sudo pecl install mongodb
it start downloading, phpize, configure and after all make of downloaded package, but during the make process it throw this error in spite of that file exist.
result was same when I tried the steps manually too.
1 error generated.
make: *** [src/libmongoc/src/libmongoc/src/mongoc/mongoc-scram.lo] Error 1
ERROR: `make' failed
so I need to know if some one faced same issue and could solve it or not. I'll attach a shot of error
if you need any other deta
best regards

How to install plv8 in postgresql 12 on Windows10?

I have followed instruction given in How to install PLV8 on Windows? and Can't create extensions plv8 postgresql questions, but I am getting below error:
ERROR: could not load library "C:/Program Files/PostgreSQL/12/lib/plv8.dll": The specified procedure could not be found.
SQL state: 58P01

Incompatible postgis 2.1 for postgresql 9.3.3 homebrew os x 10.10

I have upgraded from OS X 10.9 to 10.10 Yosemite. I was running postgresql 9.3.3 with postgis 2.1. I did not do a pgdump before upgrading to OS X 10.10 (I know, I know, kill me...) but I have the original data directory. I did a brew install postgresql and got 9.4.4. So I installed Postgresql 9.3.9 (the only 9.3 version I could find) with Homebrew. Also brew install postgis. I then got a version 2.1 Postgis for Postgresql 9.4.4. I tried to install postgis20 but that does not work with my database.
When I start Postgresql 9.3.3 I can see all my databases but when I browse I get the error:
ERROR: could not access file "$libdir/postgis-2.1": No such file or directory
I tried to link to posts-2.1 in the $libdir directory but then I get this message:
ERROR: incompatible library "/usr/local/Cellar/postgresql93/9.3.9/lib/postgis-2.1.so": version mismatch
DETAIL: Server is version 9.3, library is version 9.4.
So obviously I need a postgis-2.1 for Postgresql 9.3 but I don't know how to fix that.
If I try to run a pg_dumpall I get this error (obvious I guess):
➜ ./pg_dumpall >> old_backup.sql
pg_dump: Dumping the contents of table "darwin_test" failed: PQgetResult() failed.
pg_dump: Error message from server: ERROR: could not load library "/usr/local/Cellar/postgresql/9.3.3/lib/postgis-2.1.so": dlopen(/usr/local/Cellar/postgresql/9.3.3/lib/postgis-2.1.so, 10): Symbol not found: _json_tokener_errors
Referenced from: /usr/local/Cellar/postgresql/9.3.3/lib/postgis-2.1.so
Expected in: /usr/local/lib/libjson-c.2.dylib
in /usr/local/Cellar/postgresql/9.3.3/lib/postgis-2.1.so
So how do I get postgis-2.1 to work again with postgresql 9.3.3?
In homebrew I only find a postgis-2.1 for postgresql94.
Use brew edit postgis to change the postgresql references to postgresql93 in the install script and then run brew install postgis. You might also have to link/unlink postgresql using brew link postgresql93 or brew unlink postgresql.

Building pgadmin3-1.20.0 in CentOS 7 with PostgreSQL-9.4

I want to build pgadmin3-1.20.0 in CentOS 7, so I enter:
./configure
But I got this error:
configure: error: Could not find your PostgreSQL installation. You might need to use the --with-pgsql=DIR configure option
And when I use following command:
./configure --with-pgsql=/usr/pgsql-9.4/
this error will be raised:
configure: error: you must specify a valid PostgreSQL 8.4+ installation with --with-pgsql=DIR
Pgsql is up and has not any problem. How can I fix this error.
have you tried to install the libraries that are specified in this other post?
https://serverfault.com/questions/453430/install-pgadmin-in-debian-server