On Wed, Nov 21, 2012 at 4:58 AM, Vadim Peretokin <vpereto...@gmail.com> wrote:
>
> Hi,
>
> Having troubles with luasec installing, even when I'm giving it the right
> dir:
>
>
> vadi@gooseberry:~$ sudo luarocks install luasec
> OPENSSL_DIR=/usr/lib/x86_64-linux-gnu
> Installing http://luarocks.org/repositories/rocks/luasec-0.4-4.src.rock...
> Using http://luarocks.org/repositories/rocks/luasec-0.4-4.src.rock...
> switching to 'build' mode
>
> Error: Could not find expected file libssl.a, or libssl.so, or libssl.so.*
> for OPENSSL -- you may have to install OPENSSL in your system and/or pass
> OPENSSL_DIR or OPENSSL_LIBDIR to the luarocks command. Example: luarocks
> install luasec OPENSSL_DIR=/usr/local
> vadi@gooseberry:~$ ls /usr/lib/x86_64-linux-gnu | grep libssl
> libssl3.so
> libssl3.so.1d
> libssl.a
> libssl.so
> vadi@gooseberry:~$
>
>
> Anything obvious I'm missing?

OPENSSL_DIR refers to a "prefix" directory. Use OPENSSL_LIBDIR to pass
the full libraries dir

sudo luarocks install luasec OPENSSL_LIBDIR=/usr/lib/x86_64-linux-gnu

-- Hisham
http://hisham.hm/

------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Luarocks-developers mailing list
Luarocks-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to