New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not compile on Debian Stretch with libssl-dev:amd64 1.1.0f-3+deb9u1 - WORKAROUND #6

Closed
emeidi opened this Issue Dec 3, 2017 · 1 comment

Comments

Projects
None yet
2 participants
@emeidi
Copy link

emeidi commented Dec 3, 2017

Error message when compiling:

configure:3567: gcc -o conftest -g -O2   conftest.c -lssl  -lcrypto  >&5
/tmp/cccBprK6.o: In function `main':
/usr/local/apps/pixelserv/src-new/conftest.c:23: undefined reference to `SSL_library_init'
collect2: error: ld returned 1 exit status

Adjust configure.ac — replace "SSL_library_init" with "SSL_CTX_new":

...
 8 AC_CHECK_LIB([ssl], [SSL_CTX_new], [],
 9         AC_MSG_FAILURE([can't find openssl ssl lib]))
...

As described here:

allinurl/goaccess#591
allinurl/goaccess#771
allinurl/goaccess@4152916

@kvic-z

This comment has been minimized.

Copy link
Owner

kvic-z commented Dec 3, 2017

Thanks!

Added your fix in 428d2f

@kvic-z kvic-z closed this Dec 11, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment