Skip to content
Prev 24755 / 29559 Next

Problems with installing rgdal on Ubuntu "checking gdal: linking with --libs only... no"

I've had good luck using checkinstall [1] to manage custom compiled packages as well, if you do want to have custom compiled packages which are registered with the system package management system. I've found this to be invaluable when working with dependency heavy packages like GDAL. 

1. https://urldefense.proofpoint.com/v2/url?u=https-3A__wiki.debian.org_CheckInstall&d=CwIGaQ&c=n6-cguzQvX_tUIrZOS_4Og&r=fCPRb7QX-vd5bnO9gIJHCiX852SVUtyYX--xtCKtpfk&m=kBjV7CmsaZkV_yYVagS4Dh9xfKYByScSx0FKqzophaU&s=XYGc6Fga7Uuvnnd12W13ICsU77PsATlWdZiduFg0F38&e= 

-----Original Message-----
From: R-sig-Geo [mailto:r-sig-geo-bounces at r-project.org] On Behalf Of Edzer Pebesma
Sent: Thursday, August 04, 2016 4:03 PM
To: r-sig-geo at r-project.org
Subject: Re: [R-sig-Geo] Problems with installing rgdal on Ubuntu "checking gdal: linking with --libs only... no"
On 04/08/16 20:49, Tomislav Hengl wrote:
You didn't have to: from the gdal source directory where you installed manually by

./configure
make
sudo make install

you can also do a

sudo make clean

which should remove everything (including e.g. the header files now still in /usr/local/include)
--
Edzer Pebesma
Institute for Geoinformatics  (ifgi),  University of M?nster Heisenbergstra?e 2, 48149 M?nster, Germany; +49 251 83 33081
Journal of Statistical Software:   https://urldefense.proofpoint.com/v2/url?u=http-3A__www.jstatsoft.org_&d=CwIGaQ&c=n6-cguzQvX_tUIrZOS_4Og&r=fCPRb7QX-vd5bnO9gIJHCiX852SVUtyYX--xtCKtpfk&m=kBjV7CmsaZkV_yYVagS4Dh9xfKYByScSx0FKqzophaU&s=Tn8rAf4VePukV8IRevsto81lt1_ioQ7VnrWEkPQgpEc&e= 
Computers & Geosciences:   https://urldefense.proofpoint.com/v2/url?u=http-3A__elsevier.com_locate_cageo_&d=CwIGaQ&c=n6-cguzQvX_tUIrZOS_4Og&r=fCPRb7QX-vd5bnO9gIJHCiX852SVUtyYX--xtCKtpfk&m=kBjV7CmsaZkV_yYVagS4Dh9xfKYByScSx0FKqzophaU&s=Nvr9ibFCzDW0D4YfZslXSJMizH7qlXJJ1or2vQ2SUfo&e= 
Spatial Statistics Society https://urldefense.proofpoint.com/v2/url?u=http-3A__www.spatialstatistics.info&d=CwIGaQ&c=n6-cguzQvX_tUIrZOS_4Og&r=fCPRb7QX-vd5bnO9gIJHCiX852SVUtyYX--xtCKtpfk&m=kBjV7CmsaZkV_yYVagS4Dh9xfKYByScSx0FKqzophaU&s=YJtd04wGq0BOfmJVMv95EK1HXYuq9HXnVs0Z9mrE704&e=