This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Massimo Fidanza
Recipients Massimo Fidanza
Date 2019-06-13.08:21:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1560414100.26.0.196764764517.issue37264@roundup.psfhosted.org>
In-reply-to
Content
I need to build mod_wsgi under Windows 10 64bit, but I get a linking error
    mod_wsgi.obj : error LNK2001: unresolved external symbol PyOS_AfterFork_Child
    build\lib.win-amd64-3.7\mod_wsgi\server\mod_wsgi.cp37-win_amd64.pyd : fatal error LNK1120: 1 unresolved externals
    error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\x86_amd64\\link.exe' failed with exit status 1120

I checked my installation and found that inside include\intrcheck.h, PyOS_AfterFork_Child is declared, but if I run dumpbin /exports on libs\* (libpython37.a, python3.lib and python37.lib) there is only PyOS_AfterFork exported, and not PyOS_AfterFork_Child, PyOS_AfterFork_Parent and PyOS_BeforeFork. I have installed Python3.7.3 using "Windows x86-64 executable installer" (python-3.7.3-amd64.exe) downloaded from python.org
History
Date User Action Args
2019-06-13 08:21:40Massimo Fidanzasetrecipients: + Massimo Fidanza
2019-06-13 08:21:40Massimo Fidanzasetmessageid: <1560414100.26.0.196764764517.issue37264@roundup.psfhosted.org>
2019-06-13 08:21:40Massimo Fidanzalinkissue37264 messages
2019-06-13 08:21:40Massimo Fidanzacreate