[MacPorts] #49449: pymol: error: no type named 'shared_ptr' in namespace 'std'

MacPorts noreply at macports.org
Thu Oct 29 14:49:48 PDT 2015


#49449: pymol: error: no type named 'shared_ptr' in namespace 'std'
-----------------------------+-----------------------------------
  Reporter:  kathryn.cole@…  |      Owner:  howarth.at.macports@…
      Type:  defect          |     Status:  new
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.3.4
Resolution:                  |   Keywords:
      Port:  pymol           |
-----------------------------+-----------------------------------

Comment (by howarth.at.macports@…):

 Using libc++ isn't a viable option prior to OS X 10.9. The initial libc++
 support was only introduced in OS X 10.7 and the c++-11 support was not
 fully complete until the OS X 10.9 when Apple switched the system default
 c++ library. So you really can't depend on all of the features and
 functionality of c++-11 being present in  the libc++ of 10.7/10.8. Unlike
 FreeBSD, OS X has no libcxxrt shim library
 (https://wiki.freebsd.org/NewC++Stack) to attempt to bridge the ABI
 differences in the two c++ libraries. This is why you will find that fink,
 MacPorts, etc all build their open source packages with libstdc++ up to OS
 X 10.8 and then completed switched over to libc++ starting with OS X 10.9.

-- 
Ticket URL: <https://trac.macports.org/ticket/49449#comment:6>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list