1

我正在使用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.

我该如何解决这个问题?

4

1 回答 1

0

该错误是因为您使用的二进制文件,看起来 SSL 依赖项不满足。

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

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

于 2018-03-09T10:08:30.693 回答