Just tried it on a fresh Ubuntu 18.04 and it won’t compile Opensubdiv.
Scanning dependencies of target osd_dynamic_gpu make: *** No rule to make target '/usr/lib/x86_64-linux-gnu/libGL.so', needed by 'lib/libosdGPU.so.3.3.3'. Stop. make: *** Waiting for unfinished jobs.... [ 98%] Building CXX object opensubdiv/CMakeFiles/osd_dynamic_gpu.dir/version.cpp.o CMakeFiles/Makefile2:258: recipe for target 'opensubdiv/CMakeFiles/osd_dynamic_gpu.dir/all' failed make: *** [opensubdiv/CMakeFiles/osd_dynamic_gpu.dir/all] Error 2 Makefile:140: recipe for target 'all' failed make: *** [all] Error 2 ERROR! OpenSubdiv-3.3.3 failed to compile, exiting