Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE

How to Install PostgreSQL ODBC client on Linux for PostgreSQL Source Endpoint

100% helpful (1/1)
cancel
Showing results for 
Search instead for 
Did you mean: 
john_wang
Support
Support

How to Install PostgreSQL ODBC client on Linux for PostgreSQL Source Endpoint

Last Update:

Apr 22, 2024 4:28:10 AM

Updated By:

Sonja_Bauernfeind

Created date:

Apr 22, 2024 4:33:22 AM

This article provides a comprehensive guide to efficiently install the PostgreSQL ODBC client on Linux for a PostgreSQL source endpoint.

Overview

  1. Download the PostgreSQL ODBC client software.
  2. Upload the downloaded files to your Replicate Linux Server.
  3. Install the RPM files in the specified order.
  4. Take note of considerations or setup instructions during the installation process.

Steps

  1. Download the PostgreSQL ODBC client software

    Please choose the appropriate version of the PostgreSQL client software and the corresponding folder for your Linux operating system. In this article, we are installing PostgreSQL ODBC Client version 13.2 on Linux 8.5.

  2. Upload the downloaded files to a temporary folder in your Qlik Replicate Linux Server

  3. Install the RPM files in the specified order  
    rpm -ivh postgresql13-libs-13.2-1PGDG.rhel8.x86_64.rpm
    rpm -ivh postgresql13-odbc-13.02.0000-1PGDG.rhel8.x86_64.rpm
  4. Take note of considerations or setup instructions during the installation process.
    1. Note the installation folder (default: "/usr/pgsql-13/lib")
    2. Open site_arep_login.sh in /opt/attunity/replicate/bin/ and add the installation folder as a LD_LIBRARY_PATH
      export LD_LIBRARY_PATH=/usr/pgsql-13/lib:$LD_LIBRARY_PATH
    3. Save the site_arep_login.sh file and restart Replicate Services.

  5. unixODBC is a prerequisite. If it's not already present on your Linux Server, make sure to install it before PostgreSQL ODBC client software installation:
    rpm -ivh unixODBC-2.3.7-1.el8.x86_64.rpm
  6. "/etc/odbcinst.ini" and "/etc/odbc.ini" are optional and typically not required, unless it becomes necessary for troubleshooting connectivity issues by "isql"

  7. "psql" is optional and typically not required, unless it becomes necessary for troubleshooting connectivity issues by psql. It can be downloaded and installed by:

            postgresql13-13.2-1PGDG.rhel8.x86_64.rpm

Environment

  • Qlik Replicate all versions
  • PostgreSQL Server all versions
  • PostgreSQL Client version 13.2
Labels (2)
Version history
Last update:
2 weeks ago
Updated by: