gdcmanon - 未配置请求的加密库

时间:2018-03-07 13:36:59

标签: ubuntu-16.04 gdcm

我正在使用gdcmanon来模拟以下的dicom文件:

LD_LIBRARY_PATH=../lib ./gdcmanon --certificate CA_cert.cer -e ./dump ./dump/anon

但它会出现以下错误:

Error: In /home/travis/build/malaterre/GDCM/Source/Common/gdcmCryptoFactory.cxx, line 61, function static gdcm::CryptoFactory* gdcm::CryptoFactory::GetFactoryInstance(gdcm::CryptoFactory::CryptoLib) No crypto factory registered with id 1

Requested cryptoraphic library not configured.

我该如何解决这个问题?

1 个答案:

答案 0 :(得分:0)

错误是由于您使用的二进制文件,看起来不满足SSL依赖性。

作为解决方案(解决方法?),您可以通过apt系统获取二进制文件。对于Ubuntu 16.04 Xenial发行版,有libgdcm-tools个版本的2.6.3版。

另一种可能性是从头开始编译gdcm,但是你需要OpenSSL(apt install libssl-dev)的开发文件。此外,要在证书中使用匿名化,请在CMake系统集GDCM_USE_SYSTEM_OPENSSL=YES

相关问题