Saikiranbelana
New Contributor
2 years agoOpenCL bitstream unsigning crashes - Arria 10 PAC Card
Hi, I was trying to unsign the compiled aocx file. It crashes by this error:
fpga@fpgaserver2:~/A10_OPENCL/vector_add/bin$ source /home/fpga/inteldevstack/a10_gx_pac_ias_1_2_1_pv/opencl/opencl_bsp/linux64/libexec/sign_aocx.sh -H openssl_manager -i vector_add.aocx -r NULL -k NULL -o vector_add_unsigned.aocx The script assumes the PACsign and Intel Acceleration Stack environment is setup. If not run the command : <stack_installation_path>/init_env.sh hsm_manager=openssl_manager aocx filename/path=vector_add.aocx root_public_key=NULL csk_public_key=NULL output filename/path=vector_add_unsigned.aocx null=1 openssl hsm_manager_options=openssl_manager input path =. input filename =vector_add.aocx output path =. output filename =vector_add_unsigned.aocx Extracted the filename as vector_add_unsigned 1. Extracted the bin from the aocx 2. Extracted the gzip compressed GBS file from the .bin gzip: temp_vector_add_unsigned.gbs already exists; do you wish to overwrite (y or n)? y 3. Uncompressed .gz it to get the GBS file Initiating PACSign tool to sign the GBS. This process will take a couple of minutes... Creating unsigned aocx file by signing a NULL key No root key specified. Generate unsigned bitstream? Y = yes, N = no: Y No CSK specified. Generate unsigned bitstream? Y = yes, N = no: Y No root entry hash bitstream specified. Verification will not be done. Continue? Y = yes, N = no: Y Error: Module: openssl.py, Function: __init__, Line: 332 Failed to find crypto library (libcrypto.so). For RedHat-based distros, install package openssl-devel. For Debian-based distros, install package libssl-dev.
I have installed `libssl-dev` and it still causes the same error. I have edited ldconfig to add `libcrypto.so` library too.
Is there something I'm missing with openssl installation ?