We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 3800

Summary: Hardcoded Raspberry Pi EGL and GLES library paths are now invalid on latest Raspbian
Product: SDL Reporter: Simon Hug <chli.hug>
Component: videoAssignee: Ryan C. Gordon <icculus>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: HG 2.0   
Hardware: ARM   
OS: Linux   

Description Simon Hug 2017-09-05 23:58:30 UTC
The rpi video driver has SDL_egl.c look at /opt/vc/lib/libGLESv2.so and /opt/vc/lib/libEGL.so which now are non-existent on the latest Raspbian stretch. 

The new names are /opt/vc/lib/libbrcmGLESv2.so and /opt/vc/lib/libbrcmEGL.so.

Obviously, hardcoding the full path again is probably not optimal. The build tools should search for these. I don't have much experience with them and can't provide a patch that will work.
Comment 1 Ryan C. Gordon 2017-09-06 23:38:08 UTC
I made an attempt at fixing this here: https://hg.libsdl.org/SDL/rev/dc5698982bac

Can you try this and make sure it fixes the issue for you? I'll try on an older Raspbian just to confirm that part.

--ryan.
Comment 2 Simon Hug 2017-09-07 00:08:50 UTC
Yes, that makes it work on Raspbian Stretch again.
Comment 3 Ryan C. Gordon 2017-09-07 05:11:01 UTC
Tested on Raspbian Jessie, works there too. Resolving bug.

--ryan.