Package Details: psqlodbc 16.00.0000-1

Git Clone URL: https://aur.archlinux.org/psqlodbc.git (read-only, click to copy)
Package Base: psqlodbc
Description: PostgreSQL ODBC driver
Upstream URL: http://www.postgresql.org
Licenses: GPL
Submitter: Barthalion
Maintainer: FieldOfClay
Last Packager: FieldOfClay
Votes: 3
Popularity: 0.000000
First Submitted: 2018-01-07 16:38 (UTC)
Last Updated: 2024-03-03 03:05 (UTC)

Latest Comments

jvr3 commented on 2024-02-19 11:45 (UTC)

For me, this fails with:

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/postgresql/internal -DUNICODE_SUPPORT -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -MT psqlodbcw_la-info.lo -MD -MP -MF .deps/psqlodbcw_la-info.Tpo -c info.c  -fPIC -DPIC -o .libs/psqlodbcw_la-info.o
In file included from statement.h:15,
                 from bind.c:23:
/usr/include/postgresql/internal/pqexpbuffer.h:168:8: error: unknown type name 'bool'
  168 | extern bool appendPQExpBufferVA(PQExpBuffer str, const char *fmt, va_list args) pg_attribute_printf(2, 0);
      |        ^~~~
In file included from connection.h:14,
                 from info.c:34:
/usr/include/postgresql/internal/pqexpbuffer.h:168:8: error: unknown type name 'bool'
  168 | extern bool appendPQExpBufferVA(PQExpBuffer str, const char *fmt, va_list args) pg_attribute_printf(2, 0);
      |        ^~~~
make[1]: *** [Makefile:664: psqlodbcw_la-bind.lo] Error 1

I guess my gcc doesn't like c language 'bool' types.

ecognito commented on 2021-02-01 06:13 (UTC)

I think the instructions in psqlodbc.install need to change the library file referenced from psqlodbca.so to psqlodbcw.so.

The former is the ASCII driver, I believe.