Skip to content

How to install sf r package in linux mint v 19.1 64 bit

2 messages · Yuster Ronoh, Chris English

#
I am not making head way on installing sf package  on R vs 3.4.4

and this is the error I am getting:

configure error: libroj not found in standard or given locations

Error: configuration failed for package ?sf?

  * removing ?/home/feltp/R/x86_64-pc-linux-library/3.4.sf?

Warning in install.packages :

       installation of ?sf? had non-zero exit status


The downloaded source packages are in

        ?/tmp/RtmpSyJk3r/downloaded_packages?
Regards.

*Yuster Ronoh* | County Epidemiologists | *Nakuru County Health
Department *| Club
Road, Regional Commissioner HQs, Block 'B' 2nd Floor

P.O. Box 2060 - 20100 * Nakuru*| Mobile +254724305899/ +254733573770 |
Skype: yronoh
#
Yuster,

Perhaps you don't have libproj-dev installed, though you probably do, but
if not:

sudo apt-get install libproj-dev

then help your system tell where things are located with:

export LD_LIBRARY_PATH=/lib:/usr/lib:/usr/local/lib

these advice from:

https://gis.stackexchange.com/questions/157059/repairing-broken-gdal-and-proj-4-on-ubuntu

HTH,

Chris
ug 2, 2018 at 4:53 AM, Yuster Ronoh <yuster0 at gmail.com> wrote: