I don't know that any Android version is recommended to be build on Ubuntu 
17, so this may cause problems - especially with an Android version as old 
as ICS. That aside, it appears that you are missing the  thelibgl1-mesa-dev 
dependency (or Ubuntu 17 equivalent).

On Tuesday, August 8, 2017 at 8:58:25 AM UTC-7, Shayan Pakzad wrote:
>
> up vote
> down votefavorite 
> <https://stackoverflow.com/questions/45556184/how-to-solve-usr-bin-ld-cannot-find-lgl-usr-bin-ld#>
>
> I use AOSP to build android. I use these commands to build android on my 
> ubuntu 17.04:
>
> repo init -u https://android.googlesource.com/platform/manifest -b 
> android-4.0.1_r1 repo sync -j8 . build/envsetup.sh lunch make -j8
>
> and aftar 30 minutes this error came, anybody know how to fix it?
>
> host Executable: tblgen 
> (out/host/linux-x86/obj/EXECUTABLES/tblgen_intermediates/tblgen) 
> /usr/bin/ld: cannot find -lGL collect2: ld returned 1 exit status 
> /usr/bin/ld: cannot find -lGL /usr/bin/ld: cannot find -lGL make: *** 
> [out/host/linux-x86/obj/lib/libGLES_CM_translator.so] Error 1 make: *** 
> Waiting for unfinished jobs.... collect2: ld returned 1 exit status 
> collect2: ld returned 1 exit status
>

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to