[MacPorts] #55149: mediainfo @0.7.99 fails to build on SnowLeopard, Mac OS X 10.6.8, because of "Undefined symbols for architecture x86_64"

MacPorts noreply at macports.org
Mon Oct 23 13:37:03 UTC 2017


#55149: mediainfo @0.7.99 fails to build on SnowLeopard, Mac OS X 10.6.8, because
of "Undefined symbols for architecture x86_64"
------------------------+-------------------------
  Reporter:  ballapete  |      Owner:  ctreleaven
      Type:  defect     |     Status:  assigned
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.4.2
Resolution:             |   Keywords:  snowleopard
      Port:  mediainfo  |
------------------------+-------------------------

Comment (by ballapete):

 It's not that easy… The `mediainfo` package has:

 {{{
  28 use_configure       no
  29
  30 variant universal {}
  31
  32 build.cmd           ./CLI_Compile.sh
  33 build.target
  34 build.args          --prefix=${prefix}
  35 build.env           CC="${configure.cc} [get_canonical_archflags cc]"
 \
  36                     CPP="${configure.cc} -E" \
  37                     CXX="${configure.cxx} [get_canonical_archflags
 cxx]" \
  38                     CXXCPP="${configure.cxx} -E" \
  39                     numprocs=${build.jobs}
  }}}

 By trial and error build succeeded with:

 {{{
  36                     CPP="${configure.cc} -E" \
  37                     CXX="${configure.cxx} [get_canonical_archflags
 cxx] -stdlib=libc++" \
  38                     LD="${configure.ldflags} -stdlib=libc++" \
  39                     CXXCPP="${configure.cxx} -E" \
 }}}

 And the best thing: Mediainfo works on the command line!

 Can be closed as solved (works for me now, saved in local tree).

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


More information about the macports-tickets mailing list