[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: A problem with OpenSSL when installing luacrypto
- From: luciano de souza <luchyanus@...>
- Date: Thu, 26 Feb 2015 12:00:04 -0300
Oh! The problem is solved. Adding the repositories of Ubuntu in my
Triskel 7.0, I was able to install openssl.
$ sudo apt-get install libssl1.0.0 libssl-dev
I could not run Lapis example, but problem the server was not embeded.
So I need to read more and find how to configure the server.
2015-02-26 11:15 GMT-03:00, luciano de souza <luchyanus@gmail.com>:
> Hello all,
>
> I have installed lapis:
>
> $ sudo luarocks install lapis
>
> After running a example code, I notice that crypto.so is from sources:
>
> $ cd ~/openssl
> $ sudo chmod +x config
> $ ./config
> $ sudo make
> $ sudo make test
> $ sudo make install
>
> Openssl is seemingly installed. So I tried:
>
> $ sudo luarocks install luacrypto
>
> I got the following error:
>
> Warning: falling back to wget - install luasec to get native HTTPS support
>
> Error: Could not find expected file openssl/evp.h, or openssl/evp.h
> for OPENSSL -- you may have to install OPENSSL in your system and/or
> pass OPENSSL_DIR or OPENSSL_INCDIR to the luarocks command. Example:
> luarocks install luacrypto OPENSSL_DIR=/usr/local
>
> $ sudo luarocks install luacrypto
> OPENSSL_DIR=/home/luciano/Downloads/openssl-1.0.2/include/openssl
>
> I got a fail. Perhaps it expects not the include directory, but the
> installed openssl directory.
>
> I could not find it in /usr/share, in /usr/local/share... Actually, I
> like so much Luarocks precisely to not have to compile sources
> manually.
>
> Does someone have any ideia how to solve this problem?
>
> Best regards,
>
> --
> Luciano de Souza
>
--
Luciano de Souza