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 ned.deily
Recipients jett8998, ned.deily
Date 2021-08-26.02:26:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1629944778.74.0.254135861315.issue45002@roundup.psfhosted.org>
In-reply-to
Content
It is difficult to offer suggestions based on minimal information. You may be running into an arch mismatch: since you are requesting a universal2 build (x86_64 and arm64), all the third-party libraries your build links with must also be built with both architectures. Or it still could be a mismatched path problem. You can use the otool -L command I suggested before on the renamed _tkinter.so file left in your build/lib.macosx-11.5-universal2-3.11 directory to determine what path to the Tcl and Tk libraries it is using; it should be an absolute path to the Homebrew libraries.  You can also use the "file" command on the _tkinter file and on the Tcl and Tk library files to determine which archs are present in each. If this is your first attempt at building Python on macOS, I suggest you start with a simpler ./configure command and then consider adding other options after you have that working. To start with you should only need something like:

./configure --prefix=... --with-openssl=... --with-tcltk-includes=... --with-tcltk-libs=...
History
Date User Action Args
2021-08-26 02:26:18ned.deilysetrecipients: + ned.deily, jett8998
2021-08-26 02:26:18ned.deilysetmessageid: <1629944778.74.0.254135861315.issue45002@roundup.psfhosted.org>
2021-08-26 02:26:18ned.deilylinkissue45002 messages
2021-08-26 02:26:18ned.deilycreate