We had an issue installing the R package (gsl) on the server.
Server - Amazon Linux AMI
I am able to fix the issue and install the package by defining an environment variable i.e.
-sh-4.2$ echo $LD_LIBRARY_PATH
Now the issue is I am getting RStudio Initialization Error while accessing RStudio Portal via URL. Below error occurs after entering the credentials.
"Error occured during Transmission"
If I remove this variable from the Environment. I no longer face issue on portal but the package installation fails.
Kindly suggest what is causing this issue and how it can be fixed.