[MacPorts] #64953: php81-mailparse @3.1.3_0: fails to load with error symbol not found in flat namespace '_mbfl_convert_filter_delete'

MacPorts noreply at macports.org
Sat Apr 9 04:03:05 UTC 2022


#64953: php81-mailparse @3.1.3_0: fails to load with error symbol not found in flat
namespace '_mbfl_convert_filter_delete'
----------------------------+------------------------
  Reporter:  slaakso        |      Owner:  ryandesign
      Type:  defect         |     Status:  accepted
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.7.2
Resolution:                 |   Keywords:  monterey
      Port:  php-mailparse  |
----------------------------+------------------------

Comment (by ryandesign):

 This seems to be another instance of the loader on macOS 12 being pickier
 than on earlier OS versions about missing symbols. (#64448 is another such
 case.) This symbol, as you noted, is provided by mbstring, but PHP
 extensions are loaded alphabetically, so at the moment that mailparse is
 loaded, this mbstring symbol is not yet there.

 As a workaround, rename /opt/local/var/db/php81/mailparse.ini so that it
 comes alphabetically after mbstring.ini, for example:

 {{{
 sudo mv /opt/local/var/db/php81/mailparse.ini
 /opt/local/var/db/php81/zmailparse.ini
 }}}

 If you do this, be prepared to redo it if you upgrade php81-mailparse, and
 to undo it once a better fix is found.

 I'm still trying to find out if this is a bug in mailparse or mbstring
 that can be fixed without needing to resort to reordering the .ini files.
 If not, I'll change php-mailparse so that it does rename its .ini file
 automatically.

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


More information about the macports-tickets mailing list