Problems Configuring Database Gateway For ODBC (DG4ODBC) to Connect To Postgres
(Doc ID 881667.1)
Last updated on JUNE 08, 2023
Applies to:
Oracle Database - Enterprise Edition - Version 11.1.0.6 to 12.1.0.1 [Release 11.1 to 12.1]Gen 1 Exadata Cloud at Customer (Oracle Exadata Database Cloud Machine) - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
All Platforms
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
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
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
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |
References |