'OPENSSL_init_ssl' Symbol Error

25 views
Skip to first unread message

J D

unread,
Mar 24, 2021, 4:18:42 AM3/24/21
to
Hi All,

I'm using openssl V1.1.1 stable version and cross compiled for 32bit arch using below command:

./Configure --cross-compile-prefix=arm-buildroot-linux-uclibcgnueabihf- --prefix=$(SDK_DIR)/build --openssldir=$(SDK_DIR)/build linux-generic64 && make -j48 && make install

It is generating the libraries (ELF 32-bit LSB shared object, ARM, EABI5 version 1 (SYSV), dynamically linked, with debug_info, not stripped).

But, the issue is when I execute the SMTP code on the device, it gives me error as below:

bin_name: can't resolve symbol 'OPENSSL_init_ssl'

[smtp Server]: 250-SIZE 35882577
[smtp Server]: 250-8BITMIME
[smtp Server]: 250-STARTTLS
[smtp Server]: 250-ENHANCEDSTATUSCODES
[smtp Server]: 250-PIPELINING
[smtp Server]: 250-CHUNKING
[smtp Server]: 250 SMTPUTF8
[smtp Client]: STARTTLS
[smtp Server]: 220 2.0.0 Ready to start TLS
bin_name: can't resolve symbol 'OPENSSL_init_ssl'

What are the possible reasons for this?
Am I missing anything?

Please share your suggestions.

Regards,
J D

Reply all
Reply to author
Forward
0 new messages