Problems Configuring Database Gateway For ODBC (DG4ODBC) to Connect To Postgres

(Doc ID 881667.1)

Last updated on NOVEMBER 23, 2016

Applies to:

Oracle Database - Enterprise Edition - Version 11.1.0.6 to 12.1.0.1 [Release 11.1 to 12.1]
All Platforms
***Checked for relevance on 06-AUG-2012***


Symptoms

-- Problem Statement:
After configuring DG4ODBC to acces Postgres following the steps in this note -
<Note.466228.1> How to Configure DG4ODBC on Linux x86 32bit or on HP-UX RISC (DG4ODBC 11.1 only) to Connect to Non-Oracle Databases post install
a select gives the error -

ERROR at line 1:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[unixODBC][Driver Manager]Can't open lib '/usr/local/lib/psqlodbcw.so' :
libpq.so.5: cannot open shared object file: No such file or directory
ORA-02063: preceding 2 lines from DG4ODBC.WORLD




A DG4ODBC trace shows error -

Entered hgopoer at 2009/08/28-11:30:35
hgopoer, line 159: got native error 0 and sqlstate 01000; message follows...
[unixODBC][Driver Manager]Can't open lib '/usr/local/lib/psqlodbcw.so' : libpq.so.5: cannot open
shared object file: No such file or directory
Exiting hgopoer, rc=0 at 2009/08/28-11:30:35
hgocont, line 1890: calling SqlDriverConnect got sqlstate 01000

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms