> > I have already installed unixODBC-2.2.11 which is working well on my
> > machine.
> >
> > But ,what is the problem of building psqlodbc and how can i fix it?
>
> Umm, Is the directory which you installed contained in path?
> Although odbc_config shows the place, is there?
> or place of libodbcinst.a....
> configure looks for SQLGetPrivateProfileString of odbcinst.
Ahh, Some supplement.
Please see CONFIG_sample.txt
CPPFLAGS="-I/usr/local/include -I/usr/local/pgsql/include -I/usr/include/openssl"
LDFLAGS="-L/usr/local/lib -L/usr/local/pgsql/lib"
export CPPFLAGS LDFLAGS
configure --enable-unicode --with-unixodbc --with-odbcver=0x0300 --enable-pthreads
Furthermore, Please check of LD_LIBRARY_PATH at the time of execution.
Regards,
Hiroshi Saito