Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The _ssl build process for 2.3.5 is broken #42375

Closed
robertcheung mannequin opened this issue Sep 16, 2005 · 3 comments
Closed

The _ssl build process for 2.3.5 is broken #42375

robertcheung mannequin opened this issue Sep 16, 2005 · 3 comments

Comments

@robertcheung
Copy link
Mannequin

robertcheung mannequin commented Sep 16, 2005

BPO 1292634
Nosy @loewis

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = <Date 2005-10-08.10:07:30.000>
created_at = <Date 2005-09-16.07:27:47.000>
labels = ['invalid', 'OS-windows']
title = 'The _ssl build process for 2.3.5 is broken'
updated_at = <Date 2005-10-08.10:07:30.000>
user = 'https://bugs.python.org/robertcheung'

bugs.python.org fields:

activity = <Date 2005-10-08.10:07:30.000>
actor = 'loewis'
assignee = 'none'
closed = True
closed_date = None
closer = None
components = ['Windows']
creation = <Date 2005-09-16.07:27:47.000>
creator = 'robertcheung'
dependencies = []
files = []
hgrepos = []
issue_num = 1292634
keywords = []
message_count = 3.0
messages = ['26293', '26294', '26295']
nosy_count = 2.0
nosy_names = ['loewis', 'robertcheung']
pr_nums = []
priority = 'normal'
resolution = 'not a bug'
stage = None
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue1292634'
versions = ['Python 2.3']

@robertcheung
Copy link
Mannequin Author

robertcheung mannequin commented Sep 16, 2005

I have attempted to build the _ssl library for 2.3.5
and it is broken (see attached output 1). Basically it
is complaining that the _ssl.pyd file could not be
build because several symbols
(GetUserObjectInformation, etc) could not be linked.
Those symbols are suppose to be located in
User32.[lib|dll]. Appending User32.lib to line 15 of
_ssl.mak fixed this problem (see attachment 2).

Hopefully this will be helpful for other people that
also had build problems with the ssl library.

Regards
Robert Cheung

-------- Attached output 1--------------
C:\downloads\python\Python-2.3.5\PCbuild>python
build_ssl.py
Found a working perl at 'C:\Perl\bin\perl.exe'
Found an SSL directory at
'C:\downloads\python\openssl-0.9.8'
Executing nmake over the ssl makefiles...
Building OpenSSL
copy nul+ .\crypto\buildinf.h tmp32\buildinf.h
nul
.\crypto\buildinf.h
1 file(s) copied.
cl /nologo ../Modules/_ssl.c
C:\downloads\python\openssl-0.9.8/out32/libeay32.lib
C:\downloads\python\openssl-0.9.8/out32/ssleay32.lib
/Ox /MD /LD /Fox86-temp-release/_ssl\_ssl.obj -I
../Include -I ../PC -I
C:\downloads\python\openssl-0.9.8/inc32 /link
/out:_ssl.pyd gdi32.lib wsock32.lib /libpath:C:\downloads\p
ython\openssl-0.9.8/out32 libeay32.lib ssleay32.lib _ssl.c
Creating library _ssl.lib and object _ssl.exp
libeay32.lib(cryptlib.obj) : error LNK2019: unresolved
external symbol __imp__GetUserObjectInformationW@20
referenced in function _OPENSSL_isservice
libeay32.lib(cryptlib.obj) : error LNK2019: unresolved
external symbol __imp__GetProcessWindowStation@0
referenced in function _OPENSSL_isservice
libeay32.lib(cryptlib.obj) : error LNK2019: unresolved
external symbol __imp__GetDesktopWindow@0 referenced in
function _OPENSSL_isservice
libeay32.lib(cryptlib.obj) : error LNK2019: unresolved
external symbol __imp__MessageBoxIndirectA@4 referenced
in function _OPENSSL_showfatal
_ssl.pyd : fatal error LNK1120: 4 unresolved externals
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.

------------ Attachment 2 -----------------
_ssl.mak line 15 -
LIBS=gdi32.lib wsock32.lib /libpath:$(SSL_LIB_DIR)
libeay32.lib ssleay32.lib User32.lib

@loewis
Copy link
Mannequin

loewis mannequin commented Sep 25, 2005

Logged In: YES
user_id=21627

You are using an unsupported version of OpenSSL. Please try
the version mentioned in PCbuild/readme.txt.

@loewis
Copy link
Mannequin

loewis mannequin commented Oct 8, 2005

Logged In: YES
user_id=21627

Closing as invalid.

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

0 participants