far2l
far2l copied to clipboard
How to disable ssl?
I ve got some problem when compiling with Opessl. I dont want to locate the problem, just tell me how to disable connections to opensll?
~/far2l$ apt install libssl-dev
[sudo] password for ravil:
Reading package lists... Done
Building dependency tree
Reading state information... Done
libssl-dev is already the newest version (1.1.1f-1ubuntu2.23).
The following packages were automatically installed and are no longer required:
linux-headers-5.4.0-200 linux-headers-5.4.0-200-generic linux-image-5.4.0-200-generic
linux-modules-5.4.0-200-generic linux-modules-extra-5.4.0-200-generic
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
~/far2l$ apt install libssh-dev Reading package lists... Done Building dependency tree Reading state information... Done libssh-dev is already the newest version (0.9.3-2ubuntu2.5). The following packages were automatically installed and are no longer required: linux-headers-5.4.0-200 linux-headers-5.4.0-200-generic linux-image-5.4.0-200-generic linux-modules-5.4.0-200-generic linux-modules-extra-5.4.0-200-generic Use 'sudo apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
/usr/bin/ld: CMakeFiles/NetRocks-FTP.dir/src/Protocol/FTP/FTPConnection.cpp.o: in function `OpenSSLConte
xt::sNewClientSessionCB(ssl_st*, ssl_session_st*)':
FTPConnection.cpp:(.text._ZN14OpenSSLContext19sNewClientSessionCBEP6ssl_stP14ssl_session_st+0x3c): undef
ined reference to `SSL_SESSION_up_ref'
/usr/bin/ld: CMakeFiles/NetRocks-FTP.dir/src/Protocol/FTP/FTPConnection.cpp.o: in function `OpenSSLConte
xt::OpenSSLContext(StringConfig const&)':
FTPConnection.cpp:(.text._ZN14OpenSSLContextC2ERK12StringConfig+0x52): undefined reference to `TLS_clien
t_method'
/usr/bin/ld: FTPConnection.cpp:(.text._ZN14OpenSSLContextC2ERK12StringConfig+0x9a): undefined reference
to `SSL_CTX_set_options'
/usr/bin/ld: FTPConnection.cpp:(.text._ZN14OpenSSLContextC2ERK12StringConfig+0xa5): undefined reference
to `SSL_CTX_set_options'
/usr/bin/ld: FTPConnection.cpp:(.text._ZN14OpenSSLContextC2ERK12StringConfig+0xff): undefined reference
to `SSL_CTX_set_options'
/usr/bin/ld: FTPConnection.cpp:(.text._ZN14OpenSSLContextC2ERK12StringConfig+0x10d): undefined reference
to `SSL_CTX_set_options'
/usr/bin/ld: FTPConnection.cpp:(.text._ZN14OpenSSLContextC2ERK12StringConfig+0x125): undefined reference
to `OPENSSL_init_ssl'
/usr/bin/ld: FTPConnection.cpp:(.text._ZN14OpenSSLContextC2ERK12StringConfig+0x134): undefined reference
to `OPENSSL_init_ssl'
/usr/bin/ld: FTPConnection.cpp:(.text._ZN14OpenSSLContextC2ERK12StringConfig+0x189): undefined reference
to `OPENSSL_init_ssl'
/usr/bin/ld: FTPConnection.cpp:(.text._ZN14OpenSSLContextC2ERK12StringConfig+0x198): undefined reference
to `OPENSSL_init_ssl'
collect2: error: ld returned 1 exit status
make[2]: *** [NetRocks/CMakeFiles/NetRocks-FTP.dir/build.make:196: install/Plugins/NetRocks/plug/NetRock
s-FTP.broker] Error 1
make[1]: *** [CMakeFiles/Makefile2:1326: NetRocks/CMakeFiles/NetRocks-FTP.dir/all] Error 2
make: *** [Makefile:156: all] Error 2