5

I'm trying to use Unity3d in Kubuntu, but I'm getting this error:

Service not avaliable, please try again later.

I've found this post:

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)

I've checked the path of libresolv.so.2 in my computer. I found it under /lib32/libresolv.so.2 and under /libx32/libresolv.so.2. (Don't know what the difference is).

When I run:

LD_PRELOAD=/lib32/libresolv.so.2 /opt/Unity/Editor/Unity

I get:

ERROR: ld.so: object '/lib32/libresolv.so.2' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.

and when I run:

LD_PRELOAD=/libx32/libresolv.so.2 /opt/Unity/Editor/Unity

I get:

ERROR: ld.so: object '/libx32/libresolv.so.2' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.

With both commands I also get this:

/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)

Any suggestion?

1 Answer 1

6

I tried the same command with this other path:

/lib/x86_64-linux-gnu/libresolv.so.2

And now it works. Hope it will be useful for someone!

(I still don't know why I have this lib repeated so much, I suppose they are different compilations, for 32, 64 bits, aren't they?)

1
  • 1
    Same problem and same solution on Ubuntu 16.04. Thanks!
    – joH1
    Aug 23, 2016 at 21:59

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .