[GRASS-dev] Problems compiling Grass 7 examples

Markus Neteler neteler at osgeo.org
Mon May 12 07:20:05 PDT 2014


On Mon, May 12, 2014 at 3:36 PM, Martina M <duda1000 at hotmail.es> wrote:
> Hello,
>
>   I am trying to compile the v.example for Grass 7. I have downloaded it and
> compile with make. However, it doesn't work, I obtain the following error:

Did you compile GRASS yourself or did you download from an Ubuntu repo?

...
> /usr/local/grass-7.0.0beta1/bin/v.example OBJ.i686-pc-linux-gnu/main.o
> -lgrass_vector.7.0.0beta1 -lgrass_gis.7.0.0beta1  -lm
> /usr/bin/ld: OBJ.i686-pc-linux-gnu/main.o: referencia sin definir al símbolo
> 'db_fetch'
> /usr/local/grass-7.0.0beta1/lib/libgrass_dbmiclient.7.0.0beta1.so: error
> adding symbols: DSO missing from command line
> collect2: error: ld returned 1 exit status
> make: *** [/usr/local/grass-7.0.0beta1/bin/v.example] Error 1
>
>  The dynamic library dbmiclient.7.0.0beta1.so is not installed in my lib
> directory.

The name is "libgrass_dbmiclient.7.0.0beta1.so", not there?

> Any help? I am using Ubuntu 14.04.


Given that it is not there, you perhaps installed from a repo but did
not install yet the "grass70-dev" package?

Markus


More information about the grass-dev mailing list