pg.ddx.io pgsql-odbc@postgresql.org mailing list archive
help / color / mirror / Atom feed"odbcinst" not found
6+ messages / 2 participants
[nested] [flat]
* "odbcinst" not found
@ 2019-09-11 07:32 eivannikov@detali34.ru
2019-09-12 09:24 ` Re: "odbcinst" not found Clemens Ladisch <clemens@ladisch.de>
0 siblings, 1 reply; 6+ messages in thread
From: eivannikov@detali34.ru @ 2019-09-11 07:32 UTC (permalink / raw)
To: pgsql-odbc
Hello
I download odbc driver from:
https://ftp.postgresql.org/pub/odbc/versions/src/psqlodbc-09.06.0500.tar.gz
but after command './configure --with-unixodbc=/usr/bin/odbc_config
--with-libpq=/usr/bin' or './configure' i got error:
checking for library containing SQLGetPrivateProfileString... no
configure: error: unixODBC library "odbcinst" not found
But, odbcinst is installed in my system ( Description: Debian GNU/Linux
9.2 (stretch) Release: 9.2 Codename: stretch. )
dpkg -l | grep odbc
ii libodbc1:amd64 2.3.4-1
amd64 ODBC library for Unix
ii odbcinst 2.3.4-1
amd64 Helper program for accessing odbc ini files
ii odbcinst1debian2:amd64 2.3.4-1
amd64 Support library for accessing odbc ini files
ii unixodbc 2.3.4-1
amd64 Basic ODBC tools
ii unixodbc-dev 2.3.4-1
amd64 ODBC libraries for UNIX (development files)
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: "odbcinst" not found
2019-09-11 07:32 "odbcinst" not found eivannikov@detali34.ru
@ 2019-09-12 09:24 ` Clemens Ladisch <clemens@ladisch.de>
0 siblings, 0 replies; 6+ messages in thread
From: Clemens Ladisch @ 2019-09-12 09:24 UTC (permalink / raw)
To: pgsql-odbc@lists.postgresql.org
eivannikov@detali34.ru wrote:
> checking for library containing SQLGetPrivateProfileString... no
The file "config.log" should show what exactly happened.
Regards,
Clemens
^ permalink raw reply [nested|flat] 6+ messages in thread
* "odbcinst" not found
@ 2019-09-12 10:01 eivannikov@detali34.ru
2019-09-12 19:54 ` Re: "odbcinst" not found Clemens Ladisch <clemens@ladisch.de>
0 siblings, 1 reply; 6+ messages in thread
From: eivannikov@detali34.ru @ 2019-09-12 10:01 UTC (permalink / raw)
To: pgsql-odbc@lists.postgresql.org
Currently i circumvent this problem, i uses next command: "./configure
--with-unixodbc=/usr/bin/odbcinst".
And after this, i get another error: "configure: error: C preprocessor
"/lib/cpp" fails sanity check"
This is my config.log https://pastebin.com/Qqx4avqn and from him i dont
undestading, what does he want.
thank you for your time.
Regards,
E. Ivannikov
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: "odbcinst" not found
2019-09-12 10:01 "odbcinst" not found eivannikov@detali34.ru
@ 2019-09-12 19:54 ` Clemens Ladisch <clemens@ladisch.de>
0 siblings, 0 replies; 6+ messages in thread
From: Clemens Ladisch @ 2019-09-12 19:54 UTC (permalink / raw)
To: pgsql-odbc@lists.postgresql.org
eivannikov@detali34.ru wrote:
> "./configure --with-unixodbc=/usr/bin/odbcinst"
That must be the path to odbc_config (or just /usr).
Regards,
Clemens
^ permalink raw reply [nested|flat] 6+ messages in thread
* "odbcinst" not found
@ 2019-09-13 04:46 eivannikov@detali34.ru
2019-09-13 21:01 ` Re: "odbcinst" not found Clemens Ladisch <clemens@ladisch.de>
0 siblings, 1 reply; 6+ messages in thread
From: eivannikov@detali34.ru @ 2019-09-13 04:46 UTC (permalink / raw)
To: pgsql-odbc@lists.postgresql.org
> That must be the path to odbc_config (or just /usr).
Ok. But this did not succeed. I run "./confugure", and run "./configure
--with-unixodbc=/usr/ --with-libpq=/usr/" in new "clean" machine, and
get same result.
Config.log on this compiling here https://pastebin.com/eVakkp79
Regards,
E. Ivannikov
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: "odbcinst" not found
2019-09-13 04:46 "odbcinst" not found eivannikov@detali34.ru
@ 2019-09-13 21:01 ` Clemens Ladisch <clemens@ladisch.de>
0 siblings, 0 replies; 6+ messages in thread
From: Clemens Ladisch @ 2019-09-13 21:01 UTC (permalink / raw)
To: pgsql-odbc@lists.postgresql.org
eivannikov@detali34.ru wrote:
> configure:5718: gcc -c -g -O2 -Wall -I/usr/local/include -I conftest.c >&5
> gcc: fatal error: no input files
The include path is empty, which makes all compiler calls fail.
What is the output of "odbc_config --include-prefix"?
Regards,
Clemens
^ permalink raw reply [nested|flat] 6+ messages in thread
end of thread, other threads:[~2019-09-13 21:01 UTC | newest]
Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2019-09-11 07:32 "odbcinst" not found eivannikov@detali34.ru
2019-09-12 09:24 ` Clemens Ladisch <clemens@ladisch.de>
2019-09-12 10:01 "odbcinst" not found eivannikov@detali34.ru
2019-09-12 19:54 ` Clemens Ladisch <clemens@ladisch.de>
2019-09-13 04:46 "odbcinst" not found eivannikov@detali34.ru
2019-09-13 21:01 ` Clemens Ladisch <clemens@ladisch.de>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox