Under python2 (probably 3 also, will check), I'm having the following occur:
M:\build\msys32\mingw64\bin/x86_64-w64-mingw32-gcc.exe -shared -Wl,--enable-auto-image-base -pipe -s -pipe -s -fno-strict-aliasing -march=x86-64 -mtune=generic -O2 -pipe -fwrapv -D__USE_MINGW_ANSI_STDIO=1 -DNDEBUG -DNDEBUG -I. -IInclude -I../Python-2.7.10/Include -I../Python-2.7.10/Python -I../Python-2.7.10/PC -D_FORTIFY_SOURCE=2 -D__USE_MINGW_ANSI_STDIO=1 -IM:/build/msys32/mingw64/include/ncursesw -s build/temp.mingw-2.7/build/msys32/build/packages/mingw-w64-python2/src/Python-2.7.10/Modules/_ssl.o build/temp.mingw-2.7/build/msys32/build/packages/mingw-w64-python2/src/Python-2.7.10/Modules/_ssl.def -LM:/build/msys32/mingw64/lib -L. -L. -lssl -lcrypto -lws2_32 -lgdi32 -lcrypt32 -lpython2.7 -o build/lib.mingw-2.7/_ssl.pyd *** WARNING: renaming "_ssl" since importing it failed: DLL load failed: The specified procedure could not be found. Python build finished, but the necessary bits to build these modules were not found: _bsddb _sqlite3 bsddb185 crypt dbm dl fcntl grp imageop linuxaudiodev nis ossaudiodev pwd resource spwd sunaudiodev syslog termios To find the necessary bits, look in setup.py in detect_modules() for the module's name. Failed to build these modules: _ssl Tried this on a fresh install of both msys32 (above) and msys64 and couldn't get around it. It looks like during building, python is attempting to load _ssl.pyd and then tries loading the required libeay32.dll and ssleay32.dll but is doing it from C:\windows\system32 rather than mingw's root. There's probably a better way around this, but I'm using the following for the moment. The module compiles correctly regardless, this just keeps it from getting renamed during installation. --- Python-2.7.10/setup.py.orig 2015-08-09 11:49:10.566468400 -0400 +++ Python-2.7.10/setup.py 2015-08-09 12:00:30.038748200 -0400 @@ -343,7 +343,7 @@ # Workaround for Cygwin: Cygwin currently has fork issues when many # modules have been imported - if host_platform == 'cygwin': + if host_platform in ['cygwin', 'mingw', 'win32']: self.announce('WARNING: skipping import check for Cygwin-based "%s"' % ext.name) return ------------------------------------------------------------------------------ _______________________________________________ Msys2-users mailing list Msys2-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/msys2-users