HMG Unicode versions 3.1.x related
Moderator: Rathinagiri
AUGE_OHR
Posts: 2065 Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany
Post
by AUGE_OHR » Tue Nov 17, 2020 12:45 pm
hi,
have your include SSL Libs
in hmg32.hbc / hmg64.hbc
Code: Select all
libs=hbssl
libs=libeay32
libs=ssleay32
have fun
Jimmy
serge_girard
Posts: 3178 Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB 2 DBF
Location: Belgium
Contact:
Post
by serge_girard » 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
There's nothing you can do that can't be done...
Rathinagiri
Posts: 5471 Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:
Post
by Rathinagiri » Tue Nov 17, 2020 4:48 pm
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.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
salamandra
Posts: 311 Joined: Thu Jul 31, 2008 8:33 pm
DBs Used: DBF, MySQL, SQL
Location: Brazil
Post
by salamandra » 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
(2.54 MiB) Downloaded 315 times
Best regards,
Salamandra, Brazil
There is one time in which is crucial awakening. That time is now. ( Buddha )
Rathinagiri
Posts: 5471 Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:
Post
by Rathinagiri » Wed Nov 18, 2020 4:34 am
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?
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
serge_girard
Posts: 3178 Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB 2 DBF
Location: Belgium
Contact:
Post
by serge_girard » Wed Nov 18, 2020 9:34 am
I cannot get it working! See attachment, Serge
Attachments
TEST.zip
(803.55 KiB) Downloaded 246 times
There's nothing you can do that can't be done...
Rathinagiri
Posts: 5471 Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:
Post
by Rathinagiri » Wed Nov 18, 2020 9:56 am
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.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
serge_girard
Posts: 3178 Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB 2 DBF
Location: Belgium
Contact:
Post
by serge_girard » Wed Nov 18, 2020 10:12 am
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
There's nothing you can do that can't be done...
Rathinagiri
Posts: 5471 Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:
Post
by Rathinagiri » Wed Nov 18, 2020 12:11 pm
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.
Attachments
libhbsslOld.zip
(46.26 KiB) Downloaded 303 times
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
Jagadeesan
Posts: 6 Joined: Sat Mar 14, 2020 4:23 am
DBs Used: DBF
Post
by Jagadeesan » Wed Nov 18, 2020 1:45 pm
Thanks a lot