Page 4 of 6
Re: HMG 3.5
Posted: Tue Nov 17, 2020 12:45 pm
by AUGE_OHR
hi,
have your include SSL Libs
in hmg32.hbc / hmg64.hbc
Code: Select all
libs=hbssl
libs=libeay32
libs=ssleay32
Re: HMG 3.5
Posted: Tue Nov 17, 2020 3:53 pm
by serge_girard
Hi Jimmy,
It wasn't ! Now added but still:
Code: Select all
cannot find -llibeay32
cannot find -lssleay32
Is there a path or something missing?
Serge
Re: HMG 3.5
Posted: Tue Nov 17, 2020 4:48 pm
by Rathinagiri
This is from the changelog of Harbour during 2018-11-16 (exactly 2 years before!)
* contrib/hbssl/bio.c
* contrib/hbssl/err.c
* contrib/hbssl/evp.c
* contrib/hbssl/evpciph.c
* contrib/hbssl/evpenc.c
* contrib/hbssl/evpmd.c
* contrib/hbssl/evppkey.c
* contrib/hbssl/hbssl.ch
* contrib/hbssl/hbssl.h
* contrib/hbssl/hbssl.hbx
* contrib/hbssl/pem.c
* contrib/hbssl/rand.c
* contrib/hbssl/ssl.c
* contrib/hbssl/ssl_hb.c
* contrib/hbssl/ssl_inet.c
* contrib/hbssl/ssl_sock.c
* contrib/hbssl/sslciph.c
* contrib/hbssl/sslctx.c
* contrib/hbssl/sslsess.c
* contrib/hbssl/x509.c
* synced with Viktor's 3.4 branch and updated to OpenSSL 1.1
Now SSL is updated in 1.1 and in this version we don't have libeay32 and ssleay32. That is why you have this problem. Instead we have "liblibssl-1_1.a" and "liblibcrypto-1_1.a" only.
I think in your application also, wherever you are using/referring openssl try to change as specified in the contrib\hbssl\test folder of Harbour.
Re: HMG 3.5
Posted: Tue Nov 17, 2020 8:02 pm
by salamandra
Hi Serge,
serge_girard wrote: ↑Tue Nov 17, 2020 3:53 pm
Hi Jimmy,
It wasn't ! Now added but still:
Code: Select all
cannot find -llibeay32
cannot find -lssleay32
Is there a path or something missing?
Serge
Your sample has compiled and works fine here...
I just needed to add libeay32.dll and ssleay32.dll.
- TEST.rar
- (2.54 MiB) Downloaded 254 times
Best regards,
Salamandra, Brazil
Re: HMG 3.5
Posted: Wed Nov 18, 2020 4:34 am
by Rathinagiri
salamandra wrote: ↑Tue Nov 17, 2020 8:02 pm
Hi Serge,
serge_girard wrote: ↑Tue Nov 17, 2020 3:53 pm
Hi Jimmy,
It wasn't ! Now added but still:
Code: Select all
cannot find -llibeay32
cannot find -lssleay32
Is there a path or something missing?
Serge
Your sample has compiled and works fine here...
I just needed to add libeay32.dll and ssleay32.dll.
TEST.rar
Best regards,
Salamandra, Brazil
Is this done in new version?
Re: HMG 3.5
Posted: Wed Nov 18, 2020 9:34 am
by serge_girard
I cannot get it working! See attachment, Serge
Re: HMG 3.5
Posted: Wed Nov 18, 2020 9:56 am
by Rathinagiri
Serge,
I have tried the following and it works:
1. Copy libhbssl.a from HMG.3.4.4\harbour\lib\win\mingw\ folder and renamed as libhbsslold.a
2. Pasted in HMG.3.5.\harbour\lib\win\mingw\ folder.
3. Referred hbsslold in the harbour project.
Re: HMG 3.5
Posted: Wed Nov 18, 2020 10:12 am
by serge_girard
Sorry Rathi...... I missed something:
1. Rename HMG.3.5.\harbour\lib\win\mingw\libhbssl.a to HMG.3.5.\harbour\lib\win\mingw\libhbsslold.a
2. Copy HMG.3.4.4\harbour\lib\win\mingw\libhbssl.a to HMG.3.5.\harbour\lib\win\mingw\libhbssl.a
3. Referred hbsslold? You mean in my HBC file?
1&2 Correct?
3 HBC file?
Serge
Re: HMG 3.5
Posted: Wed Nov 18, 2020 12:11 pm
by Rathinagiri
No!
Copy \hmg.3.4.4\harbour\lib\win\mingw\libhbssl.a to \hmg.3.5\harbour\lib\mingw\libhbssl.a (since a new version in the same name is available, I have renamed the old (3.4.4) one as libhbsslold.a and pasted. So, we have two files now in the \hmg.3.5\harbour\lib\mingw\ folder.
This is the hbc file.
Code: Select all
inc=yes
head=native
libs=hbsslOld
libs=libeay32
libs=ssleay32
I have attached the lib file also for your kind reference.
Re: HMG 3.5
Posted: Wed Nov 18, 2020 1:45 pm
by Jagadeesan
Thanks a lot