The ordinal 371 could not be located
Posted by: valiant (---.datiq.se)
Date: July 06, 2017 11:18AM

Hi!

I made a fresh installation of 64-bit WampServer 3.0.6 and updated it to 3.0.9 on a machine running Windows 2012 R2 64-bit.

When attempting to run openssl.exe I get the following error:

"openssl.exe - Ordinal Not Found
The ordinal 371 could not be located in the dynamic link library
c:\wamp64\bin\apache\apache2.4.23\bin\openssl.exe"

Does anyone know what this might be?

Thanks!

Options: ReplyQuote
Re: The ordinal 371 could not be located
Posted by: RiggsFolly (Moderator)
Date: July 06, 2017 11:25AM

Yea, its a regular problem of bits from Apache not matching bits from PHP etc etc

This post has a description about installing a openssl [forum.wampserver.com]

---------------------------------------------------------------------------------------------
(Windows 7 Pro 32bit) (Wampserver 3.0.6 32bit)
<Apache 2.4.23/2.2.31> <PHP 7.1.2/7.0.16/5.6.28/5.5.38/5.4.45/5.3.29> <MySQL 5.7.10/5.6.17/5.5.28>
<MariaDB 10.1.21> <phpMyAdmin4.6.5.2> <MySQL Workbench 6.3.6.511>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin -- WAMPServer alternate Repo
-?-?-?- Backup your MySQL databases regularly Here is How dont regret it later! Yes even when developing -?-?-?-

Options: ReplyQuote
Re: The ordinal 371 could not be located
Posted by: valiant (---.datiq.se)
Date: July 06, 2017 11:31AM

This is odd because I have separate machines on which clicking on openssl.exe works fine. One is a 2012 R2 running WampServer 2.5 and the other a 2016 running WampServer 3.0.6.

Options: ReplyQuote
Re: The ordinal 371 could not be located
Posted by: RiggsFolly (Moderator)
Date: July 06, 2017 11:55AM

Everyone gets lucky sometimes smiling smiley

---------------------------------------------------------------------------------------------
(Windows 7 Pro 32bit) (Wampserver 3.0.6 32bit)
<Apache 2.4.23/2.2.31> <PHP 7.1.2/7.0.16/5.6.28/5.5.38/5.4.45/5.3.29> <MySQL 5.7.10/5.6.17/5.5.28>
<MariaDB 10.1.21> <phpMyAdmin4.6.5.2> <MySQL Workbench 6.3.6.511>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin -- WAMPServer alternate Repo
-?-?-?- Backup your MySQL databases regularly Here is How dont regret it later! Yes even when developing -?-?-?-

Options: ReplyQuote
Re: The ordinal 371 could not be located
Posted by: valiant (---.datiq.se)
Date: July 06, 2017 12:34PM

A request to someone that has 3.0.9: Could you try and run openssl.exe and see if you get an error message? It would help clarify if it is WampServer or my machine that is the problem.

Options: ReplyQuote
Re: The ordinal 371 could not be located
Posted by: valiant (---.datiq.se)
Date: July 07, 2017 08:53AM

I took a look at openssl.exe with Dependency Walker and saw more than just one ordinal missing. I also took a look at the 3.0.6 box that was working and tried to find the difference. It is simple: the symlink of the machine that works point to the PHP 7 directory.

To solve this problem you can either copy the two files SSLEAY32.DLL and LIBEAY32.DLL or simply choose to use PHP 7 by left-clicking on the WampServer icon on the lower right, choosing PHP, version, and finally 7.0.10.

Following this, when running openssl.exe it complains:
"WARNING: can't open config file: c:/user/local/ssl/openssl.cnf"

Solve this by typing "set OPESSL_CONF=C:\wamp64\bin\apache\apache2.4.23\conf\openssl.cfg" into the command prompt before running openssl.exe.

Options: ReplyQuote


Sorry, only registered users may post in this forum.