Message-ID: From: "jboakye (@jboakye)" To: "postgresql-interfaces/psqlodbc" Date: Mon, 13 May 2024 11:55:00 +0000 Subject: Re: [postgresql-interfaces/psqlodbc] issue #16: [psqlodbc-REL-16_00_0004][Postgres 15 5][Debian][unixODBC] Need to add CPPFLAGS="-DSQLCOLATTRIBUTE_SQLLEN" to configure to get it to compile In-Reply-To: References: List-Id: X-GitHub-Author-Login: jboakye X-GitHub-Comment-Id: 2107378082 X-GitHub-Comment-Type: issue_comment X-GitHub-Issue: 16 X-GitHub-Repo: postgresql-interfaces/psqlodbc X-GitHub-Type: comment X-GitHub-Url: https://github.com/postgresql-interfaces/psqlodbc/issues/16#issuecomment-2107378082 Content-Type: text/plain; charset=utf-8 I did bootstrap and then configure prior: ./configure --with-unixodbc=/usr/local/bin --with-libpq=/d/postgres/postgresql_15_5/src/bin Everything works fine with this configure line (and after replacing _strdup with strdup in psqlodbc.h): ./configure CPPFLAGS="-DSQLCOLATTRIBUTE_SQLLEN" --with-unixodbc=/usr/local/bin --with-libpq=/d/postgres/postgresql_15_5/src/bin