SSL Header file issue #include <openssl/ssl.h>

22 views
Skip to first unread message

di...@devtechm2m.com

unread,
Sep 10, 2018, 10:25:37 AM9/10/18
to BeagleBoard

Hi All,

I am using Pocket beaglebone, Debian 9.2, Ethernet W5500-SPI1, Cross compiler "arm-cortexa8-linux-gnueabihf-gcc"

I want SSL TCP communication with server IP (49.248.XX.XX).

I am able to communicate with server without SSL.

But, for SSL I am adding header file 


#include <openssl/ssl.h>
#include <openssl/err.h>

and after adding this header file when I compile code it is showing error 

"fatal error: openssl/ssl.h: No such file or directory"

I don't know what is happening and how to resolve this.

Thanks.....


  





Robert Nelson

unread,
Sep 10, 2018, 10:29:14 AM9/10/18
to Beagle Board, di...@devtechm2m.com

di...@devtechm2m.com

unread,
Sep 11, 2018, 8:12:59 AM9/11/18
to BeagleBoard













 Yes, I have done installation already.

Snippet given below.


dipak@dipak-desktop:~$ sudo apt-get install libssl-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libssl-dev is already the newest version.
The following packages were automatically installed and are no longer required:
  account-plugin-windows-live libllvm3.5 libntdb1 libupstart1
  linux-headers-3.16.0-30 linux-headers-3.16.0-30-generic
  linux-image-3.16.0-30-generic linux-image-4.4.0-104-generic
  linux-image-extra-3.16.0-30-generic linux-image-extra-4.4.0-104-generic
  linux-image-generic-lts-xenial python-ntdb thermald
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 13 not upgraded.
dipak@dipak-desktop:~$ 
Reply all
Reply to author
Forward
0 new messages