0

I am installing the Aure IOT hub on a beagle bone board. During the installation I see an error of Cmake mentioning that Cmake is not able to find the OpenSSL library and directory path.

I followed couple of posts on Stack Overflow, they mentioned about adding the path manually to Cmake using the -D option (-DOPENSSL_ROOT_DIR=/usr/local/ssl), but I am not able to find that path (/usr/local/ssl) to OpenSSL on my beagle bone. I see only an SSL folder in /etc, also I do not see the lib folder in /etc/ssl which is needed to add the SSL library path (-DOPENSSL_LIBRARIES=/usr/local/ssl/lib).

Please guide me in resolving this issue.

Thanks

rohit
  • 21
  • 7
  • `I see only an SSL folder in /etc, but I need the lib folder also.` - You need SSl *development* package, as usual. – Tsyvarev Jan 18 '18 at 15:55
  • Have you checked [this tutorial](https://github.com/Azure/azure-iot-device-ecosystem/blob/master/get_started/debian-beaglebone-black-c.md#31-build-sdk-and-sample) and installed OpenSSL library? – Rita Han Jan 19 '18 at 05:37
  • @RitaHan-MSFT yes that is correct, I am following that tutorial to install Azure IoT SDK on my beaglebone. It is so much frustrating to see that OpenSSL error. – rohit Jan 19 '18 at 14:47
  • @Tsyvarev how can I install the SSL development package and will it help in resolving the CMAKE errors ? – rohit Jan 19 '18 at 14:48
  • @RitaHan-MSFT Yes I have installed OpenSSL from the build steps mentioned in the link. – rohit Jan 19 '18 at 15:33
  • 1
    From the related posts I found an answer which worked for getting rid of the OpenSSL error `sudo apt-get install libssl-dev`. – rohit Jan 21 '18 at 17:28
  • I finally resolved this issue by installing uuid-dev and libssl-dev packages on my beaglebone black board. – rohit Feb 02 '18 at 15:45

0 Answers0