Does it work if you add --enable-shared-glapi to the configure arguments? If not, please attach the full output from configure and make.