[MacPorts] #51726: Gildas Install Fail

MacPorts noreply at macports.org
Tue Jun 28 09:00:44 PDT 2016


#51726: Gildas Install Fail
------------------------+----------------------
  Reporter:  jtb1435@…  |      Owner:  smaret@…
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.3.4
Resolution:             |   Keywords:
      Port:  gildas     |
------------------------+----------------------

Comment (by smaret@…):

 This is a link error:

 {{{
 (cd ./built/x86_64-darwin-gfortran && /opt/local/bin/gfortran-mp-5
 -dynamiclib   -L/opt/local/lib -Wl,-headerpad_max_install_names -shared -o
 /opt/local/lib/gildas/x86_64-darwin-gfortran/lib/libatm2009.so
 -install_name /opt/local/lib/gildas/x86_64-darwin-
 gfortran/lib/libatm2009.so ATMOpacity.o ATMLength.o ATMInverseLength.o
 ATMPressure.o ATMTemperature.o ATMAngle.o ATMFrequency.o ATMHumidity.o
 ATMMassDensity.o ATMNumberDensity.o ATMPercent.o ATMWaterVaporRadiometer.o
 ATMWVRMeasurement.o ATMType.o ATMProfile.o ATMRefractiveIndex.o
 ATMRefractiveIndexProfile.o ATMSkyStatus.o ATMSpectralGrid.o ATMError.o
 \
 2583    :info:build     -o
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_gildas/gildas/work
 /gildas-src-jun16a/integ/x86_64-darwin-gfortran/lib/libatm2009.so
 -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_gildas/gildas/work
 /gildas-src-jun16a/integ/x86_64-darwin-gfortran/lib -L/opt/local/lib
 -L/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib
 -L/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Versions/Current/
 -lc++  -lm -ldl -install_name @loader_path/../lib/libatm2009.so)
 Undefined symbols for architecture x86_64:
 "std::basic_string<char, std::char_traits<char>, std::allocator<char>
 >::compare(char const*) const", referenced from:
 atm::Opacity::Opacity(double, std::basic_string<char,
 std::char_traits<char>, std::allocator<char> >) in ATMOpacity.o
 }}}

 I don't have a computer with Mountain Lion installed, so I can't reproduce
 this error (which does not occur on El Capitain). What is the output of
 the following commands?

 {{{
 which g++
 g++ --version
 }}}

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


More information about the macports-tickets mailing list