[MacPorts] #46110: xalanc @1.11: build failure due to build setting DYLD_LIBRARY_PATH (was: xalanc @ 1.10.0 symbol not found build failures)

MacPorts noreply at macports.org
Sat Nov 21 13:03:12 UTC 2020


#46110: xalanc @1.11: build failure due to build setting DYLD_LIBRARY_PATH
-----------------------+------------------------
  Reporter:  jlaura@…  |      Owner:  ryandesign
      Type:  defect    |     Status:  accepted
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.3.3
Resolution:            |   Keywords:
      Port:  xalanc    |
-----------------------+------------------------
Changes (by ryandesign):

 * status:  assigned => accepted
 * cc: sudheerhebbale (added)
 * owner:  macports-tickets@… => ryandesign


Comment:

 Yup, there it is:

 {{{
 $ grep DYLD work/xalan-c-1.11/c/Makefile.incl.in
 work/xalan-c-1.11/c/Makefile.incl.in:  export DYLD_LIBRARY_PATH :=
 $(XERCESCROOT)/lib:$(ICULIB_LOC):$(DYLD_LIBRARY_PATH)
 }}}

 Whoever wrote this Makefile fragment must have thought that
 DYLD_LIBRARY_PATH on macOS works like LD_LIBRARY_PATH on Linux, but it
 does not.

 Has duplicate #61520.

 On my 10.13 system I got an even stranger error:

 {{{
 dyld: initializer in image (/usr/lib/libc++.1.dylib) that does not link
 with libSystem.dylib
 gnumake: *** [all] Abort trap: 6
 }}}

 (/usr/lib/libc++.1.dylib most certainly does link with libSystem.dylib.)

 The build succeeded when I removed the DYLD_LIBRARY_PATH line from the
 file so I'll commit that in a moment.

 There is a new version 1.12 available, but it completely replaces the old
 autotools build system with cmake so that's more work than just adjusting
 a patchfile.

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


More information about the macports-tickets mailing list