Changes between Initial Version and Version 2 of Ticket #61520


Ignore:
Timestamp:
Nov 17, 2020, 7:35:49 AM (4 years ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

This is a mess. Something is using macOS libarchive, which I assume is linked with macOS libiconv (although because macOS Big Sur no longer includes system libraries in the filesystem it is impossible to verify this), but for some reason it is trying to use MacPorts libiconv instead, and of course MacPorts libiconv and macOS libiconv are not the same thing and cannot be substituted for one another like that, leading to the undefined symbol error. The only reason why such a thing could happen is if the build is setting DYLD_LIBRARY_PATH to include the MacPorts prefix, which is something it should not be doing. This is the same thing that was previously reported in #46110 with a different consequence.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #61520

    • Property Cc sudheerhebbale added
    • Property Port xalanc added
  • Ticket #61520 – Description

    initial v2  
    11While trying to install xalanc on macOS 11.0.1 Big Sur, port build fails with the following error
    22
     3{{{
    34dyld: Symbol not found: _iconv
    45  Referenced from: /usr/lib/libarchive.2.dylib
    56  Expected in: /opt/local/lib/libiconv.2.dylib
     7}}}
    68
    7 
    8 
     9{{{
    910--->  Computing dependencies for xalanc.
    1011--->  Building xalanc
     
    4142Error: Follow https://guide.macports.org/#project.tickets to report a bug.
    4243Error: Processing of port xalanc failed
     44}}}