ArduinoStudio Linux Error Loading libraries LIBGCRYPT.SO.11

"Error while Loading shared libraries: LIBGCRYPT.SO.11: Cannot open shared object file: NO SUCH FILE OR DIRECTORY"

If you ever bump into this issue while running the IDE, you need to build from source the old libgcrypt11 to properly run ArduinoStudio. Taking for granted that you are running a Ubuntu-based distro, please first satisfy the build dependencies with :

$ sudo apt-get remove libgcrypto20 libgcrypto20-dev
$ sudo apt-get build-dep libgcrypto20
$ sudo apt-get install dh-autoreconf

after that, you have two choices :

1. Old-school building from source :

$ mkdir -p ~/Downloads/temp_work
$ cd ~/Downloads/temp_work
$ wget
$ tar xvf libgcrypt-1.5.3.tar.gz
$ cd libgcrypt-1.5.3/
$ ./configure && make
$ sudo make install
$ sudo ldconfig

2. Generate the .deb packages for ubuntu itself :

$ mkdir -p ~/Downloads/temp_work
$ cd ~/Downloads/temp_work
$ wget
$ wget
$ wget
$ dpkg-source -x libgcrypt11_1.5.3-2ubuntu4.4.dsc
$ cd libgcrypt11-1.5.3/
$ debuild -us -uc -b
$ cd ../
$ sudo dpkg -i *.deb

after that you sholud be able to run ArduinoStudio without any issues.