Merge pull request #771 from RosettaCommons/kylebarlow/general_dev
Fixing cmake cppdb linking errors in 2013-onward linux g++ versions
Committing fix suggested by Tom Linsky on rosetta-devel@googlegroups.com on Fri, May 8, 2015.
Solution also referenced at: http://stackoverflow.com/questions/20369672/undefined-reference-to-dlsym
This doesn't break the Clang builds on my machine, but I'll be testing that, and the behavior of other g++ versions, on the test server shortly.
Linking error fixed by this:
libcppdb.so: undefined reference to dlsym' libcppdb.so: undefined reference todlclose'
libcppdb.so: undefined reference to `dlopen'
collect2: error: ld returned 1 exit status