Closed edfincham closed 6 years ago
Something is up with your installation of libsasl2-dev
or libsasl2-2
. Try reinstalling:
sudo apt-get remove --purge libsasl2-dev libsasl2-2
sudo apt-get install libsasl2-dev
You didn't install a custom version of sasl from source in /usr/local
did you?
Are you using ubunut's standard r-base-dev
or did you get it from somewhere else?
Thank you for the quick reply! Something is definitely up with my installation of libsasl2-dev
:
Both apt-get
commands return:
Unable to locate package libsasl2-dev
I'll investigate...
I'm using the standard ubuntu r-base-dev
The absence of libsasl2-dev
was tripping me up - thanks for the pointer and help :+1:
Had to manually install then it worked a treat. Closing this.
I attempted the libsasl removal, but the warning was going to remove additionally a lot of libraries I've worked to accumulate. However, I didn't have libsasl2-dev. Just installing that resolved the mongolite installation failure on Ubuntu for me.
sudo apt-get install libsasl2-dev
solved the mongolite installation problem for me aswell
Been trying numerous ways to install but keep on getting the following error.
(mongodb installed and service running fine)