Recent

Author Topic: INet, Synapse and OpenSSl  (Read 4804 times)

user5

  • Sr. Member
  • ****
  • Posts: 357
INet, Synapse and OpenSSl
« on: September 21, 2016, 10:44:13 pm »
Every time I try to run INet or Synapse programs I get an exception error message that says to check the openssl installation, even though I had installed Win32OpenSSL-1.1.0.

I have to use a binary installer since I don't have a C compiler or the time to use one.

Am I using the wrong OpenSSl installer? I put libeay32.dll and ssleay32.dll in the Windows system32 folder but it didn't help.

Is there another communications system as good as INet or Synapse that doesn't use OpenSSl, which I might try?

Maybe I don't need them at all, I don't know. I'm trying to learn how to do client/host, machine to machine stuff but I can't even get anything to work.

rvk

  • Hero Member
  • *****
  • Posts: 6163
Re: INet, Synapse and OpenSSl
« Reply #1 on: September 21, 2016, 11:01:55 pm »
The first question is what version OS, 32 bit or 64 bit?
The second question is what version of Lazarus, 32 bit or 64 bit?

You mixing your bitness all over the place.
If you put the dll from a win32 zip into the C:\Windows\System32 on a 64 bit OS, you're putting it in the wrong place. the C:\Windows\System32 is for 64 bit dlls only !!

32bit dlls go in C:\Windows\SysWOW64 on a 64 bit system.

And if you use the 64 bit of Lazarus you'll need the Win64 OpenSSL v1.1.0 files and put them in C:\Windows\System32.

(You could also put the correct bitness dlls in your program/.exe directory but not everyone agrees with this :) )
« Last Edit: September 21, 2016, 11:03:44 pm by rvk »

Phil

  • Hero Member
  • *****
  • Posts: 2737
Re: INet, Synapse and OpenSSl
« Reply #2 on: September 21, 2016, 11:11:33 pm »
I have to use a binary installer

If you used an installer like from here:

http://slproweb.com/products/Win32OpenSSL.html

then the dlls are already in the correct location.

Note that if you don't want to run an installer and/or don't want to tamper with system directories (eg, on your users' computers), just put them on the path somewhere. You can get the dlls from here:

http://indy.fulgan.com/SSL

lainz

  • Hero Member
  • *****
  • Posts: 4468
    • https://lainz.github.io/
Re: INet, Synapse and OpenSSl
« Reply #3 on: September 21, 2016, 11:58:26 pm »
Strange I downloaded the setup from slproweb and it just unpacked the files in "C:\OpenSSL-Win32" not in the system as I expected.

BeniBela

  • Hero Member
  • *****
  • Posts: 906
    • homepage
Re: INet, Synapse and OpenSSl
« Reply #4 on: September 22, 2016, 01:31:39 am »
My Internet Tools do not need openSSL on Windows

Remy Lebeau

  • Hero Member
  • *****
  • Posts: 1314
    • Lebeau Software
Re: INet, Synapse and OpenSSl
« Reply #5 on: September 29, 2016, 04:08:57 am »
Every time I try to run INet or Synapse programs I get an exception error message that says to check the openssl installation, even though I had installed Win32OpenSSL-1.1.0.

Does INet or Synapse support OpenSSL 1.1.0 to begin with?  1.1.0 introduces some major API breakages, and even uses different library filenames than earlier versions.  Have you tried using 1.0.2 yet?
Remy Lebeau
Lebeau Software - Owner, Developer
Internet Direct (Indy) - Admin, Developer (Support forum)

Elliot

  • Newbie
  • Posts: 1
Re: INet, Synapse and OpenSSl
« Reply #6 on: April 14, 2023, 04:37:10 pm »
Neither lNet nor BeniBela's Internet Tools work for me...  :(

My Config: Lazarus 2.2.4, FPC 3.2.2, x86_64-win64-win32/win64
My ....: Windows 10 Pro, 10.0.19045 Build 19045,  22H2
« Last Edit: April 14, 2023, 04:45:52 pm by Elliot »

Jurassic Pork

  • Hero Member
  • *****
  • Posts: 1228
Re: INet, Synapse and OpenSSl
« Reply #7 on: April 14, 2023, 05:14:50 pm »
Hello,
Neither lNet nor BeniBela's Internet Tools work for me...  :(

My Config: Lazarus 2.2.4, FPC 3.2.2, x86_64-win64-win32/win64
My ....: Windows 10 Pro, 10.0.19045 Build 19045,  22H2
have you the right dlls ?
see here (sorry it is in french language)
Friendly, J.P
Jurassic computer : Sinclair ZX81 - Zilog Z80A à 3,25 MHz - RAM 1 Ko - ROM 8 Ko

 

TinyPortal © 2005-2018