Login  Register

Re: configuring psqlodbc-13.00.0000 in RHEL7 64bit

Posted by satish on May 04, 2021; 5:09am
URL: http://erman-arslan-s-oracle-forum.124.s1.nabble.com/configuring-psqlodbc-13-00-0000-in-RHEL7-64bit-tp9709p9722.html

Dear Erman,

Running out of my thoughts.Please help

Downloaded pgdg-redhat-repo-latest.noarch.rpm from https://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86_64/

[root@erpsupportdb satish]# yum install -y pgdg-redhat-repo-latest.noarch.rpm
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Examining pgdg-redhat-repo-latest.noarch.rpm: pgdg-redhat-repo-42.0-14.noarch
pgdg-redhat-repo-latest.noarch.rpm: does not update installed package.
Error: Nothing to do
[root@erpsupportdb satish]#

Downloded suggested rpms

-rw-r--r-- 1 root    root   90268 May  4 10:44 libpq5-devel-13.2-10PGDG.rhel7.x86_64.rpm
-rw-r--r-- 1 root    root  451452 May  4 10:44 libpq5-13.2-10PGDG.rhel7.x86_64.rpm
-rw-r--r-- 1 root    root   90088 May  4 10:44 libpq5-devel-13.0-10PGDG.rhel7.x86_64.rpm
-rw-r--r-- 1 root    root  451852 May  4 10:44 libpq5-13.0-10PGDG.rhel7.x86_64.rpm

installed both highlighted once with yum and now have

[root@erpsupportdb satish]# rpm -qa|grep libpq5
libpq5-devel-13.2-10PGDG.rhel7.x86_64
libpq5-13.2-10PGDG.rhel7.x86_64
[root@erpsupportdb satish]#

Then tried again to configure,but same error returns

[root@erpsupportdb satish]# cd psqlodbc-13.00.0000
[root@erpsupportdb psqlodbc-13.00.0000]# pwd
/ERPShareddrive/ERP/opm/satish/psqlodbc-13.00.0000
[root@erpsupportdb psqlodbc-13.00.0000]# ./configure --prefix=/usr/psqlodbc --enable-pthreads
: : :
: : :
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for library containing SQLGetPrivateProfileString... -lodbcinst
checking for pthread_create in -lpthreads... no
checking for pthread_create in -lpthread... yes
checking for PQsetSingleRowMode in -lpq... no
configure: error: libpq library version >= 9.2 is required
[root@erpsupportdb psqlodbc-13.00.0000]#

Am i missing any steps,not sure..This is the first step which i doing "./configure --prefix=/usr/psqlodbc --enable-pthred"..Do i need to install anything before this?

Thanks,
SG