[Paraview] vtkSMExtractDocumentation linking error for ParaView 3.8.1
Christine Corbett Moran
corbett at physik.uzh.ch
Thu Nov 4 11:55:19 EDT 2010
Hi,
Thanks for the response. Adding -lcrypto to the CMAKE_C*_FLAGS fixed things.
I had missed trying that in my investigations so thanks for suggesting that.
Still not sure why it failed there and only there, could be something with
my MPI as you mentioned I'll look into it.
Cheers,
Christine
On Wed, Nov 3, 2010 at 8:11 PM, Dave Partyka <dave.partyka at kitware.com>wrote:
> Hi Christine,
>
> 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.
>
> On Mon, Nov 1, 2010 at 8:47 AM, Christine Corbett Moran <
> corbett at physik.uzh.ch> wrote:
>
>> I'm setting up ParaView 3.8.1 (stable version from source linked on the
>> website) on our cluster and running into a linking error.
>>
>> the error is
>> "[ 87%] Built target vtkPVServerManager
>> Linking CXX executable ../../bin/vtkSMExtractDocumentation
>> ../../bin/libvtkPVServerCommon.so: undefined reference to `MD5'
>> collect2: ld returned 1 exit status"
>>
>> and I have
>> OPENSSL_CRYPTO_LIBRARIES
>> /usr/lib64/libssl.a:/usr/lib64/libcrypto.a
>> OPENSSL_INCLUDE_DIR /usr/include
>> OPENSSL_LIBRARIES
>> /usr/lib64/libssl.a:/usr/lib64/libcrypto.a
>> OPENSSL_SSL_LIBRARIES
>> /usr/lib64/libssl.a:/usr/lib64/libcrypto.a
>> set via ccmake.
>>
>> I've tried both the static and the shared versions of the libraries on
>> the machine. I've tried using different versions of CMake (2.8.1 vs.
>> 2.8.2). A simple program using MD5 compiles against these libraries no
>> problem gcc -o md5sum md5sum.c -lcrypto, I've done an ldd on this test
>> program md5sum binary to verify that it is indeed pointing to the same
>> libs that I've pointed to in the PV build. I've tried manually adding
>> the locations of the libraries to my LD_LIBRARY_PATH. I've also tried
>> putting INCLUDE(FindOpenSSL) in my CMakeLists.txt. Now I'm out of new
>> ideas.
>>
>> Christine
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the ParaView Wiki at:
>> http://paraview.org/Wiki/ParaView
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.paraview.org/mailman/listinfo/paraview
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20101104/1d058e66/attachment.htm>
More information about the ParaView
mailing list