It seems that the libGLESv1_CM.so library in rpi-vc.tcz is bad. I expect this file to be a shared library, but instead it's just an ASCII text file containing the string "libGLESv2.so". Trying to link with it fails.
$ gcc test.c -lGLESv1_CM -o test
/usr/local/bin/ld:/usr/local/lib/libGLESv1_CM.so: file format not recognized; treating as linker script
/usr/local/bin/ld:/usr/local/lib/libGLESv1_CM.so:0: syntax error
collect2: error: ld returned 1 exit status
$ xxd -g 1 /usr/local/lib/libGLESv1_CM.so
00000000: 6c 69 62 47 4c 45 53 76 32 2e 73 6f libGLESv2.so