andreasgal / B2G

Boot to Gecko aims to create a complete, standalone operating system for the open web.
https://wiki.mozilla.org/B2G
909 stars 158 forks source link

/usr/bin/ld.bfd.real: cannot find -lGL #304

Closed sammaple closed 12 years ago

sammaple commented 12 years ago

hello,guys!

I install Ubuntu12.04-64bits in VM.

First ,I make sync successfully,& then I make make config-qemu-ics(this step will down gonk-ics).

All that downed without any problem, then make gonk,

err occurs :

/usr/bin/ld.bfd.real: cannot find -lGL

can help me? tks

sammaple commented 12 years ago

i have ln -s the libGL.so ,but it doesn't work

lrwxrwxrwx 1 root root 35 5月 27 20:15 libGL.so -> /lib/x86_64-linux-gnu/mesa/libGL.so

joneschrisg commented 12 years ago

Yes, ubuntu 12.04 scrooged the ia32-libs. You need to symlink to your real GL impl, as it seems you figured out.

sammaple commented 12 years ago

But this doean't work I still stucked on this problem.Anyone encount the same error?

sammaple commented 12 years ago

it find i386 lib,i manually create symlinks for sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so

it works~