[Gdal-dev] gdal --with-grass on solaris

Mateusz Loskot mateusz at loskot.net
Mon Jun 11 15:11:17 EDT 2007


Jachym Cepicky wrote:
> Mateusz Loskot píše v Pá 08. 06. 2007 v 14:03 +0200: [....]
>> May be there is libraries naming issue. The test that is failing 
>> above checks if there is G_asprintf() function defined in this 
>> library.
>> 
>> Also, if you could paste error from the config.log that would be 
>> helpful.
>> 
>> Cheers
> 
> I attached it to this e-mail.

Jachym,

It looks like a GRASS issue on Solaris.
As you can see in the config.log, near:

configure:22068: checking for G_asprintf in -lgrass_gis

./configure script tries to compile very simple test program:

/* conftest.c */
char G_asprintf();
int main()
{
  G_asprintf();
  return 0;
}

and the command calling GCC is

gcc -o conftest -g -O2 conftest.c -lgrass_gis
-L/usr/local/grass-6.2.2RC1//lib -lgrass_datetime -lz  -lm -lrt -ldl

but it fails.

If these -l and -L parameters are correct (paths and libraries exist)
then something is wrong with GRASS libraries on Solaris
- some symbols are undefined or inaccessible.

Cheers
-- 
Mateusz Loskot
http://mateusz.loskot.net



More information about the Gdal-dev mailing list