<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>article Qlik Replicate: Failed to load Postgres driver Cannot load libpq-dll in Official Support Articles</title>
    <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Replicate-Failed-to-load-Postgres-driver-Cannot-load-libpq/ta-p/2555186</link>
    <description>&lt;P&gt;Testing the PostgreSQL Source Endpoint in Qlik Replicate may fail with the following error:&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="courier new,courier"&gt;Failed to load Postgres driver. Cannot load libpq.dll&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Resolution&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P&gt;You should have two entries in the system environment variables pointing to the following folders (default locations):&lt;/P&gt;
&lt;UL class="lia-list-style-type-circle"&gt;
&lt;LI&gt;C:\Program Files\PostgreSQL\12\bin&lt;/LI&gt;
&lt;LI&gt;C:\Program Files\psqlODBC\1202\bin&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;EM&gt;Both&amp;nbsp;&lt;/EM&gt;folders must include&amp;nbsp;the &lt;STRONG&gt;libpq.dll&lt;/STRONG&gt; file.&lt;/P&gt;
&lt;P&gt;If the connection test fails even with libpq.dll present in both directories, then:&lt;/P&gt;
&lt;OL class="lia-list-style-type-circle"&gt;
&lt;LI&gt;Copy the &lt;STRONG&gt;libpq.dll&lt;/STRONG&gt; file from &lt;EM&gt;odbc\bin&lt;/EM&gt;&amp;nbsp;(&lt;EM&gt;C:\Program Files\psqlODBC\1202\bin&lt;/EM&gt;) to&amp;nbsp; &lt;EM&gt;~\Replicate\bin&lt;/EM&gt;&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;Restart the Qlik Replicate server service and the Replicate UI server service&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Environment&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;UL&gt;
&lt;LI&gt;Qlik Replicate&lt;/LI&gt;
&lt;/UL&gt;</description>
    <pubDate>Tue, 25 Aug 2026 14:00:23 GMT</pubDate>
    <dc:creator>sureshkumar</dc:creator>
    <dc:date>2026-08-25T14:00:23Z</dc:date>
    <item>
      <title>Qlik Replicate: Failed to load Postgres driver Cannot load libpq-dll</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Replicate-Failed-to-load-Postgres-driver-Cannot-load-libpq/ta-p/2555186</link>
      <description>&lt;P&gt;Testing the PostgreSQL Source Endpoint in Qlik Replicate may fail with the following error:&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="courier new,courier"&gt;Failed to load Postgres driver. Cannot load libpq.dll&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Resolution&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P&gt;You should have two entries in the system environment variables pointing to the following folders (default locations):&lt;/P&gt;
&lt;UL class="lia-list-style-type-circle"&gt;
&lt;LI&gt;C:\Program Files\PostgreSQL\12\bin&lt;/LI&gt;
&lt;LI&gt;C:\Program Files\psqlODBC\1202\bin&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;EM&gt;Both&amp;nbsp;&lt;/EM&gt;folders must include&amp;nbsp;the &lt;STRONG&gt;libpq.dll&lt;/STRONG&gt; file.&lt;/P&gt;
&lt;P&gt;If the connection test fails even with libpq.dll present in both directories, then:&lt;/P&gt;
&lt;OL class="lia-list-style-type-circle"&gt;
&lt;LI&gt;Copy the &lt;STRONG&gt;libpq.dll&lt;/STRONG&gt; file from &lt;EM&gt;odbc\bin&lt;/EM&gt;&amp;nbsp;(&lt;EM&gt;C:\Program Files\psqlODBC\1202\bin&lt;/EM&gt;) to&amp;nbsp; &lt;EM&gt;~\Replicate\bin&lt;/EM&gt;&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;Restart the Qlik Replicate server service and the Replicate UI server service&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Environment&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;UL&gt;
&lt;LI&gt;Qlik Replicate&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Tue, 25 Aug 2026 14:00:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Replicate-Failed-to-load-Postgres-driver-Cannot-load-libpq/ta-p/2555186</guid>
      <dc:creator>sureshkumar</dc:creator>
      <dc:date>2026-08-25T14:00:23Z</dc:date>
    </item>
  </channel>
</rss>

