Friday, September 4, 2020

Compiling NXLog CE 2.10.2150 and the dreaded -lcrypto error

Just two days was the time I had to mess around with to figure out what the problem was, sometimes this is not intuitive but it goes to tell you to be careful in what you are doing and what packages you are using to compile.

For whatever reason this worked in CentOS 7, which intrigued and bothered me at the same time because I had done this in Debian.

Now you may be wondering, why would you need to compile it in Debian? Because I have two Raspberry Pi which I use to capture and move logs around, so right now I am intrigued since I know this can be done.

My main issue was an error that mentioned -lcrypto not found, but I have the ssl dev package installed, what gives?

No, turns out I had the wrong package installed and there is no reference to this anywhere, I even compiled OpenSSL from the source code to test this out.

So to cut this short, this should be the list of packages you need to compile this from source in Debian or Ubuntu at the 2.10.2150 version.

If you got any problems with that let me know, also remember that you may need to add contrib and non-free to your repositories.

Debian Compilation of NXLog

apt install build-essential libapr1-dev libpcre3-dev libssl1.0-dev libexpat1-dev

No comments:

Post a Comment

Installing OSSEC 3.7.0 on Debian 11 (Bullseye) How-To

Now that version 3.7.0 has been released I took another deep dive into how this is compiled from Source, as usual I brought this onto me bec...