Actually this is an answer. Im not asking a question. Last day, I tried to install skype 4.2 on my dell N5110 with nvida Optimus, after the installation when I tried to open skype from dash it didn't open. So then I opened it with Terminal via skype
and it gave me an error error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory
So I did the following steps with the help of method mentioned in this link.
Steps:
- Open a terminal and type
sudo nano /etc/ld.so.conf.d/skype.conf
- Add the code
/usr/lib/i386-linux-gnu/mesa/
in the next console window, and press ctrl+x to exit, when prompted enter y to say yes - And finally run
sudo ldconfig -v
sudo apt-get purge nvidia-304
.