[MacPorts] #37270: rarian: Undefined symbols: operator delete operator new

MacPorts noreply at macports.org
Wed Jan 2 11:57:33 PST 2013


#37270: rarian: Undefined symbols: operator delete operator new
---------------------------+--------------------------------
  Reporter:  ryandesign@…  |      Owner:  macports-tickets@…
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.1.2
Resolution:                |   Keywords:  tiger
      Port:  rarian        |
---------------------------+--------------------------------

Comment (by ryandesign@…):

 It seems to me the problem is that rarian-example uses librarian.dylib,
 and librarian.dylib was compiled using g++ and uses new and delete, and
 rarian-example is being compiled with gcc. I am able to get rarian-example
 to compile either by adding -lstdc++ to the flags, or by using g++ instead
 of gcc. But I don't know the best way to make the build system do either
 of those for us.

-- 
Ticket URL: <https://trac.macports.org/ticket/37270#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list