Fails to build without openssl #748

Closed
opened 2026-10-05 04:42:28 +02:00 by adam · 2 comments
Owner

End of ./configure's output:

ZNC 1.7.x configured

prefix:       /usr/local
debug:        no
ipv6:         yes
openssl:      no (libssl not found)
dns:          threads
perl:         no
python:       no
swig:         not needed
cyrus:        no
tcl:          no
charset:      no (icu-uc not found via pkg-config)
zlib:         yes
run from src: no

Now you can run "make" to compile ZNC

Afterwards, make gives me:

Building core object Csocket...
src/Csocket.cpp:980:55: error: no 'bool Csock::SNIConfigureClient(CString&)' member function declared in class 'Csock'
 bool Csock::SNIConfigureClient( CS_STRING & sHostname )
                                                       ^
src/Csocket.cpp:1523:8: error: 'SSL_CTX' does not name a type
 static SSL_CTX * GetSSLCTX( int iMethod )
        ^~~~~~~
Makefile:132: recipe for target 'src/Csocket.o' failed
--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/40877879-fails-to-build-without-openssl?utm_campaign=plugin&utm_content=tracker%2F1759&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F1759&utm_medium=issues&utm_source=github).
End of `./configure`'s output: ``` ZNC 1.7.x configured prefix: /usr/local debug: no ipv6: yes openssl: no (libssl not found) dns: threads perl: no python: no swig: not needed cyrus: no tcl: no charset: no (icu-uc not found via pkg-config) zlib: yes run from src: no Now you can run "make" to compile ZNC ``` Afterwards, `make` gives me: ``` Building core object Csocket... src/Csocket.cpp:980:55: error: no 'bool Csock::SNIConfigureClient(CString&)' member function declared in class 'Csock' bool Csock::SNIConfigureClient( CS_STRING & sHostname ) ^ src/Csocket.cpp:1523:8: error: 'SSL_CTX' does not name a type static SSL_CTX * GetSSLCTX( int iMethod ) ^~~~~~~ Makefile:132: recipe for target 'src/Csocket.o' failed ``` <bountysource-plugin> --- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/40877879-fails-to-build-without-openssl?utm_campaign=plugin&utm_content=tracker%2F1759&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F1759&utm_medium=issues&utm_source=github). </bountysource-plugin> <!-- github-sync-id:200315037 -->
adam closed this issue 2026-10-05 04:42:28 +02:00
Author
Owner

@psychon did your commit fix this?

@psychon did your commit fix this? <!-- github-comment-id:298440647 -->
Author
Owner

The one to Csocket? Yes, I guess so, but ZNC's Csocket version was not updated since. Feel free to try it out anyway. ;-)

The one to Csocket? Yes, I guess so, but ZNC's Csocket version was not updated since. Feel free to try it out anyway. ;-) <!-- github-comment-id:298516074 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/znc#748