qat_sw target ouput error
I got this error when testing qat_sw target. I follow the steps and in the readme of crypto_mb library and already have the crypto_mb builded. Anyone has ideas on this?
[root@SPR-SVM QAT_Engine]# cd /usr/local/ssl/bin/ [root@SPR-SVM bin]# ./openssl engine -t -c -v qatengine 140737354077312:error:02001014:system library:fopen:Not a directory:crypto/bio/bss_file.c:69:fopen('/usr/bin/openssl/ssl/openssl.cnf','rb') 140737354077312:error:2006D002:BIO routines:BIO_new_file:system lib:crypto/bio/bss_file.c:78: 140737354077312:error:0E078002:configuration file routines:def_load:system lib:crypto/conf/conf_def.c:170: 140737354077312:error:25066067:DSO support routines:dlfcn_load:could not load the shared library:crypto/dso/dso_dlfcn.c:118:filename(/usr/local/ssl/lib/engines-1.1/qatengine.so): /usr/local/ssl/lib/engines-1.1/qatengine.so: undefined symbol: qat_ecdh_generate_key 140737354077312:error:25070067:DSO support routines:DSO_load:could not load the shared library:crypto/dso/dso_lib.c:162: 140737354077312:error:260B6084:engine routines:dynamic_load:dso not found:crypto/engine/eng_dyn.c:414: 140737354077312:error:2606A074:engine routines:ENGINE_by_id:no such engine:crypto/engine/eng_list.c:334:id=qatengine
@bryanwux Can you share your build configure output used? Hope you have used configure commands as in installation instructions for qat_sw target
Hi, @bryanwux @Yogaraj-Alamenda I got a similar problem when trying to test the qat-sw My issue is as
140215913727680:error:25066067:DSO support routines:dlfcn_load:could not load the shared library:crypto/dso/dso_dlfcn.c:118:filename(/home/openssl_org/openssl/openssl_install//lib/engines-1.1/qatengine.so): /home/mb_build//lib/libcrypto_mb.so.11: undefined symbol: OQS_SIG_alg_is_enabled 140215913727680:error:25070067:DSO support routines:DSO_load:could not load the shared library:crypto/dso/dso_lib.c:162: 140215913727680:error:260B6084:engine routines:dynamic_load:dso not found:crypto/engine/eng_dyn.c:414: 140215913727680:error:2606A074:engine routines:ENGINE_by_id:no such engine:crypto/engine/eng_list.c:334:id=qatengine
I have been searching around the web but cannot find a solution. I have checked the so, and it does have the symbol OQS_SIG_alg_is_enabled but not recognized.
@qianwan4 Can you please let me know the below details to check further ?
Platform details as the QAT_SW is only supported from 3rd gen Intel Xeon Platforms as in HW requirement IPP Crypto_mb Library release version used. OpenSSL Version and QAT Engine Version.
@qianwan4 Can you please let me know the below details to check further ?
Platform details as the QAT_SW is only supported from 3rd gen Intel Xeon Platforms as in HW requirement IPP Crypto_mb Library release version used. OpenSSL Version and QAT Engine Version.
Hi Thanks for your reply. I have solved this issue by setting the load path to my openssl source. as LD_LIBRARY_PATH=$OPENSSL_ROOT