goaccess: [error] configure: error: ssl library missing

Hi, I’m trying to run GoAccess with HTTPS but I can’t even compile it in a Docker container because it shows the error:

configure: error: ssl library missing

I already have the libssl-dev installed but when I try to compile my container it prints that error.

I added the --with-openssl in the configuration: https://goaccess.io/man#configuration

If I remove it, it compiles correctly but I can’t use this without SSL support.

PS: I’m using the 1.2 version

Thanks for your support.

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 20 (9 by maintainers)

Most upvoted comments

Thanks for all your support @allinurl, at the end we cannot fix it from development/source or from 1.2 release, we used the GoAccess as a container using the volumes, so we include the volume on the access.log from the Nginx container, and then we included that access.log as a volume to the GoAccess container, so we can read it from there and after that, we included the report.html from the GoAccess container to the Nginx container, so both are reading using volumes and with that we fixed it and we can use it now with SSL support since we were able to connect to the GoAccess container in that way.

We cannot fix it at a server-level or included it inside the Nginx container but with those volumes, we did the trick.

I close this, but if someone have the same issue, I hope this can help.

Unfortunately can’t replicate this from my side. I built it again and it worked well:

./configure --enable-utf8 --with-openssl

Machine:

$ uname -a
Linux user 4.15.0-22-generic #24-Ubuntu SMP Wed May 16 18:15:17 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

libssl:

$ apt-cache policy libssl-dev
libssl-dev:
  Installed: 1.1.0g-2ubuntu4
  Candidate: 1.1.0g-2ubuntu4
  Version table:
 *** 1.1.0g-2ubuntu4 500
        500 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
        100 /var/lib/dpkg/status

Here’s where libssl lives on the machine:

/usr/lib/x86_64-linux-gnu/libssl.a
/usr/lib/x86_64-linux-gnu/libssl.so
/usr/lib/x86_64-linux-gnu/libssl.so.1.0.0
/usr/lib/x86_64-linux-gnu/libssl.so.1.1
/usr/lib/x86_64-linux-gnu/libssl3.so