[GRASS-dev] compilation of grass on AIX 7.1

Markus Neteler neteler at osgeo.org
Thu Jun 27 22:13:46 PDT 2013


On Wed, Jun 26, 2013 at 7:40 PM, Markus Neteler <neteler at osgeo.org> wrote:
...
> Now trying to get shared libraries enabled (almost there).

Also enabled in SVN (thanks to Markus Metz).

Interestingly, when *starting* GRASS 7, I get on that AIX machine:

Cleaning up temporary files...
Starting GRASS GIS...
Could not load program g.gisenv:
Could not load module
/gpfs/home/neteler/software/grass-7.0.svn/dist.powerpc-ibm-aix7.1.0.0/lib/libgrass_gis.7.0.svn.so.
        Dependent module /usr/lib/libiconv.a(libiconv.so.2) could not be loaded.
        Member libiconv.so.2 is not found in archive
Could not load module g.gisenv.
        Dependent module
/gpfs/home/neteler/software/grass-7.0.svn/dist.powerpc-ibm-aix7.1.0.0/lib/libgrass_gis.7.0.svn.so
could not be loaded.
Could not load module .
Could not load program g.gisenv:
Could not load module
/gpfs/home/neteler/software/grass-7.0.svn/dist.powerpc-ibm-aix7.1.0.0/lib/libgrass_gis.7.0.svn.so.
        Dependent module /usr/lib/libiconv.a(libiconv.so.2) could not be loaded.
        Member libiconv.so.2 is not found in archive
Could not load module g.gisenv.
        Dependent module
/gpfs/home/neteler/software/grass-7.0.svn/dist.powerpc-ibm-aix7.1.0.0/lib/libgrass_gis.7.0.svn.so
could not be loaded.
Could not load module .

Indeed, the libconv stuff is in /opt/freeware/ but searched in the common
/usr/ directories. Existing:

/usr/include/iconv.h
....
/* @(#)09       1.20  src/bos/usr/include/iconv.h, libiconv, bos610
8/28/03 11:09:44 */
/* IBM_PROLOG_END_TAG                                                     */
...

but no corresponding libiconv.

How to tell GRASS 7 in configure to pick up the  /opt/freeware/ include file and
library?

Markus


More information about the grass-dev mailing list