ld.so.1: conftest: fatal: libodbc.so.2: open failed: No such file or directory
./configure: line 3832: 5056 Killed ./conftest$ac_cv_exeext
configure:3834: $? = 137
configure:3841: error: in `/data11/ora_bosa/bosadb/odbc/psqlodbc-09.02.0100':
configure:3843: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
Are you running this command? ./configure --prefix=/data11/ora_bosa/bosadb/odbc/driver --without-libpq --with-unixodbc=/usr/local/unixODBC
Is libodbc.so.2 located under /usr/local/unixODBC directory structure?
If yes then based on log messages looks like it is not finding this library at run time. So try following now: - add the path where you find libodbc.so.2 to your LD_LIBRARY_PATH env variable
- export LD_LIBRARY_PATH and then run above configure this time
For example - export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/unixODBC/lib ./configure --prefix=/data11/ora_bosa/bosadb/odbc/driver --without-libpq --with-unixodbc=/usr/local/unixODBC