The biggest headache here is probably that the opengl library is linked against bionic instead of glibc, but there are a number of ways you could shim that (with some creative linker trickery), since the actual OpenGL API/ABI is not dependent on libc's data structures. That's assuming you can't convince your SoC/GPU vendor to provide a version linked against glibc or staticly.
I can see that being annoying, but it's certainly not insurmountable.