我们想测试一下这个Intel Engine的性能,看看它能将openssl的性能提升多少。
我们按默认编译openssl 1.0.0的步骤:
$./config ; 制作 ; 进行安装
并编译英特尔引擎:
$ make
按照 README 文件中的说明,
env OPENSSL_ENGINES=`pwd` openssl speed -engine intel-accel -evp rc4
我们收到错误:
# env OPENSSL_ENGINES=`pwd` openssl speed -engine intel-accel -evp rc4
invalid engine "intel-accel"
140473186604712:error:25066067:DSO support routines:DLFCN_LOAD:could not load the shared library:dso_dlfcn.c:185:filename(/home/xxxxx/intel-accel-1.5/libintel-accel.so): /home/xxxxx/intel-accel-1.5/libintel-accel.so: undefined symbol: RSA_sign
140473186604712:error:25070067:DSO support routines:DSO_load:could not load the shared library:dso_lib.c:244:
140473186604712:error:260B6084:engine routines:DYNAMIC_LOAD:dso not found:eng_dyn.c:450:
140473186604712:error:2606A074:engine routines:ENGINE_by_id:no such engine:eng_list.c:417:id=intel-accel
140473186604712:error:25066067:DSO support routines:DLFCN_LOAD:could not load the shared library:dso_dlfcn.c:185:filename(libintel-accel.so): libintel-accel.so: undefined symbol: RSA_sign
140473186604712:error:25070067:DSO support routines:DSO_load:could not load the shared library:dso_lib.c:244:
140473186604712:error:260B6084:engine routines:DYNAMIC_LOAD:dso not found:eng_dyn.c:450:
有什么建议吗?