I have installed Unity in Ubuntu 16 . When I open for 1st time and sign in. I get below screen-shot
I have read the workaround which says
WORKAROUND: Launch Unity with LD_PRELOAD=/usr/lib/libresolv.so.2 /path/to/Unity (check the path to your local libresolv)
I have executed the following in terminal, but the issue still persists.Please help
ashok@ashok:~$ LD_PRELOAD=/usr/lib/libresolv.so.2 /opt/Unity/Editor/Unity
ERROR: ld.so: object ‘/usr/lib/libresolv.so.2’ from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
/opt/Unity/Editor/Unity: /opt/Unity/Editor/Data/Tools/libgpg-error.so.0: no version information available (required by /lib/x86_64-linux-gnu/libgcrypt.so.20)
Could you explain a bit more how to execute the above
I do not find libresolv.so.2 in /usr/lib folder (do I need to download from internet ?)
For others with this issue:
First, check if you have “libc6” installed (sudo apt install libc6).
Secondly, run: sudo locate libresolv
This will print a list to where the file is on your disk. For me, I had like three libresolv.so.2 but in different folders.
Then, I ran the command written above and it worked. After signing in to Unity I can just start the program without having to use the above command again.
So for me:
LD_PRELOAD=/lib/x86_64-linux-gnu/libresolv.so.2 /opt/Unity/Editor/Unity