From 3dc7389e17245796a1cc35555a22fb3567008dd7 Mon Sep 17 00:00:00 2001 From: Mars Date: Fri, 29 Jan 2016 10:16:37 -0800 Subject: Explain the `libuuid` requirement. --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index ee80f5d..51142b3 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,20 @@ Lua library that generate UUIDs leveraging [libuuid](http://linux.die.net/man/3/libuuid). +## Requirements + +The `uuid/uuid.h` header must be available in the system `INCLUDE_PATH`, otherwise you will hit an error like: + +> ld: library not found for -luuid +> … +> Failed compiling module lua_uuid.so + +* Mac OS X + * `brew install ossp-uuid` +* Debian Linux; Ubuntu + * `apt-get install uuid-dev` + + ## Usage To generate a new UUID string: -- cgit v1.2.3-54-g00ecf