Hello,<br><br>I'm trying to understand why my gdal-config file says libodbc(-lodbc) and libodbcinst(-lodbcinst) are located in /usr/local/lib:<br><br>CONFIG_LIBS="-L/usr/local/lib -lgdal"<br>CONFIG_DEP_LIBS=" -L/usr/local/lib -lgeos_c -lsqlite3 -lodbc -lodbcinst -lxerces-c -lpthread -ljasper -lhdf5 -lmfhdfalt -ldfalt -lgif -ljpeg -lpng -lnetcdf -L/usr/lib -lpq -lz -lpthread -lm -lrt -ldl -lcurl -Wl,-Bsymbolic-functions <br>
<br><br>This doesn't make sense considering this:<br><br>$ sudo find /usr -name libodbc*<br><br>/usr/lib32/libodbcinst.so.1<br>/usr/lib32/libodbccr.so<br>/usr/lib32/odbc/libodbcpsqlS.so<br>/usr/lib32/odbc/libodbctxtS.so<br>
/usr/lib32/odbc/libodbcminiS.so<br>/usr/lib32/odbc/libodbcmyS.so<br>/usr/lib32/odbc/libodbcnnS.so<br>/usr/lib32/odbc/libodbcdrvcfg2S.so<br>/usr/lib32/odbc/libodbcdrvcfg1S.so<br>/usr/lib32/libodbccr.so.1<br>/usr/lib32/libodbccr.so.1.0.0<br>
/usr/lib32/libodbc.so.1<br>/usr/lib32/libodbcinst.so<br>/usr/lib32/wine/libodbccp32.def<br>/usr/lib32/wine/libodbc32.def<br>/usr/lib32/libodbc.so<br>/usr/lib32/libodbcinst.so.1.0.0<br>/usr/lib32/libodbc.so.1.0.0<br>/usr/lib/libodbcinst.so.1<br>
/usr/lib/libodbcinstQ.so.1<br>/usr/lib/odbc/libodbcpsqlS.so<br>/usr/lib/odbc/libodbctxtS.so<br>/usr/lib/odbc/libodbcminiS.so<br>/usr/lib/odbc/libodbcmyS.so<br>/usr/lib/odbc/libodbcnnS.so<br>/usr/lib/odbc/libodbcdrvcfg2S.so<br>
/usr/lib/odbc/libodbcdrvcfg1S.so<br>/usr/lib/libodbccr.so.1<br>/usr/lib/libodbccr.so.1.0.0<br>/usr/lib/libodbc.so.1<br>/usr/lib/libodbcinstQ.so.1.0.0<br>/usr/lib/libodbcinst.so.1.0.0<br>/usr/lib/libodbc.so.1.0.0<br>/usr/share/doc/libodbcinstq1c2<br>
<br>Or considering the output of the following 'ldconfig' line puts them in the same place as 'find' above<br><br>$ ldconfig -v >/tmp/ldconfig.output.txt 2>&1<br><br>I built GDAL 1.8.0 from source on Ubuntu 10.10<br>
<br>any ideas?<br>