-
Notifications
You must be signed in to change notification settings - Fork 301
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
install sf failed I have libgdal.so.30 instead of libgdal.so.29 (ubunutu) #1918
Comments
please finish issues before you send them. It sounds like you have multiple versions of one of the libraries, possibly GDAL, on your system, installed. That is not going to work. |
I think I have only one GDAL: see `dpkg -l |grep gdal. Anaconda have some version of gdal but it should not matter? I started with what I thought to be a clean setup removing, every possible GDAL and PROJ that I could find. I used: sudo apt remove libgdal-dev
sudo apt remove libproj-dev
sudo apt remove gdal-bin
sudo apt autoremove and checked package with: dpkg -l | grep gdal
dpkg -l | grep proj Should I do more?
Sorry I will try. I have then removed GDAL and PROJ and checked with "dpkg -l". Removed the unstable unbutugis PPA and added the stable one. sudo apt-get install libudunits2-dev libgdal-dev libgeos-dev libproj-dev
proj
#Rel. 7.2.1, January 1st, 2021
#usage: proj [-bdeEfiIlmorsStTvVwW [args]] [+opt[=arg] ...] [file ...]
gdal-config --version
# 3.3.2 Then in R: library(remotes)
install_github("r-spatial/sf") it passes this check now:
but later I have an other error:
I will investigated that a bit more and I will read good documentation on how to be sure package and dependencies can be manage well. |
might indicate duplicate PROJ installations. |
Thanks! It worked after:
No idea which one of those changes make it works. (should I close or do you close the issue?) |
Hello,
I am on Ubuntu 20.04.4 LTS. I followed this instruction:
Then I get:
It seems good then I try to install
sf
:I get this error message:
I think libgdal should be the 29:
If I try to remove the ppa and retry.
The text was updated successfully, but these errors were encountered: