SSL with IdPOP3 of Indy lazarus / 38-Networking and Web Programming ---------------------------------------------------------------------- everton · 2011-10-20 15:53 I'm geting the following error: "Can't load library." By the code:     IdSSLIOHandler.SSLOptions.Method := sslvSSLv2;     IdSSLIOHandler.SSLOptions.Mode := sslmClient;     IdSSLIOHandler.SSLOptions.VerifyMode := [];     IdSSLIOHandler.SSLOptions.VerifyDepth := 0;     IdPOP3.Host := 'pop.gmail.com';     IdPOP3.Username := usuario;     IdPOP3.Password := senha;     IdPOP3.Port := 995;     IdPOP3.IOHandler := IdSSLIOHandler;     IdPOP3.Connect; ---------------------------------------------------------------------- everton · 2011-10-20 15:54 I'm on linux and I've put inside the app folder the librarys: libcrypto.so and libssl.so and still can't load. ---------------------------------------------------------------------- everton · 2011-10-20 15:56 Anyone knows what to do to make the Indy POP3 work with SSL in linux? ---------------------------------------------------------------------- BigChimp · 2011-10-20 15:57 Quote from: everton on October 20, 2011, 05:54:55 pmI'm on linux and I've put inside the app folder the librarys: libcrypto.so and libssl.so and still can't load. Putting your .dlls/.sos in your app folder works on Windows, not on Linux. You'd need to put them in the library search path, or modify the search path, or load them with (IIRC) LoadLibrary.. ---------------------------------------------------------------------- everton · 2011-10-20 16:11 The files are too in /lib/x86_64-linux-gnu Is suppose to work like that? ---------------------------------------------------------------------- BigChimp · 2011-10-20 16:39 Don't know, no experience with indy.... (or FPC on Linux, that much) ---------------------------------------------------------------------- otorres · 2011-10-20 16:41 Install OpenSSL Lite for Linux. ---------------------------------------------------------------------- everton · 2011-10-20 16:46 The SSL are already instaled. The files are there. But the Indy can't load. ---------------------------------------------------------------------- otorres · 2011-10-20 16:52 Try using LNet, if this works fine, the problem is the call used for Indy to the library.