[MacPorts] #67615: tk fails to build for i386+x86_64: Undefined symbols for architecture i386: "_Tk_MainEx", "_Tk_SafeInit", "_Tk_Init"

MacPorts noreply at macports.org
Tue Jun 13 12:55:31 UTC 2023


#67615: tk fails to build for i386+x86_64: Undefined symbols for architecture i386:
"_Tk_MainEx", "_Tk_SafeInit", "_Tk_Init"
---------------------------+---------------------------------
  Reporter:  barracuda156  |      Owner:  MarcusCalhoun-Lopez
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.8.1
Resolution:                |   Keywords:
      Port:  tk            |
---------------------------+---------------------------------
Changes (by jmroot):

 * owner:  (none) => MarcusCalhoun-Lopez
 * status:  new => assigned
 * keywords:  snowleopard =>


Comment:

 The link command does contain the correct flag to find the dylib that was
 just built:
 `-L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_tk/tk/work/tk8.6.13-i386/unix`.
 But it comes after `-L/opt/local/lib`, so an already installed version is
 found first if it exists.

-- 
Ticket URL: <https://trac.macports.org/ticket/67615#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list