BUG #14792: Invalid ssleay32.dll

Started by zosrothkoover 8 years ago5 messagesbugs
Jump to latest
#1zosrothko
zosrothko@orange.fr

The following bug has been logged on the website:

Bug reference: 14792
Logged by: Francis ANDRE
Email address: zosrothko@orange.fr
PostgreSQL version: 9.6.3
Operating system: Windows10
Description:

Hi
The bin/ssleay32.dll delivered with the postgresql-9.6.3-2-win32
installation is invalid. This dll is targeted for a x64 machine while it
should be targeted for a x86 machine. As result, an executable linked with
the ssleay32.lib fails with the errcode 0xC000007B.

Dumping the ssleay32.dll with Dependency Walker is shwoing a machine x64

--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

#2Michael Paquier
michael@paquier.xyz
In reply to: zosrothko (#1)
Re: BUG #14792: Invalid ssleay32.dll

On Thu, Aug 31, 2017 at 2:39 AM, <zosrothko@orange.fr> wrote:

The bin/ssleay32.dll delivered with the postgresql-9.6.3-2-win32
installation is invalid. This dll is targeted for a x64 machine while it
should be targeted for a x86 machine. As result, an executable linked with
the ssleay32.lib fails with the errcode 0xC000007B.

Dumping the ssleay32.dll with Dependency Walker is shwoing a machine x64

That's clearly a bug in the EDB installer then related to packaging
then (I guess that's the EDB one). Compiling things dynamically would
make the DDL dependency needed in the same path as the binaries.
--
Michael

--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

#3Sandeep Thakkar
sandeep.thakkar@enterprisedb.com
In reply to: Michael Paquier (#2)
Re: BUG #14792: Invalid ssleay32.dll

Hi,

We confirmed that the said DLL installed by postgresql-9.3.6-2-windows.exe
installer is correct i.e 32bit. If it is 64bit, then installation would
fail as in the background it runs few binaries. Is the service running
fine? Could you provide us with the installation log? It must be in system
temp.

On Thu, Aug 31, 2017 at 3:45 AM, Michael Paquier <michael.paquier@gmail.com>
wrote:

On Thu, Aug 31, 2017 at 2:39 AM, <zosrothko@orange.fr> wrote:

The bin/ssleay32.dll delivered with the postgresql-9.6.3-2-win32
installation is invalid. This dll is targeted for a x64 machine while it
should be targeted for a x86 machine. As result, an executable linked

with

the ssleay32.lib fails with the errcode 0xC000007B.

Dumping the ssleay32.dll with Dependency Walker is shwoing a machine x64

That's clearly a bug in the EDB installer then related to packaging
then (I guess that's the EDB one). Compiling things dynamically would
make the DDL dependency needed in the same path as the binaries.
--
Michael

--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

--
Sandeep Thakkar
EDB

#4zosrothko
zosrothko@orange.fr
In reply to: Sandeep Thakkar (#3)
Re: BUG #14792: Invalid ssleay32.dll

Le 31/08/2017 à 13:53, Sandeep Thakkar a écrit :

Hi,

We confirmed that the said DLL installed by
postgresql-9.3.6-2-windows.exe installer is correct i.e 32bit. If it
is 64bit, then installation would fail as in the background it runs
few binaries. Is the service running fine? Could you provide us with
the installation log? It must be in system temp.

Ok you are right...I miss to check the PATH and there is an ssleay32.dll
at C:\program files\openvpn\bin which is targeted to x64.... grrrrrrr!

Sorry for this invalid issue that you can close and sorry for the noise
around.

By the way, thank you for letting me double check ;)

Show quoted text

On Thu, Aug 31, 2017 at 3:45 AM, Michael Paquier
<michael.paquier@gmail.com <mailto:michael.paquier@gmail.com>> wrote:

On Thu, Aug 31, 2017 at 2:39 AM,  <zosrothko@orange.fr
<mailto:zosrothko@orange.fr>> wrote:

The bin/ssleay32.dll delivered with the postgresql-9.6.3-2-win32
installation is invalid. This dll is targeted for a x64 machine

while it

should be targeted for a x86 machine. As result, an executable

linked with

the ssleay32.lib fails with the errcode 0xC000007B.

Dumping the ssleay32.dll with Dependency Walker is shwoing a

machine x64

That's clearly a bug in the EDB installer then related to packaging
then (I guess that's the EDB one). Compiling things dynamically would
make the DDL dependency needed in the same path as the binaries.
--
Michael

--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org
<mailto:pgsql-bugs@postgresql.org>)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
<http://www.postgresql.org/mailpref/pgsql-bugs&gt;

--
Sandeep Thakkar
EDB

#5Sandeep Thakkar
sandeep.thakkar@enterprisedb.com
In reply to: zosrothko (#4)
Re: BUG #14792: Invalid ssleay32.dll

On Thu, Aug 31, 2017 at 5:44 PM, zosrothko <zosrothko@orange.fr> wrote:

Le 31/08/2017 à 13:53, Sandeep Thakkar a écrit :

Hi,

We confirmed that the said DLL installed by postgresql-9.3.6-2-windows.exe
installer is correct i.e 32bit. If it is 64bit, then installation would
fail as in the background it runs few binaries. Is the service running
fine? Could you provide us with the installation log? It must be in system
temp.

Ok you are right...I miss to check the PATH and there is an ssleay32.dll
at C:\program files\openvpn\bin which is targeted to x64.... grrrrrrr!

Sorry for this invalid issue that you can close and sorry for the noise
around.

No problem :)

By the way, thank you for letting me double check ;)

On Thu, Aug 31, 2017 at 3:45 AM, Michael Paquier <
michael.paquier@gmail.com> wrote:

On Thu, Aug 31, 2017 at 2:39 AM, <zosrothko@orange.fr> wrote:

The bin/ssleay32.dll delivered with the postgresql-9.6.3-2-win32
installation is invalid. This dll is targeted for a x64 machine while it
should be targeted for a x86 machine. As result, an executable linked

with

the ssleay32.lib fails with the errcode 0xC000007B.

Dumping the ssleay32.dll with Dependency Walker is shwoing a machine x64

That's clearly a bug in the EDB installer then related to packaging
then (I guess that's the EDB one). Compiling things dynamically would
make the DDL dependency needed in the same path as the binaries.
--
Michael

--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

--
Sandeep Thakkar
EDB

--
Sandeep Thakkar
EDB