Hisham,
Thanks - it compiles! However, it is not working with my Openresty
instance (Lua compiled into NginX). Here is the error that I get when I
"require 'uuid'" in nginx.conf:
nginx: [error] failed to run init_by_lua*: error loading module 'uuid' from
file '/usr/local/lib/lua/5.1/uuid.so':
dlopen(/usr/local/lib/lua/5.1/uuid.so, 6): Symbol not found: _uuid_time
Referenced from: /usr/local/lib/lua/5.1/uuid.so
Expected in: dynamic lookup
I have verified that uuid.so is there.
Any advice?
Thanks!
On Mon, May 20, 2013 at 1:04 PM, Hisham <h...@hisham.hm> wrote:
> On 20 May 2013 12:30, Scott Switzer <sc...@switzer.org> wrote:
> > Hi -
> >
> > I am having trouble installing libuuid on my mac using Luarocks. Here is
> > what I have done:
> >
> > brew install luarocks (works, and installs lua as a dependency)
> > luarocks install luuid (fails, complaining that there is no libuuid)
> > brew install ossp-uuid (works, and installs libuuid)
> > luarocks install luuid LIBUUID_LIBDIR=/usr/local/opt/ossp-uuid/lib
> (fails,
> > saying that there is no uuid.so)
> >
> > I am at a loss at what to do next. Your input is much appreciated! My
> full
> > stack trace is below.
> >
> > https://gist.github.com/switzer/5612958
>
> Thanks for the report and detailed trace (it was helpful!). There was
> an error in the rockspec. I just uploaded an updated version. (You may
> need to pass LIBUUID_DIR=/usr/local/opt/ossp-uuid/ to luarocks
> instead, so it also finds the include directory.)
>
> -- Hisham
> http://hisham.hm/
>
>
> ------------------------------------------------------------------------------
> AlienVault Unified Security Management (USM) platform delivers complete
> security visibility with the essential security capabilities. Easily and
> efficiently configure, manage, and operate all of your security controls
> from a single console and one unified framework. Download a free trial.
> http://p.sf.net/sfu/alienvault_d2d
> _______________________________________________
> Luarocks-developers mailing list
> Luarocks-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/luarocks-developers
>
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
Luarocks-developers mailing list
Luarocks-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/luarocks-developers