AnsweredAssumed Answered

QorIQ LSDK: openssl: undefined symbol: idea_set_encrypt_key

Question asked by frank_o on Jun 8, 2018
Latest reply on Jun 18, 2018 by frank_o

I'm trying to run the openssl speed test on a LS1043A-RDB with the latest (18.03) LSDK and I get this error:

openssl: symbol lookup error: openssl: undefined symbol: idea_set_encrypt_key


I was getting the same problem on my previous 17.09 version of the LSDK so yesterday I did a fresh install with the latest flexbuild install

Based on the, I did:

- Step 1: Login Ubuntu 16.04 host machine and download the flexbuild repository
$ cd flexbuild
$ source setup.env

- Step 2: Download prebuilt bootpartition and components tarballs
$ wget
$ wget

- Step 3: Generate distro userland, untar prebuilt components tarball and merge it into distro userland
$ flex-builder -i mkrfs -a arm64
$ tar xvzf app_components_arm64.tgz -C build/apps
$ tar xvzf arm64-modules-4.9.79.tgz -C build/rfs/rootfs_ubuntu_xenial_arm64/lib/modules
$ tar xvzf linux-lib-firmware.tgz -C build/rfs/rootfs_ubuntu_xenial_arm64/lib
$ flex-builder -i merge-component -a arm64

- Step 4: Install LSDK onto SD/USB/SATA storage drive
$ flex-installer -b bootpartition_arm64_lts_4.9.tgz -r build/rfs/rootfs_ubuntu_xenial_arm64 -m ls1043ardb -d /dev/sdd


On Target: 

user@Ubuntu:~$ uname -a
Linux Ubuntu.ls1043ardb 4.9.79 #1 SMP PREEMPT Thu Mar 22 18:52:26 CST 2018 aarch64 aarch64 aarch64 GNU/Linux

user@Ubuntu:~$ which openssl

user@Ubuntu:~$ readelf -d /usr/local/bin/openssl | grep 'NEEDED'
0x0000000000000001 (NEEDED) Shared library: []
0x0000000000000001 (NEEDED) Shared library: []
0x0000000000000001 (NEEDED) Shared library: []
0x0000000000000001 (NEEDED) Shared library: []

user@Ubuntu:~$ ldconfig -p |grep -i (libc6,AArch64) => /lib/aarch64-linux-gnu/

user@Ubuntu:~$ ldconfig -p |grep -i (libc6,AArch64) => /lib/aarch64-linux-gnu/

user@Ubuntu:~$ ldconfig -p |grep -i (libc6,AArch64, OS ABI: Linux 3.7.0) => /lib/aarch64-linux-gnu/
user@Ubuntu:~$ ldconfig -p |grep -i (libc6,AArch64) => /lib/aarch64-linux-gnu/ (libc6,AArch64) => /lib/


I also checked ldd:

user@Ubuntu:~$ ldd /usr/local/bin/openssl => (0x0000ffff966a5000) => /lib/aarch64-linux-gnu/ (0x0000ffff96610000) => /lib/aarch64-linux-gnu/ (0x0000ffff9646c000) => /lib/aarch64-linux-gnu/ (0x0000ffff96325000)
/lib/ (0x0000ffff9667a000) => /lib/aarch64-linux-gnu/ (0x0000ffff96311000)



Anyone have a clue ?