Hi Christine,<div><br></div><div>As far as I am aware (and doing some of my own grepping) I am not finding any dependency on MD5 in ParaView/VTK, so this is very puzzling. Are you using some kind of secure MPI? Anyway, just adding in FindOpenSSL won't help as it won't change what libraries ParaView links to. You could try adding -lcrypto to CMAKE_CXX_FLAGS and CMAKE_C_FLAGS in ccmake/cmake-gui. But as I said, this shouldn't be required.<br>
<br><div class="gmail_quote">On Mon, Nov 1, 2010 at 8:47 AM, Christine Corbett Moran <span dir="ltr"><<a href="mailto:corbett@physik.uzh.ch">corbett@physik.uzh.ch</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I'm setting up ParaView 3.8.1 (stable version from source linked on the<br>
website) on our cluster and running into a linking error.<br>
<br>
the error is<br>
"[ 87%] Built target vtkPVServerManager<br>
Linking CXX executable ../../bin/vtkSMExtractDocumentation<br>
../../bin/libvtkPVServerCommon.so: undefined reference to `MD5'<br>
collect2: ld returned 1 exit status"<br>
<br>
and I have<br>
OPENSSL_CRYPTO_LIBRARIES<br>
/usr/lib64/libssl.a:/usr/lib64/libcrypto.a<br>
OPENSSL_INCLUDE_DIR /usr/include<br>
OPENSSL_LIBRARIES<br>
/usr/lib64/libssl.a:/usr/lib64/libcrypto.a<br>
OPENSSL_SSL_LIBRARIES /usr/lib64/libssl.a:/usr/lib64/libcrypto.a<br>
set via ccmake.<br>
<br>
I've tried both the static and the shared versions of the libraries on<br>
the machine. I've tried using different versions of CMake (2.8.1 vs.<br>
2.8.2). A simple program using MD5 compiles against these libraries no<br>
problem gcc -o md5sum md5sum.c -lcrypto, I've done an ldd on this test<br>
program md5sum binary to verify that it is indeed pointing to the same<br>
libs that I've pointed to in the PV build. I've tried manually adding<br>
the locations of the libraries to my LD_LIBRARY_PATH. I've also tried<br>
putting INCLUDE(FindOpenSSL) in my CMakeLists.txt. Now I'm out of new<br>
ideas.<br>
<br>
Christine<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
</blockquote></div><br></div>