openssl: relocation error

Horst Simon horst.simon2 at
Mon Mar 20 04:21:06 UTC 2023

I build openssl from source and when i try to generate a key it gives me following error:
openssl: relocation error: /opt/local/bin/openssl: symbol ENGINE_finish version OPENSSL_3.0.0 not defined in file with link time reference

following is the output from openssl version -a
OpenSSL 3.0.8 7 Feb 2023 (Library: OpenSSL 3.0.8 7 Feb 2023)
built on: Fri Mar 17 18:19:05 2023 UTC
platform: linux-x86_64-openwrt
options:  bn(64,64)
compiler: x86_64-openwrt-linux-gnu-gcc -fPIC -pthread -m64 -Wa,--noexecstack -Wall -O3 -pipe -fomit-frame-pointer -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -O3 -DPIC -fpic -ffunction-sections -fdata-sections -DOPENSSL_USE_NODELETE -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_BUILDING_OPENSSL -DZLIB -DZLIB_SHARED -DNDEBUG -DOPENSSL_RAND_SEED_DEVRANDOM_SHM_ID=-1 -DOPENSSL_PREFER_CHACHA_OVER_GCM
OPENSSLDIR: "/opt/etc/ssl"
ENGINESDIR: "/opt/lib/engines-3"
MODULESDIR: "/opt/lib/ossl-modules"
Seeding source: os-specific
CPUINFO: OPENSSL_ia32cap=0x4ff8e3bfefebffff:0x404000042294e287

Any help appreciated to solve this problem


More information about the openssl-users mailing list