[MacPorts] #43825: Undefined symbols for architecture x86_64

MacPorts noreply at macports.org
Mon May 26 06:52:06 PDT 2014


#43825: Undefined symbols for architecture x86_64
----------------------------+--------------------------------
 Reporter:  peter.skands@…  |      Owner:  macports-tickets@…
     Type:  defect          |     Status:  new
 Priority:  Normal          |  Milestone:
Component:  ports           |    Version:  2.3.0
 Keywords:  x86_64          |       Port:  root5
----------------------------+--------------------------------
 I'm using macports with the newest root port and gcc 4.8:

 root5
 @5.34.18_0+cocoa+gcc48+graphviz+gsl+minuit2+opengl+roofit+soversion+ssl+tmva+xml

 "port install root5" works fine, and so does most running and linking of
 the included executables/libraries. But when linking the ROOT libraries to
 compile an executable that manipulates ROOT graphs, I get the following
 specific errors:

 Undefined symbols for architecture x86_64:
   "TAttMarker::SaveMarkerAttributes(std::basic_ostream<char,
 std::char_traits<char> >&, char const*, int, int, int)"
   "TGraphAsymmErrors::SavePrimitive(std::basic_ostream<char,
 std::char_traits<char> >&, char const*)"
   "TAttFill::SaveFillAttributes(std::basic_ostream<char,
 std::char_traits<char> >&, char const*, int, int)"
   "TAttLine::SaveLineAttributes(std::basic_ostream<char,
 std::char_traits<char> >&, char const*, int, int, int)"
  ld: symbol(s) not found for architecture x86_64

 Note: the ROOT libraries I am linking are the following:
         -L/opt/local/lib/root5 -lCore -lCint -lGpad -lGraf -lHist
 -lMathCore -lMatrix -lRIO -lThread

 I've been having this problem ever since I upgraded to OSX Mavericks, some
 months ago, and am posting it here since it looks like the 64-bit
 libraries installed by this port may be missing a few compiled functions
 defined in the headers. So far I haven't found any discussion of this
 particular issue elsewhere. My apologies if this is simply due to some
 stupidity on my part or an intrinsic ROOT problem, not specific to
 macports. Note that the code I compile successfully links a lot of other
 ROOT functionality; it is just these 4 functions that fail at link time.

-- 
Ticket URL: <https://trac.macports.org/ticket/43825>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list