I'm trying to install the lualdap via luarocks with sudo luarocks install lualdap
, but I am greeted with
Installing https://luarocks.org/lualdap-1.2.4.rc1-0.src.rock
Error: Could not find header file for LBER
No file lber.h in /usr/local/include
You may have to install LBER in your system and/or pass LBER_DIR or LBER_INCDIR to the luarocks command.
Example: luarocks install lualdap LBER_DIR=/usr/local
LBER_DIR=/usr/local
parameter. I've looked around for what rock file I need to download to get this lber.h file, but am not having any luck with it. How can I get this lber.h file?
lber.h
is not a file specific to Lua, but part of a library that needs to be installed on your system in order for the lualdap
rock to be compiled.
On Ubuntu-like systems, you can install it with:
sudo apt-get install libldap2-dev