Please do not post a support request without first reading and following the advice in

Could no build retroarch on ubuntu 19.04

  • i'm trying to install retropie on Ubuntu 19.04 with and retroarch is not build. It's fails in configure when chegin existence of -lGL:

    Checking existence of -lGL ... no
    Forced to build with library -lGL, but cannot locate. Exiting ...

    I can't find anything about this library.

  • Every now and again this happens with my AMD rig and it currently is an issue. Somehow it magically gets fixed eventually by likely some awesome developer whos really cool!

    Heres my log from just now:

    Retroarch currently builds fine using the same version of the setup script as tried earlier today on both of my Intel rigs as well as pi. Sadly i only use the intel computers for testing and not gaming..

  • administrators

    The error from first poster is due to not finding the Mesa opengl libs. We're they removed? Should be a dependency but need more info about set up and a full log.

  • administrators

    In case a recent change has broken something though I will test though.

    Please fill out info:

    Please do not post a support request without first reading and following the advice in

  • @BuZz Ill post mine however as mentioned before it builds fine using Intel CPUs with onboard graphics as well as all cores. i5 6500 and i7 3632qm.

    It would be interesting to find out why this happens every now and again with teh AMD! Actually quite a few cores also fail to build from what i just tested, probably related!

    Pi Model or other hardware: (B, B+, 2 B, 3, X86 PC etc..) x86 Lubuntu 18.04.2 AMD Phenom ii x6 1090T, 16gb RAM, Nvidia GTX 690 on Nvidia 430
    Power Supply used: (If using a Pi)
    RetroPie Version Used (eg 3.6, 3.8.1, 4.1 - do not write latest): 4.5.1
    Built From: (Pre made SD Image on RetroPie website, Berryboot, or on top of existing OS etc.. - please provide the filename of any image used) On Top of Existing
    USB Devices connected: Nothing - currently headless
    Controller used: Nothing - headless
    Error messages received: -IGL
    Log found in /dev/shm/runcommand.log (if relevant): Pasteybinie
    Guide used: (Mention if you followed a guide)
    File: (File with issue - with FULL path)
    Emulator: (Name of emulator - if applicable) retroarch, lr-beetle-psx, snes9x, lr-mupen64plus-next....probably more, but it seems like i have an issue lol
    Attachment of config files: (PLEASE USE PASTEBIN.COM FOR LARGE LOGS)
    How to replicate the problem: just build from source!

    If I think about it a mesa issue makes sense considering, but have no idea what would have caused it.

  • administrators

    3rd party driver repos?

  • @BuZz That was exactly it at least for me and your question was all it took to figure it out. It did something to mesa/nvidia drivers in general and i realized i was in a "I dont know wtf that repo did" situation.

    I ended up nuking it finally tonight (been super busy lately) and removed that ppa from my script entirely..My fault! I kind of wonder what the other guy did and it would be great if he posted if he figured it out for someone else later on down the line because it may be different from my situation.

Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.