Encountered on Centos 6, x86_64 configured with --without-libtool, resulting libgdal.so has no SONAME entry
The link command for libgdal.so uses the variable 'GDAL_SLIB_SONAME' which isn't defined in GDALmake.opt.in The attached patch fixes the issue, and I believe will generate the same name as libtool. Thanks Gareth Francis
Index: GDALmake.opt.in =================================================================== --- GDALmake.opt.in (revision 34928) +++ GDALmake.opt.in (working copy) @@ -135,6 +135,7 @@ GDAL_LIB = $(GDAL_ROOT)/libgdal.a GDAL_SLIB = $(GDAL_ROOT)/libgdal.$(SO_EXT) GDAL_SLIB_LINK = -L$(GDAL_ROOT) -lgdal +GDAL_SLIB_SONAME = -Wl,-soname,libgdal.$(SO_EXT).@GDAL_VERSION_MAJOR@ # Mac OS X Framework definition MACOSX_FRAMEWORK = @MACOSX_FRAMEWORK@
_______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
