Cynosure.X International LLC

: :

Add Comment | Related Links | TrackBack
Related Content

emulator looks for libc.so.6 in the wrong directory

After creating a virtual device in the Android SDK, I tried to start the "emulator" to see what I'd get. Apparently I would get nothing but an error message. When emulator starts, it says:

"emulator: /lib/i686/libc.so.6: version `GLIBC_2.4' not found (required by emulator)"

I looked in "/lib/i686". Sure enough, "libc.so.6" isn't in there. But I did find "libc.so.6" in the "/lib" directory. I don't have administration permission to copy or link the library file in the "/lib/i686" directory. So what are some other ways around this problem?

Chieh Cheng
Tue, 18 May 2010 15:22:41 +0000

Ok, here is some more indepth information from experimentation. I used "strings emulator" to extract a list of text within emulator. This text pointed me to try something different: "$ORIGIN/../lib".

So, it seems that "emulator" can also look for libraries somewhere else. I created "../lib/i686" and placed "libc.so.6" in it. Then I executed "emulator" to get the following error message:

"emulator: /home/robot/AndroidSDK/tools/../lib/i686/libc.so.6: version `GLIBC_2.4' not found (required by emulator)"

That is very interesting indeed. The error message looks exactly like the first one. I checked "/lib/i686" again and found that "libc.so.6" is indeed there. So this error message is not reporting correctly. What else could it be?

Chieh Cheng
Tue, 18 May 2010 16:26:11 +0000

My glibc is too old. For some reason I thought I had glibc 2.4 on this system. But I just ran "rpm -q glibc" and it reported "glibc-2.3.2-88". So it's obvious that I've been on a wild goose chase.

Chieh Cheng
Tue, 18 May 2010 16:31:57 +0000

Add Comment | Related Links | TrackBack
Related Content

Did your message disappear? Read the Forums FAQ.

Add Comment

Spam Control | * indicates required field
Your Name: *
E-mail:
Remember Me!
Comment: *
File attachment is optional. Please do not attach a file to your submission unless it is relevent.
Attach File:
(20 MB Max)
Spam Protection: * Answer of 1 + 9?
Click button only once, please!

TrackBack

TrackBack only accepted from WebSite-X Suite web sites. Do not submit TrackBacks from other sites.

Send Ping | TrackBack URL | Spam Control

No TrackBacks yet. TrackBack can be used to link this thread to your weblog, or link your weblog to this thread. In addition, TrackBack can be used as a form of remote commenting. Rather than posting the comment directly on this thread, you can posts it on your own weblog. Then have your weblog sends a TrackBack ping to the TrackBack URL, so that your post would show up here.

Messages, files, and images copyright by respective owners.

Products | Services
Forums | Latest | RSS
Library | Search | Wiki
Help | Licenses

Login | Register

96 Users Online

Hacking Digital Cameras
Fun for Photographers



Amazon Associate

Copyright © 1996 - 2024. All Rights Reserved.