On Fri, Nov 23, 2012 at 7:53 PM, Wim Meeussen wrote: > I tried one of the (ugly) workarounds from the comments above: > > cd /usr/src/gtest > sudo cmake CMakeLists.txt > sudo make > sudo cp *.a /usr/lib > > This creates a static library /usr/lib/libgtest.a, but linking fails: > > Linking CXX executable ../bin/test_unique_id > /usr/bin/ld: cannot find -l/usr/lib/libgtest.a FWIW, I've added that workaround to the setup preamble of Jenkins builds and it worked fine. I'm surprised that the linker can't find the lib in your case. I would turn on verbose linker output to figure out what's going on there. brian.