On Thu, Jan 25, 2018 at 04:14:52PM +0000, Tom Hughes wrote: > There seems to be a similar issue with perl extensions that use C++ failing > to link due to missing libstdc++ symbols, eg: > > https://koji.fedoraproject.org/koji/taskinfo?taskID=24412387 > > I think in that case the issue is that libgdal is linked to libstdc++ but > the perl GDAL.so module was wound up with direct references to symbols in > libstdc++ but isn't linking to it directly. > > So I think that needs a fix in gdal rather than changing the default > libraries linked by perl. > > In fact I guess the link should really use g++ not gcc? Not sure how easy > that is to do in a perl extension build... > Perl supports building using both C and C++ compilers. I did not checked gdal build script, but if you use ExtUtils::MakeMaker, you can redefine CC value to g++ in WriteMakefile() arguments in your Makefile.PL. -- Petr _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx