[Gdal-dev] Error compiling on Solaris 10 with GeoExpress SDK

Martin Spott Martin.Spott at mgras.net
Wed Nov 16 04:46:10 EST 2005


"Chris Garrard" wrote:

> g++ ogrinfo.o -o .libs/ogrinfo  ../.libs/libgdal.so -L/opt/csw/src
> /opt/csw/lib/libproj.so -L/opt/csw/extras/Geo_DSDK-5.0.6.955/lib/Release
> -L/opt/csw/extras/Geo_DSDK-5.0.6.955/3rd-party/lib/Release -lltidsdk
> -lpthread -lltikdu /opt/csw/lib/libjasper.so -ljpeg -lrt -ldl
> -L/opt/csw/lib -L/opt/csw/mysql4/lib/mysql
> /opt/csw/mysql4/lib/mysql/libmysqlclient.so -lz -lposix4 -lc -lgen
> -lsocket -lnsl -lssl -lcrypto -Wl,-R -Wl,/opt/csw/lib -Wl,-R
> -Wl,/opt/csw/mysql4/lib/mysql
> Undefined                       first referenced
>  symbol                             in file
> std::__default_alloc_template<true, 0>::deallocate(void*, unsigned int	../.libs/libgdal.so
[....]

Please add  -lstdc++  to the linker command line and try again.

Regards,
	Martin.
-- 
 Unix _IS_ user friendly - it's just selective about who its friends are !
--------------------------------------------------------------------------



More information about the Gdal-dev mailing list