don't use -lGL on macosx, its -framework OpenGL, still some missing symbols