Turns out there's a file under: $RHOME/etc/
called ldpaths
that clears the LD_LIBRARY_PATH
environment variable for some reason. I reset the LD_LIBRARY_PATH
to my preferred paths in that file, relaunched R, and the package installed quite smoothly.
On a side-node: I think this is ridiculous behaviour for such a mature piece of software.