-
Notifications
You must be signed in to change notification settings - Fork 38
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
Poco issue compiling on linux (SOLVED) #54
Comments
Hi there -- what version of Linux are you using? It looks like a Poco problem. |
Im on manjaro
On Thu, Feb 27, 2020 at 3:24 PM Christopher Baker ***@***.***> wrote:
Hi there -- what version of Linux are you using? It looks like a Poco
problem.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#54?email_source=notifications&email_token=AARIVECCIKRLLL5KUIVPKTTRFAOPRA5CNFSM4K462P42YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENF2I3Q#issuecomment-592159854>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AARIVEBO3X2NWLI5UX4FYW3RFAOPRANCNFSM4K462P4Q>
.
--
d-.-b
|
Hm. I am trying to compile on an up-to-date version of ubuntu and I'm getting these same errors. @arturoc - do you have any tips for getting Poco and SSL to work together again? I tested with the current stable and master versions of OF and got the same issues. I believe the install scripts are set up to use the system Poco. |
I am experiencing a similar issue. I just fixed the linker dependencies and tried to compile again after
|
Hi, I think the problem is that the Poco version included in ofxPoco is not compatible with SSL 1.1. (only with 1.0) |
update on this. I change dthe ofxPoco config.mk as suggested by arturo here. I also ran the apothecary script to extract the Poco headers from a fresh version of Poco.
|
I solved this by:
hope it helps |
@jucajuca Thank you for this solution -- I think a lot of people have been running into this problem (including me!). I'm going to leave this issue open for now and so others might find it. |
I've had somewhat similar issues trying to compile ofxHTTP on Ubuntu 20.04 - linker errors, which seemed odd as the missing functions seemed to be in the source code under apothecary but the .a libs weren't picking them up. Anyway I got tired of trying to figure out what was going on and did what was suggested here - falling back to the system libpoco-dev libraries....and this fixed it. By the way this plagues ofxRunway as well, which depends on ofxHTTP....that's where I initially encountered it. This isn't an ideal solution, so I might go back later and try and do more diagnostics. |
hey so i got this issue when trying to compile ofxhttp example advance client get
/home/jacos/OF11/addons/ofxPoco/libs/poco/lib/linux64/libPocoCrypto.a(DigestEngine.o):DigestEngine.cpp:function Poco::Crypto::DigestEngine::~DigestEngine(): error: undefined reference to 'EVP_MD_CTX_destroy' /home/jacos/OF11/addons/ofxPoco/libs/poco/lib/linux64/libPocoCrypto.a(DigestEngine.o):DigestEngine.cpp:function Poco::Crypto::DigestEngine::reset(): error: undefined reference to 'EVP_MD_CTX_cleanup' /home/jacos/OF11/addons/ofxPoco/libs/poco/lib/linux64/libPocoCrypto.a(DigestEngine.o):DigestEngine.cpp:function Poco::Crypto::DigestEngine::DigestEngine(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&): error: undefined reference to 'EVP_MD_CTX_create' /home/jacos/OF11/addons/ofxPoco/libs/poco/lib/linux64/libPocoCrypto.a(OpenSSLInitializer.o):OpenSSLInitializer.cpp:function Poco::Crypto::OpenSSLInitializer::uninitialize(): error: undefined reference to 'EVP_cleanup' /home/jacos/OF11/addons/ofxPoco/libs/poco/lib/linux64/libPocoCrypto.a(OpenSSLInitializer.o):OpenSSLInitializer.cpp:function Poco::Crypto::OpenSSLInitializer::uninitialize(): error: undefined reference to 'ERR_free_strings' /home/jacos/OF11/addons/ofxPoco/libs/poco/lib/linux64/libPocoCrypto.a(OpenSSLInitializer.o):OpenSSLInitializer.cpp:function Poco::Crypto::OpenSSLInitializer::uninitialize(): error: undefined reference to 'CRYPTO_set_locking_callback' /home/jacos/OF11/addons/ofxPoco/libs/poco/lib/linux64/libPocoCrypto.a(OpenSSLInitializer.o):OpenSSLInitializer.cpp:function Poco::Crypto::OpenSSLInitializer::uninitialize(): error: undefined reference to 'CRYPTO_set_id_callback' /home/jacos/OF11/addons/ofxPoco/libs/poco/lib/linux64/libPocoCrypto.a(OpenSSLInitializer.o):OpenSSLInitializer.cpp:function Poco::Crypto::OpenSSLInitializer::initialize(): error: undefined reference to 'SSL_library_init' /home/jacos/OF11/addons/ofxPoco/libs/poco/lib/linux64/libPocoCrypto.a(OpenSSLInitializer.o):OpenSSLInitializer.cpp:function Poco::Crypto::OpenSSLInitializer::initialize(): error: undefined reference to 'SSL_load_error_strings' /home/jacos/OF11/addons/ofxPoco/libs/poco/lib/linux64/libPocoCrypto.a(OpenSSLInitializer.o):OpenSSLInitializer.cpp:function Poco::Crypto::OpenSSLInitializer::initialize(): error: undefined reference to 'OPENSSL_add_all_algorithms_noconf' /home/jacos/OF11/addons/ofxPoco/libs/poco/lib/linux64/libPocoCrypto.a(OpenSSLInitializer.o):OpenSSLInitializer.cpp:function Poco::Crypto::OpenSSLInitializer::initialize(): error: undefined reference to 'CRYPTO_num_locks' /home/jacos/OF11/addons/ofxPoco/libs/poco/lib/linux64/libPocoCrypto.a(OpenSSLInitializer.o):OpenSSLInitializer.cpp:function Poco::Crypto::OpenSSLInitializer::initialize(): error: undefined reference to 'CRYPTO_set_locking_callback' /home/jacos/OF11/addons/ofxPoco/libs/poco/lib/linux64/libPocoCrypto.a(OpenSSLInitializer.o):OpenSSLInitializer.cpp:function Poco::Crypto::OpenSSLInitializer::initialize(): error: undefined reference to 'CRYPTO_set_id_callback' /home/jacos/OF11/addons/ofxPoco/libs/poco/lib/linux64/libPocoCrypto.a(OpenSSLInitializer.o):OpenSSLInitializer.cpp:function Poco::Crypto::OpenSSLInitializer::initialize(): error: undefined reference to 'CRYPTO_set_dynlock_create_callback' /home/jacos/OF11/addons/ofxPoco/libs/poco/lib/linux64/libPocoCrypto.a(OpenSSLInitializer.o):OpenSSLInitializer.cpp:function Poco::Crypto::OpenSSLInitializer::initialize(): error: undefined reference to 'CRYPTO_set_dynlock_lock_callback' /home/jacos/OF11/addons/ofxPoco/libs/poco/lib/linux64/libPocoCrypto.a(OpenSSLInitializer.o):OpenSSLInitializer.cpp:function Poco::Crypto::OpenSSLInitializer::initialize(): error: undefined reference to 'CRYPTO_set_dynlock_destroy_callback' /home/jacos/OF11/addons/ofxPoco/libs/poco/lib/linux64/libPocoCrypto.a(OpenSSLInitializer.o):OpenSSLInitializer.cpp:function Poco::Crypto::OpenSSLInitializer::uninitialize(): error: undefined reference to 'CONF_modules_free' /home/jacos/OF11/addons/ofxPoco/libs/poco/lib/linux64/libPocoNetSSL.a(Context.o):Context.cpp:function Poco::Net::Context::createSSLContext(): error: undefined reference to 'SSLv23_client_method' /home/jacos/OF11/addons/ofxPoco/libs/poco/lib/linux64/libPocoNetSSL.a(Context.o):Context.cpp:function Poco::Net::Context::createSSLContext(): error: undefined reference to 'SSLv23_server_method' collect2: error: ld returned 1 exit status make[1]: *** [/home/jacos/OF11/libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:405: bin/example_advanced_client_get] Error 1 make[1]: Leaving directory '/home/jacos/OF11/addons/ofxHTTP/example_advanced_client_get' make: *** [/home/jacos/OF11/libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:129: Release] Error 2
The text was updated successfully, but these errors were encountered: