[GRASS-user] Error in compilation of GRASS 7 in Ubuntu 12.10

Carla Rebelo crrebelo at gmail.com
Thu Apr 4 08:56:44 PDT 2013


Hello,

In the step of configure GDAL-GRASS plugin for point to GRASS
installation/binaries (
http://grasswiki.osgeo.org/wiki/Compile_and_Install_Ubuntu#GRASS_GIS)
appeared this error:

"configure: error:
--with-grass=/usr/local/src/grass_trunk/dist.x86_64-unknown-linux-gnu/
requested, but libraries not found!  Perhaps you need to set
LD_LIBRARY_PATH to include
/usr/local/src/grass_trunk/dist.x86_64-unknown-linux-gnu//lib?"

Then, i tried to solve this error with:

1) Creation of a new file grass7.conf (with editor) and copy this file to
etc/ld.so.conf.d
grass7.conf contain:
> sudo
>/usr/local/src/grass_trunk
>/usr/local/src/grass_trunk/dist.x86_64-unknown-linux-gnu/lib
>ldconfig
>exit

2) and i'm running the configure again
./configure \
 --prefix=/usr/local \
 --with-gdal=/usr/local/bin/gdal-config \
 --with-grass=/usr/local/src/grass_trunk/dist.x86_64-unknown-linux-gnu/ \
 --with-autoload="/usr/lib/gdalplugins/" \
 --with-ld-shared="g++ -shared"

What I'm doing wrong?

Thanks

Carla Rebelo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20130404/73f9d46f/attachment-0001.html>


More information about the grass-user mailing list