服务无法在Kubuntu中出现Unity3d错误
我正在尝试在Kubuntu中使用Unity3d ,但我收到此错误:
Service not avaliable, please try again later.
我发现这篇文章 :
Certain systems may experience "Service unavailable" errors when trying to log in. WORKAROUND: Launch Unity with LD_PRELOAD=/usr/lib/libresolv.so.2 /path/to/Unity (check the path to your local libresolv)
我在计算机中检查了libresolv.so.2的路径。 我在/lib32/libresolv.so.2和/libx32/libresolv.so.2下找到了它。 (不知道有什么区别)。
当我跑:
LD_PRELOAD=/lib32/libresolv.so.2 /opt/Unity/Editor/Unity
我明白了:
ERROR: ld.so: object '/lib32/libresolv.so.2' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
当我跑:
LD_PRELOAD=/libx32/libresolv.so.2 /opt/Unity/Editor/Unity
我明白了:
ERROR: ld.so: object '/libx32/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)
有什么建议吗?
我用另一条路径尝试了同样的命令:
/lib/x86_64-linux-gnu/libresolv.so.2
现在它有效。 希望它对某人有用!
(我仍然不知道为什么我的这个lib重复了这么多,我想它们是不同的编译,32位,64位,不是吗?)