[MacPorts] #54790: xalanc @1.11 does not build on Mac OS X 10.6.8, Snow Leopard, because: clang: error: linker command failed with exit code 1 (use -v to see invocation)

MacPorts noreply at macports.org
Sat Sep 9 20:24:09 UTC 2017


#54790: xalanc @1.11 does not build on Mac OS X 10.6.8, Snow Leopard, because:
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
------------------------+-------------------------
  Reporter:  ballapete  |      Owner:
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:
Resolution:             |   Keywords:  snowleopard
      Port:  xalanc     |
------------------------+-------------------------

Comment (by kencu):

 `libxerces-c-3.1.dylib` doesn't exist any more. it's now
 `libxerces-c-3.2.dylib`.

 but I just built xalanc without any trouble against libxerces-c-3.2.dylib
 {{{
 $ port -v installed xalanc
 The following ports are currently installed:
   xalanc @1.11_0 (active) platform='darwin 10' archs='x86_64'
 date='2017-09-09T13:17:54-0700'
 }}}

 and it links properly against libxerces-c-3.2.dylib
 {{{
 h$ otool -L /opt/local/lib/libxalan-c.dylib
 /opt/local/lib/libxalan-c.dylib:
         /opt/local/lib/libxalan-c.dylib (compatibility version 1.0.0,
 current version 1.11.0)
         /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
 version 125.2.11)
         /opt/local/lib/libxerces-c-3.2.dylib (compatibility version 0.0.0,
 current version 0.0.0)
         /opt/local/lib/libxalanMsg.dylib (compatibility version 1.0.0,
 current version 1.11.0)
         /usr/lib/libc++.1.dylib (compatibility version 1.0.0, current
 version 3.9.1)
         /usr/lib/libc++abi.dylib (compatibility version 1.0.0, current
 version 3.9.1)
 }}}

 so I'd `sudo port sync`, check xcerces3 to make sure it's installed
 `xercesc3 @3.2.0_0`, and clean and try xalanc again. Perhaps you are
 slightly out of sync in your ports tree somehow.

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


More information about the macports-tickets mailing list