[Libwebsockets] Compiling on ARM - Missing OpenSSL

Andy Green andy at warmcat.com
Fri Sep 21 19:55:19 CEST 2018



On September 22, 2018 1:20:35 AM GMT+08:00, Stefano Mora <stefano.mora at newdep.com> wrote:
>Hi everybody,
>I'm trying to compile the library on a device running Linaro OS (Ubuntu
>stretch) and an ARM processor.
>I cloned the sources and followed the instructions (I've already
>compiled it on an AMD64 Ubuntu machine...).
>I installed the OpenSSL library (I can run openssl command).
>When I launch the 'cmake ..' command after a while I receive the error
>that says that OPENSSL system variables are missing.
>
>In a terminal I typed 'dpkg-query --list opens*' and I see the
>following packages:
>Openssh-client, openssl-server, openssh-sftp-server, openssh.
>
>The only diffence is that on the device filesystem the
>/usr/include/openssl dir is missing .. but I don't know how to install
>it.

... you need to install the related -dev packages for openssl (openssh is completely unrelated).

Assuming the key word you mentioned is 'stretch', then that will be a package "libssl-dev"

https://packages.debian.org/stretch/libssl-dev

-Andy

>Thanks!
>_______________________________________________
>Libwebsockets mailing list
>Libwebsockets at ml.libwebsockets.org
>https://libwebsockets.org/mailman/listinfo/libwebsockets


More information about the Libwebsockets mailing list