If it depends on libgles1, I'd say something is broken. The N900 uses OpenGLES 2.0 and to write an application that's not using that sounds like a mistake.