Re: Getting an error for unixODBC library "odbcinst" not found while executing ./configure --with-unixodbc=/usr --with-libpq=/apps/PostgreSQL/10 in SuSE Linux 12.0 SP1
Clemens Ladisch <[email protected]> Mon, 16 Jul 2018 20:57:50 +0200
| Newsgroups | gmane.comp.db.postgresql.odbc |
|---|---|
| Message-ID | <[email protected]> |
Jaydip wrote:
> I installed ODBC using below command:
> *zypper install unixODBC.x86_64* where odbcinst library is in /usr/lib64 and
> odbc_config is there in /usr/bin.
>
> I tried --with-unixodbc without any value but still getting same error.
Please try to compile (but not run) the following test program
(with "gcc -o testprogram testprogram.c -l odbcinst"):
--8<--------------------------------------------------------->8--
#include <odbcinst.h>
int main()
{
SQLGetPrivateProfileString("", "", "", "", 0, "");
}
--8<--------------------------------------------------------->8--
If that errors out, the same error should be found somewhere in
configure.log.
Regards,
Clemens