DevHeads.net

32-bit odbc source compilation failed

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 <a href="https://imsva91-ctp.trendmicro.com:443/wis/clicktime/v1/query?url=https%3a%2f%2fwww.postgresql.org%2fftp%2fodbc%2fversions%2fsrc%2f&amp;umid=76FF58ED-6C26-0805-A753-765F80188BA7&amp;auth=ec34f7633709e8bd85e48c7fc0c92c09c079e558-e50cc6da79abab78c719160d67495dc9ce4fc6f9" title="https://imsva91-ctp.trendmicro.com:443/wis/clicktime/v1/query?url=https%3a%2f%2fwww.postgresql.org%2fftp%2fodbc%2fversions%2fsrc%2f&amp;umid=76FF58ED-6C26-0805-A753-765F80188BA7&amp;auth=ec34f7633709e8bd85e48c7fc0c92c09c079e558-e50cc6da79abab78c719160d67495dc9ce4fc6f9">https://imsva91-ctp.trendmicro.com:443/wis/clicktime/v1/query?url=https%...</a> released on 30-03-2018.

When we try to compile it,which failed with below error.
Could you please guide us

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

Comments

Re: 32-bit odbc source compilation failed

By Inoue, Hiroshi at 05/14/2018 - 09:13

On 2018/05/14 17:11, Ashraf Parakkuth Thattasseri wrote:
ISTM you need 32bit unixODBC DriverManager.

regards,
Hiroshi Inoue

RE: 32-bit odbc source compilation failed

By Ashraf Parakkut... at 05/14/2018 - 23:49

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

Cc: <a href="mailto:pgsql- ... at postgresql dot org">pgsql- ... at postgresql dot org</a>

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://imsva91-ctp.trendmicro.com:443/wis/clicktime/v1/query?url=https%3a%2f%2fwww.postgresql.org%2fftp%2fodbc%2fversions%2fsrc%2f&umid=DE12C8E1-6C37-5505-8085-9C9A5F6C21B3&auth=ec34f7633709e8bd85e48c7fc0c92c09c079e558-40367e0f461c5419a8eca836a93d9f16517b750a<https://imsva91-ctp.trendmicro.com:443/wis/clicktime/v1/query?url=https%3a%2f%2fwww.postgresql.org%2fftp%2fodbc%2fversions%2fsrc%2f&umid=DE12C8E1-6C37-5505-8085-9C9A5F6C21B3&auth=ec34f7633709e8bd85e48c7fc0c92c09c079e558-40367e0f461c5419a8eca836a93d9f16517b750a> 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