mirror of
https://github.com/ctruLua/ctruLua.git
synced 2025-10-28 08:49:30 +00:00
Moved lzlib to the libs directory (cleaner)
This commit is contained in:
parent
406e17d321
commit
4aad32d5ab
23 changed files with 2593 additions and 991 deletions
23
libs/lzlib/rockspec/INSTALL
Normal file
23
libs/lzlib/rockspec/INSTALL
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
Installation
|
||||
------------
|
||||
|
||||
luarocks build lzlib-git-1.rockspec
|
||||
|
||||
|
||||
Troubleshooting
|
||||
---------------
|
||||
|
||||
* Error: Could not find expected file libz.a, or libz.so, or libz.so.*
|
||||
for ZLIB -- you may have to install ZLIB in your system and/or pass
|
||||
ZLIB_DIR or ZLIB_LIBDIR to the luarocks command. Example: luarocks
|
||||
install lzlib ZLIB_DIR=/usr/local
|
||||
|
||||
lzlib has a dependency on zlib, and currently (on Linux) LuaRocks
|
||||
checks .so file existence by searching for the file in two hardcoded
|
||||
paths, /usr/lib and /usr/local/lib. (instead of reading
|
||||
/etc/ld.so.conf)
|
||||
|
||||
Try to locate libz.so, libz.a or libz.dll and re-run the command
|
||||
with ZLIB_LIBDIR=/path/to/libz.so. In my case on Ubuntu 12.04 :
|
||||
|
||||
luarocks build --local lzlib-git-1.rockspec ZLIB_LIBDIR=/lib/x86_64-linux-gnu/
|
||||
Loading…
Add table
Add a link
Reference in a new issue