[MacPorts] #60544: reduce: Undefined symbols: _BrotliDecoderDecompress

MacPorts noreply at macports.org
Sat May 23 19:23:44 UTC 2020


#60544: reduce: Undefined symbols: _BrotliDecoderDecompress
-------------------------+----------------------
  Reporter:  ryandesign  |      Owner:  mbrethen
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.6.2
Resolution:              |   Keywords:
      Port:  reduce      |
-------------------------+----------------------

Comment (by mbrethen):

 I received this response from the developer:

 “ The build on the Mac links in static mode because otherwise the
 resulting binary would refer to many things in /opt/local/lib, and if we
 tried to distribute a snapshot then the snapshot would be unusable unless
 everybody who wanted to try it installed macports and all the relevant
 libraries - something that would rather conflict with the ideal of a
 redistributable binary. Of course a copy distributed as a Macports port
 would be safe, but again only useful for people with macports set up and
 not available as a separate free-standing entity.

 So I have added libbrotlicommon-static.a and libbrotidec-static.a to the
 things that CSL will link against, and added brotli to the macports setup
 script that I have and I then HOPE that will not hurt existing users - but
 I think that if it does then they can be instructed to run port selfupdate
 then port upgrade freetype (and possibly port install brotli) to get
 themselves back in a good state.”

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


More information about the macports-tickets mailing list