Pointing to different places. LD_LIBRARY_PATH makes curl point to /usr/bin/curl (so system) but curl-config still points to the conda version. Need to set CURL_CONFIG=/usr/bin/curl-config as an env variable. Not causing problems now but would cause hard to solve bug if you needed curl and curl-config.
py-r-geospatial
(notebook) rstudio@jupyter-eeholmes:~$ echo ${PATH}
/srv/conda/envs/notebook/bin:/srv/conda/envs/notebook/bin:/srv/conda/condabin:/srv/conda/envs/notebook/bin:/srv/conda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/texlive/bin/linux:/usr/lib/rstudio-server/bin/quarto/bin:/usr/lib/rstudio-server/bin/postback:/usr/lib/rstudio-server/bin/postback:/srv/conda/envs/notebook/bin
(notebook) rstudio@jupyter-eeholmes:~$ which curl
/usr/bin/curl
(notebook) rstudio@jupyter-eeholmes:~$ which curl-config
/srv/conda/envs/notebook/bin/curl-config
(notebook) rstudio@jupyter-eeholmes:~$ which python
/srv/conda/envs/notebook/bin/python
(notebook) rstudio@jupyter-eeholmes:~$ echo ${LD_LIBRARY_PATH}
/usr/local/lib/R/lib:/lib:/usr/local/lib:/usr/lib/x86_64-linux-gnu:/usr/lib/jvm/java-11-openjdk-amd64/lib/server
Pointing to different places. LD_LIBRARY_PATH makes curl point to /usr/bin/curl (so system) but curl-config still points to the conda version. Need to set
CURL_CONFIG=/usr/bin/curl-config
as an env variable. Not causing problems now but would cause hard to solve bug if you needed curl and curl-config.py-r-geospatial