Message400305
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=... |
|
Date |
User |
Action |
Args |
2021-08-26 02:26:18 | ned.deily | set | recipients:
+ ned.deily, jett8998 |
2021-08-26 02:26:18 | ned.deily | set | messageid: <1629944778.74.0.254135861315.issue45002@roundup.psfhosted.org> |
2021-08-26 02:26:18 | ned.deily | link | issue45002 messages |
2021-08-26 02:26:18 | ned.deily | create | |
|