[Gdal-dev] Problems installing gdal-grass-1.3.1

Maik Trömel maik.troemel at maitro.net
Mon Dec 12 05:00:28 EST 2005


Ok,

it works!

But now I get another error running make install:

[...]
install -d /usr/lib/gdalplugins
cp gdal_GRASS.so /usr/lib/gdalplugins
cp: cannot stat `gdal_GRASS.so': No such file or directory
make: *** [install] Error 1

Maik




Robert Nuske wrote:

>Hi Maik,
>
>I am not sure but it looks like something I experienced when i first tried to 
>compile gdal-grass.
>
>gdal-grass is not finding the libraries, because it doesn't know where to look 
>for them.
>
>Eventually i found an old mail on one of the mail-list stating that one should 
>run ldconfig.
>
>at the first glance i thought that doesn't help., since ldconfig run with 
>standard settings updates only the libraries in places known by the system.
>
>On my system (Debian testing) I had to add the paths to the libraries in 
>question (/usr/local/lib & /usr/local/grass/lib) to /etc/ld.so.conf . And run 
>ldconfig again.
>
>After that gdal-grass compiled fine.
>
>hope that helps,
>  robert
>
>Maik Trömel wrote:
>  
>
>>Hello ,
>>
>>I've got a problem installing gdal-grass-1.3.1 from binarys. Up till now
>>nobody was able to help me.
>>
>>I have installed:
>>proj-4.4.9
>>geos-2.1.4
>>gdal-1.3.1
>>grass: 6.0.1
>>and now i want to install gdal-grass-1.3.1. But when I run "./configure
>>--with-grass='/.../grass-6.0.1/lib/' " I get as result:
>>
>>checking for gcc... gcc
>>checking for C compiler default output file name... a.out
>>checking whether the C compiler works... yes
>>checking whether we are cross compiling... no
>>checking for suffix of executables...
>>checking for suffix of object files... o
>>checking whether we are using the GNU C compiler... yes
>>checking whether gcc accepts -g... yes
>>checking for gcc option to accept ANSI C... none needed
>>checking for g++... g++
>>checking whether we are using the GNU C++ compiler... yes
>>checking whether g++ accepts -g... yes
>>checking for ranlib... ranlib
>>/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/../../../../x86_64-suse-linux/bi
>>n/ld: conftest2.o: relocation R_X86_64_32 can not be used when making a
>>shared object
>>; recompile with -fPIC
>>conftest2.o: could not read symbols: Bad value
>>collect2: ld returned 1 exit status
>>checking for g++ -shared ... no(1)
>>checking for ld -shared ... no
>>checking for gdal-config... /usr/local/bin/gdal-config
>>using /usr/local/lib/gdalplugins as GDAL shared library autoload directory
>>checking for G_asprintf in -lgrass_gis... no
>>configure: error: --with-grass=/usr/local/grass-6.0.1/lib/ requested,
>>but librar
>>ies not found!
>>
>>What's going wrong?
>>Thanks a lot for your help!
>>
>>Greetings Maik
>>_______________________________________________
>>Gdal-dev mailing list
>>Gdal-dev at lists.maptools.org
>>http://lists.maptools.org/mailman/listinfo/gdal-dev
>>    
>>
>
>  
>




More information about the Gdal-dev mailing list