title: initdb error on PostgreSQL 10 - RHEL 6
body: <p>Installed PostgreSQL 10 on RHEL 6 system by running the following commands:</p>
  
  <pre><code>rpm -Uvh --force --nodeps postgresql10-libs-10.0-1PGDG.rhel6.x86_64.rpm
  rpm -Uvh --force --nodeps postgresql10-10.0-1PGDG.rhel6.x86_64.rpm
  rpm -Uvh --force --nodeps postgresql10-server-10.0-1PGDG.rhel6.x86_64.rpm
  rpm -Uvh --force --nodeps postgresql10-contrib-10.0-1PGDG.rhel6.x86_64.rpm
  </code></pre>
  
  <p>The tried to run initdb:</p>
  
  <p><code>cd /usr/pgsql-10/bin</code></p>
  
  <p><code>./initdb --locale=C --encoding=UTF-8 -D /opt/postgresql -U postgres</code></p>
  
  <p>Getting the following error:
  <code>/usr/pgsql-10/bin/postgres: error while loading shared libraries: libicui18n.so.42: cannot open shared object file: No such file or directory
  no data was returned by command ""/usr/pgsql-10/bin/postgres" -V"
  The program "postgres" is needed by initdb but was not found in the
  same directory as "/usr/pgsql-10/bin/initdb".
  Check your installation.</code></p>
  
  <p>Can someone pls help resolve this issue?</p>
  
  <p>Thanks.</p>
  
  <p>UPDATE:</p>
  
  <p>Ran:
  <code>rpm -Uvh --force postgresql10-10.0-1PGDG.rhel6.x86_64.rpm</code></p>
  
  <p>got the following error:</p>
  
  <p><code>error: Failed dependencies:
          libicu is needed by postgresql10-10.0-1PGDG.rhel6.x86_64</code></p>
  
  <p>Can someone please tell me how to resolve the dependency issue?</p>