I don't know if you need full fledged access or just to read a few tables.
If it the latest you can use PostgreSQL Foreign Data Wrappers (FDW) and access the pgsql instance using the existing PGv2 driver.
I know it might look convoluted, and maybe it is, but you avoid using DBX.
Regards.
Ps: FDW are amazing.
I see from time to time topics like SQL popping up. Most of the time DBXTalk seems to be a requirement. It is also something that is considered necessary for a lot of people. Now have the need to access an oracle database. Is that possible? And if yes does it also work on linux?
Norbert