Psqlodbc build fails on linux

Поиск
Список
Период
Сортировка
От Moazzum Ali
Тема Psqlodbc build fails on linux
Дата
Msg-id 5D27E7EF-BBA7-4A44-8FA5-17BAEFED6EB4@enterprisedb.com
обсуждение исходный текст
Ответы Re: Psqlodbc build fails on linux  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-odbc
Hi,

I am trying to build psqlodbc 15.00.0000 with PostgreSQL 16. Here are my commands:

./configure --with-libpq=/usr/pgsql-16/ --with-unixodbc=/usr/bin/odbc_config LD_LIBRARY_PATH=/usr/pgsql-16/lib/  --prefix=$PWD/out
make

 make command fails with the following error:

In file included from connection.h:14,
                 from info.c:34:
/usr/pgsql-16/include/internal/pqexpbuffer.h:168:8: error: unknown type name 'bool'
 extern bool appendPQExpBufferVA(PQExpBuffer str, const char *fmt, va_list args) pg_attribute_printf(2, 0);

One way to fix the error is to include the following line before #include "pqexpbuffer.h" in connection.h and statement.h
#include <stdbool.h>

Regards,
Moazzum

В списке pgsql-odbc по дате отправления:

Предыдущее
От: Moazzum Ali
Дата:
Сообщение: readme.txt does not exist on CentOS 7 / RHEL 7
Следующее
От: Devrim Gündüz
Дата:
Сообщение: ODBC driver maintenance: PostgreSQL 16 support and other open items