[issue41116] build on macOS 11 (beta) does not find system-supplied third-party libraries
Sijmen J. Mulder
report at bugs.python.org
Thu Nov 12 04:57:44 EST 2020
Sijmen J. Mulder <ik at sjmulder.nl> added the comment:
With './configure; make' of master on macOS 11 on Apple Silicon I get the library detection failure. The quick and easy fix was to amend inc_dirs and lib_dirs in setup.py:
if MACOS:
+ sysroot = macosx_sdk_root()
+ self.inc_dirs.append(sysroot + '/usr/include')
+ self.lib_dirs.append(sysroot + '/usr/lib')
Interestingly the lzma library is found, but the module fails because it cannot find lzma.h, which does indeed appear to be missing in the SDK.
----------
nosy: +sjmulder
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41116>
_______________________________________
More information about the Python-bugs-list
mailing list