Could you post here the result of this ls command?

$ ls -l /usr/lib32/libX11*

May be you have different version of libX11 installed.


On Oct 25, 4:59 am, Yalcin <[EMAIL PROTECTED]> wrote:
> Hi,
>
> i made the changes Tom wrote, also
>     $ sudo ln -s libX11.so.6 libX11.so
>
> however the following error occurs:
> ---
> host Executable: emulator (out/host/linux-x86/obj/EXECUTABLES/
> emulator_intermediates/emulator)
> /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/
> 4.2.4/../../../libX11.so when searching for -lX11
> /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/
> 4.2.4/../../../libX11.a when searching for -lX11
> /usr/bin/ld: skipping incompatible /usr/bin/../lib/libX11.so when
> searching for -lX11
> /usr/bin/ld: skipping incompatible /usr/bin/../lib/libX11.a when
> searching for -lX11
> /usr/bin/ld: skipping incompatible /usr/lib/libX11.so when searching
> for -lX11
> /usr/bin/ld: skipping incompatible /usr/lib/libX11.a when searching
> for -lX11
> /usr/bin/ld: cannot find -lX11
> collect2: ld returned 1 exit status
> make: *** [out/host/linux-x86/obj/EXECUTABLES/emulator_intermediates/
> emulator] Error 1
> ---
>
> any help !
> Yalcin
>
> On Oct 24, 8:58 pm, "Tom Morris" <[EMAIL PROTECTED]> wrote:
>
> > Koba & Disconnect - Thanks for the tips.  Apologies to everyone for
> > the duplicate post, but there was a significant moderation delay
> > yesterday and the other query hadn't been posted when I wrote mine.
>
> > I got everything to build and run on 64-bit Linux once all the
> > necessary dependencies were installed.
>
> > The libX11 problem mentioned by Jonas Bonn is due to this Ubuntu bug
>
> >    https://bugs.launchpad.net/ubuntu/+source/ia32-libs/+bug/117131
>
> > If you've got ia32-libs installed, you can work around the problem by
> > creating the softlink by hand.
>
> >     $ cd /usr/lib32
> >     $ sudo ln -s libX11.so.6 libX11.so
>
> > I had most of what I need installed, so I'm not sure this list of
> > dependencies is complete, but you definitely need a bunch of the
> > 32-bit dev packages.  Combining the lists from Koba and Disconnect,
> > I'd suggest starting with
>
> >     $ sudo apt-get install ia32-libs  g++-multilib gcc-multilib
> > lib32z1-dev lib32ncurses5-dev
>
> > and then creating the softlink as described above.  Of course, this is
> > in addition to the dependencies already listed on Google's build 
> > pagehttp://source.android.com/download#TOC-Linux
>
> > It took over an hour on my laptop, but when it was done I had a
> > complete build with working emulator, SDK, and bundled apps that ran
> > just fine.
>
> > BTW, if anyone needs to debug the makefiles, there's a target
> > 'showcommands' that is useful to see what's going on.
>
> > Tom
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Android Internals" group.
To post to this group, send email to android-internals@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/android-internals?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to