Experiencing the exact same issue when linking to libMesh unit tests on Ubuntu 16.04 with manually built cppunit (e.g. configure; make; make install