Author sjmulder
Recipients ned.deily, ronaldoussoren, sjmulder
Date 2020-11-12.09:57:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1605175064.85.0.309173276732.issue41116@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2020-11-12 09:57:44sjmuldersetrecipients: + sjmulder, ronaldoussoren, ned.deily
2020-11-12 09:57:44sjmuldersetmessageid: <1605175064.85.0.309173276732.issue41116@roundup.psfhosted.org>
2020-11-12 09:57:44sjmulderlinkissue41116 messages
2020-11-12 09:57:44sjmuldercreate