[gdal-dev] Gdal-Fortran-Linux Problem

Etienne Tourigny etourigny.dev at gmail.com
Wed May 14 07:11:36 PDT 2014


pretty interesting - it would be nice to incorporate the gdal fortran
bindings inside the gdal source!

however, it is distributed under the  GNU Lesser General Public License, so
I think it's not possible...

Cheers
Etienne


On Tue, May 13, 2014 at 10:23 AM, Fabian Niggemann
<niggemann at vista-geo.de>wrote:

>  Hi,
>
> I´m trying to link gdal to fortrangis to use the gdal fortran interface on
> Ubuntu 12.04. I´ve installed gdal Version 1.11. and installed the
> fortrangis package with disabled shared libraries.
> If I try now to compile a fortran program(e.g. Command: ifort -I
> */usr/local/include/* gdal_test.F90 /usr/local/lib/libfortranc.a
> /usr/local/lib/libshp.a /usr/local/lib/libfortrangis.a
> /usr/local/lib/libgdal.a) I get a lot of error messages stating undefined
> references:
>
> /usr/local/lib/libgdal.a(genbindataset.o): In function `_Alloc_hider':
> /usr/include/c++/4.7/bits/basic_string.h:272: undefined reference to
> `std::string::_Rep::_S_empty_rep_storage'
> /usr/local/lib/libgdal.a(genbindataset.o): In function
> `std::string::_Rep::_M_dispose(std::allocator<char> const&)':
> /usr/include/c++/4.7/bits/basic_string.h:237: undefined reference to
> `std::string::_Rep::_S_empty_rep_storage'
> /usr/include/c++/4.7/bits/basic_string.h:246: undefined reference to
> `std::string::_Rep::_M_destroy(std::allocator<char> const&)'
> /usr/local/lib/libgdal.a(genbindataset.o): In function
> `GDALRegister_GenBin':
> ...
>
>
> Any help would be appreciated.
>
> Regards,
> Fabian
>
> --
> VISTA Geowissenschaftliche Fernerkundung GmbH
> Administration: Anton-Ferstl-Str.11, D-82234 Wessling
> Office: Gabelsbergerstr.51, D-80333 München
> Tel. +49 89 287 794 59 Fax +49 89 523 89 804
> eMail: niggemann at vista-geo.de; web: www.vista-geo.de
>
> Amtsgericht München HRB 129776
> Sitz der Gesellschaft: Wessling
> Geschäftsführung: Dr. Heike Bach
>
> Bankverbindung: Hypo Vereinsbank München
> BLZ 70020270 Konto 39042770
>
> USt-IDNr. DE812904252
> St.Nr. 11714150105
>
>
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20140514/460b874b/attachment.html>


More information about the gdal-dev mailing list