[MacPorts] #67486: bc: link fails for 10.6: duplicate symbol _edit in bc.o and main.o

MacPorts noreply at macports.org
Sat Sep 9 17:41:40 UTC 2023


#67486: bc: link fails for 10.6: duplicate symbol _edit in bc.o and main.o
----------------------+-------------------------
  Reporter:  mascguy  |      Owner:  mascguy
      Type:  defect   |     Status:  closed
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:  2.8.1
Resolution:  fixed    |   Keywords:  snowleopard
      Port:  bc       |
----------------------+-------------------------

Comment (by mascguy):

 Replying to [comment:1 mascguy]:
 > Not surprisingly, installing either without `+libedit` - or using
 `+readline` - works fine. It's only the former that's now problematic.

 Took a few minutes to look at upstream's configure script, etc - along
 with perusing the various sources and headers (both for `bc`, as well as
 `libedit`) - and it's not immediately obvious where public symbol `_edit`
 is coming from. But it's definitely an issue, as it exists in every `bc`
 object file.

 So for now, let's fallback to `+readline` for 10.6 and earlier.

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


More information about the macports-tickets mailing list