Qt wiki will be updated on October 12th 2023 starting at 11:30 AM (EEST) and the maintenance will last around 2-3 hours. During the maintenance the site will be unavailable.
Talk:Raspberry Pi Beginners Guide: Difference between revisions
No edit summary |
(Enable OpenSSL for Raspberry Pi) |
||
Line 1: | Line 1: | ||
I just want to add some additional hint. Raspbian doesn't come with the development libraries for openSSL (libssl-dev), so you won't have support for this functionality. | I just want to add some additional hint. Raspbian doesn't come with the development libraries for openSSL (libssl-dev), so you won't have support for this functionality. | ||
What does it mean in practice? You won't be able to use classes like QSslSocket, QSslConfiguration, etc.. | What does it mean in practice? You won't be able to use classes like QSslSocket, QSslConfiguration, etc.. | ||
Line 14: | Line 15: | ||
Turn off your RPi, remove the SD card and mount it in your computer. Then create the new image: | Turn off your RPi, remove the SD card and mount it in your computer. Then create the new image: | ||
~/opt$ dd bs=1M if=/dev/sdb of=raspbian-openssl.img | ~/opt$ dd bs=1M if=/dev/'''sdb''' of=raspbian-openssl.img | ||
~/opt$ sync | ~/opt$ sync | ||
From now you will need to use: raspbian-openssl.img instead of the original 2015-02-16-raspbian-wheezy.img | From now you will need to use: ''raspbian-openssl.img'' instead of the original ''2015-02-16-raspbian-wheezy.img | ||
'' |
Revision as of 07:21, 5 May 2015
I just want to add some additional hint. Raspbian doesn't come with the development libraries for openSSL (libssl-dev), so you won't have support for this functionality.
What does it mean in practice? You won't be able to use classes like QSslSocket, QSslConfiguration, etc..
To correct this problem, you just have to follow the procedure explained below to update your Raspbian OS image:
Copy Raspbian image to your FAT32 formatted SD card:
sudo dd bs=1M if=2015-02-16-raspbian-wheezy.img of=/dev/sdb (sdb might be different in your case) sync
Start up your Raspberry Pi, upgrade Raspbian and install OpenSSL-dev:
pi$ sudo apt-get update pi$ sudo apt-get upgrade pi$ sudo apt-get install libssl-dev
Turn off your RPi, remove the SD card and mount it in your computer. Then create the new image:
~/opt$ dd bs=1M if=/dev/sdb of=raspbian-openssl.img ~/opt$ sync
From now you will need to use: raspbian-openssl.img instead of the original 2015-02-16-raspbian-wheezy.img