Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: creating openssl library files form the dll's


This question is answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 2 - Last Post: Sep 16, 2017 9:58 PM Last Post By: Franco Pucci
Franco Pucci

Posts: 6
Registered: 6/15/07
creating openssl library files form the dll's  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Sep 15, 2017 7:01 AM
Can anyone help me to create .lib files from the dll's on ssleay32.dll and libeay32.dll (openssl) - I have tried using the implib.exe with the following command: implib ssleay32.lib ssleay32.dll under administrator control. I get a lib file but it is not complete. I I am using RAD Studio C++Builder 10.2. I keep getting an "unresolved external error _SHA384" when I compile. The dll's and lib files are included in the project, and all paths are included to OpenSSL-Win64 in the project options.
I have used this successfully with Builder 6 up to now.
Remy Lebeau (Te...


Posts: 9,447
Registered: 12/23/01
Re: creating openssl library files form the dll's  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Sep 15, 2017 8:35 AM   in response to: Franco Pucci in response to: Franco Pucci
Franco Pucci wrote:

I have tried using the implib.exe with the following command:
implib ssleay32.lib ssleay32.dll under administrator control.

That is the correct command (and you don't need to run it as an admin)
but just note that it is for 32-bit only. For 64-bit, use MKEXP.EXE
instead:

http://docwiki.embarcadero.com/RADStudio/en/MKEXP.EXE,_the_64-bit_Windows_Import_Library_Tool_for_C%2B%2B

I get a lib file but it is not complete.

It has always Worked fine for me.

I am using RAD Studio C++Builder 10.2. I keep getting an "unresolved
external error _SHA384" when I compile.

Are you using a version of the OpenSSL DLLs that supports SHA384 to
begin with? OpenSSL can be compiled with OPENSSL_NO_SHA512 to disable
SHA384 (amongst others). Double-check the actual exports of the DLLs
using TDUMP.EXE.

--
Remy Lebeau (TeamB)
Franco Pucci

Posts: 6
Registered: 6/15/07
Re: creating openssl library files form the dll's  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Sep 16, 2017 9:58 PM   in response to: Remy Lebeau (Te... in response to: Remy Lebeau (Te...
Remy Lebeau (TeamB) wrote:
Franco Pucci wrote:

I have tried using the implib.exe with the following command:
implib ssleay32.lib ssleay32.dll under administrator control.

That is the correct command (and you don't need to run it as an admin)
but just note that it is for 32-bit only. For 64-bit, use MKEXP.EXE
instead:

http://docwiki.embarcadero.com/RADStudio/en/MKEXP.EXE,_the_64-bit_Windows_Import_Library_Tool_for_C%2B%2B

I get a lib file but it is not complete.

It has always Worked fine for me.

I am using RAD Studio C++Builder 10.2. I keep getting an "unresolved
external error _SHA384" when I compile.

Are you using a version of the OpenSSL DLLs that supports SHA384 to
begin with? OpenSSL can be compiled with OPENSSL_NO_SHA512 to disable
SHA384 (amongst others). Double-check the actual exports of the DLLs
using TDUMP.EXE.

--
Remy Lebeau (TeamB)

Thanks for the help Remy. I eventually got the 32 bit version working for me. Now onto AsyncPro...missing a class library or something.
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02