gdal won't compile against oracle instantclient version 11, as the library name nnz10 is hardcoded into the configure script. Upstream trunk has a patch to the corresponding autoconf macro: http://trac.osgeo.org/gdal/changeset/15794 The original author of that module doesn't seem to have this fix yet: http://mloskot.devjavu.com/browser/autotools/macros/ax_lib_oracle_oci.m4 Error message: i686-pc-linux-gnu-g++ -shared -Wl,-soname,libgdal.so.1 /var/tmp/portage/sci-libs/gdal-1.5.3/work/gdal-1.5.3/frmts/o/*.o /var/tmp/portage/sci-libs/gdal-1.5.3/work/gdal-1.5.3/gcore/*.o /var/tmp/portage/sci-libs/gdal-1.5.3/work/gdal-1.5.3/port/*.o /var/tmp/portage/sci-libs/gdal-1.5.3/work/gdal-1.5.3/alg/*.o /var/tmp/portage/sci-libs/gdal-1.5.3/work/gdal-1.5.3/ogr/ogrsf_frmts/o/*.o ./ogr/ogrgeometryfactory.o ./ogr/ogrpoint.o ./ogr/ogrcurve.o ./ogr/ogrlinestring.o ./ogr/ogrlinearring.o ./ogr/ogrpolygon.o ./ogr/ogrutils.o ./ogr/ogrgeometry.o ./ogr/ogrgeometrycollection.o ./ogr/ogrmultipolygon.o ./ogr/ogrsurface.o ./ogr/ogrmultipoint.o ./ogr/ogrmultilinestring.o ./ogr/ogr_api.o ./ogr/ogrfeature.o ./ogr/ogrfeaturedefn.o ./ogr/ogrfeaturequery.o ./ogr/ogrfeaturestyle.o ./ogr/ogrfielddefn.o ./ogr/ogrspatialreference.o ./ogr/ogr_srsnode.o ./ogr/ogr_srs_proj4.o ./ogr/ogr_fromepsg.o ./ogr/ogrct.o ./ogr/ogr_opt.o ./ogr/ogr_srs_esri.o ./ogr/ogr_srs_pci.o ./ogr/ogr_srs_usgs.o ./ogr/ogr_srs_dict.o ./ogr/ogr_srs_panorama.o ./ogr/ogr_srs_erm.o ./ogr/swq.o ./ogr/ogr_srs_validate.o ./ogr/ogr_srs_xml.o ./ogr/ograssemblepolygon.o ./ogr/ogr2gmlgeometry.o ./ogr/gml2ogrgeometry.o /var/tmp/portage/sci-libs/gdal-1.5.3/work/gdal-1.5.3/libgdal.a -Wl,-O1 -I/usr/include -lsqlite3 -L/usr/lib/oracle/11.1.0.7.0/client/lib -lclntsh -lnnz10 -L/usr/grass63/lib -lgrass_vect -lgrass_dig2 -lgrass_dgl -lgrass_rtree -lgrass_linkm -lgrass_dbmiclient -lgrass_dbmibase -lgrass_I -lgrass_gproj -lgrass_vask -lgrass_gmath -lgrass_gis -lgrass_datetime -lpq -L/usr/lib/postgresql-8.3/lib -lpq -lz -lpthread -lm -lrt -ldl -lcurl -lidn -lldap -lrt -L/usr/lib -lgssapi -lheimntlm -lkrb5 -lcom_err -L/usr/lib -lcrypto -lasn1 -lwind -lroken -lcrypt -ldl -lresolv -lpthread -L/usr/lib -lgssapi -lheimntlm -lkrb5 -lcom_err -L/usr/lib -lcrypto -lasn1 -lwind -lroken -lcrypt -ldl -lresolv -lpthread -lz -L/usr/lib -lgnutls -L/usr/lib -ltasn1 -lgcrypt -lgpg-error -Wl,-O1 -rdynamic -L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -L/usr/lib -lssl -lcrypto \ -o /var/tmp/portage/sci-libs/gdal-1.5.3/work/gdal-1.5.3/libgdal.so /usr/lib/gcc/i686-pc-linux-gnu/4.3.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lnnz10 collect2: ld returned 1 exit status make[1]: *** [/var/tmp/portage/sci-libs/gdal-1.5.3/work/gdal-1.5.3/libgdal.so] Error 1 make[1]: Leaving directory `/var/tmp/portage/sci-libs/gdal-1.5.3/work/gdal-1.5.3' make: *** [check-lib] Error 2 * * ERROR: sci-libs/gdal-1.5.3 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3255: Called die * The specific snippet of code: * emake || die "emake failed"; * The die message: * emake failed
Created attachment 180727 [details, diff] Autodetect library version number http://trac.osgeo.org/gdal/changeset/15794 applied to configure as well.
The upstream source of the autoconf module applied this patch today as well: http://mloskot.devjavu.com/ticket/18#comment:2
Created attachment 188600 [details] it does not compile build.log
Stable gdal already have this patch.