RE: 32-bit odbc source compilation failed - Mailing list pgsql-odbc

From Ashraf Parakkuth Thattasseri
Subject RE: 32-bit odbc source compilation failed
Date
Msg-id 3fe89bbf0b744b11a986d21dc32cfd0b@SRVINFMBX03.kfupm.edu.sa
Whole thread Raw
In response to Re: 32-bit odbc source compilation failed  ("Inoue, Hiroshi" <h-inoue@dream.email.ne.jp>)
List pgsql-odbc

Hi Hiroshi,

32-bit unixODBC driver has installed. How can get rpm of  32-bit psqlodbc driver for RedHat Linux 7.4

 

From: Inoue, Hiroshi [mailto:h-inoue@dream.email.ne.jp]
Sent: Monday, May 14, 2018 5:14 PM
To: Ashraf Parakkuth Thattasseri <ptashraf@kfupm.edu.sa>
Cc: pgsql-odbc@postgresql.org
Subject: Re: 32-bit odbc source compilation failed

 

 

On 2018/05/14 17:11, Ashraf Parakkuth Thattasseri wrote:

Hi,

We hope this message finds you well.

We are looking for a 32-bit compatible ODBC driver for RedHat Linux 7.4 64 -bit version for connecting 32-bit application to a 32- bit Data Source.

We downloaded the driver ‘psqlodbc-10.02.0000.tar.gz’  from the URL https://www.postgresql.org/ftp/odbc/versions/src/  released on 30-03-2018.

 

When we try to compile it,which failed with below error.

Could you please guide us


ISTM you need 32bit unixODBC DriverManager.

regards,
Hiroshi Inoue


 

checking for gcc option to produce PIC... -fPIC -DPIC

checking if gcc PIC flag -fPIC -DPIC works... yes

checking if gcc static flag -static works... no

checking if gcc supports -c -o file.o... yes

checking if gcc supports -c -o file.o... (cached) yes

checking whether the gcc linker (/bin/ld -m elf_x86_64) supports shared libraries... yes

checking whether -lc should be explicitly linked in... no

checking dynamic linker characteristics... GNU/Linux ld.so

checking how to hardcode library paths into programs... immediate

checking for shl_load... no

checking for shl_load in -ldld... no

checking for dlopen... no

checking for dlopen in -ldl... yes

checking whether a program can dlopen itself... yes

checking whether a statically linked program can dlopen itself... yes

checking whether stripping libraries is possible... yes

checking if libtool supports shared libraries... yes

checking whether to build shared libraries... yes

checking whether to build static libraries... no

checking for library containing SQLGetPrivateProfileString... no


configure: error: unixODBC library "odbcinst" not found

pgsql-odbc by date:

Previous
From: Clemens Ladisch
Date:
Subject: Re: Bug report: x64 Row status Array uses wrong data type
Next
From: "Inoue, Hiroshi"
Date:
Subject: Re: Bug report: x64 Row status Array uses wrong data type