Re: Ubuntu 15.04 Installing Oracle_fdw

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Leonardo M(dot) Ramé <l(dot)rame(at)griensu(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Ubuntu 15.04 Installing Oracle_fdw
Date: 2016-01-02 17:28:21
Message-ID: 568808B5.1050902@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 01/02/2016 08:22 AM, Leonardo M. Ramé wrote:
>
> El 02/01/16 a las 12:51, Leonardo M. Ramé escribió:
>> Hi, I compiled oracle_fdw.so on Ubuntu 15.04 Server 64bits and I'm
>> getting the "No such file or directory" error when I try to create the
>> oracle_fdw extension.
>>
>> After doing make and make install on Oracle fdw source oracle_fdw.so is
>> built and installed correctly (oracle_fdw.so is copied to my $libdir
>> directory those related files are copied to the extension directory:
>>
>> ls -lah /usr/share/postgresql/9.4/extension
>>
>> -rw-r--r-- 1 root root 231 ene 2 12:19 oracle_fdw--1.0--1.1.sql
>> -rw-r--r-- 1 root root 1003 ene 2 12:19 oracle_fdw--1.1.sql
>> -rw-r--r-- 1 root root 133 ene 2 12:19 oracle_fdw.control
>>
>> But, when I try to create the extension I get this:
>>
>> psql (9.4.4, server 9.4.2)
>> SSL connection (protocol: TLSv1.2, cipher: ECDHE-RSA-AES256-GCM-SHA384,
>> bits: 256, compression: off)
>> Type "help" for help.
>>
>> postgres=# create extension oracle_fdw;
>> ERROR: could not open extension control file
>> "/usr/share/postgresql/9.4/extension/oracle_fdw.control": No such file
>> or directory
>>
>>
>> Any hint?
>
> hehe, sorry, I was connected to a remote host using psql.

So that would explain this:

psql (9.4.4, server 9.4.2)

I take it then that connecting locally solved the problem?

>
>

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Brar Piening 2016-01-02 20:05:08 Re: How do I implement a .XSD in Postgres?
Previous Message Dane Foster 2016-01-02 17:27:26 Re: Enforcing referential integrity against a HSTORE column