[MacPorts] #62468: _sasl_locate_entry() in Cyrus SASL's lib/dlopen.c assumes a leading underscore is needed for calls to dlsym()

MacPorts noreply at macports.org
Wed Mar 17 01:48:35 UTC 2021


#62468: _sasl_locate_entry() in Cyrus SASL's lib/dlopen.c assumes a leading
underscore is needed for calls to dlsym()
---------------------------------------------+--------------------
  Reporter:  steven-michaud                  |      Owner:  (none)
      Type:  defect                          |     Status:  new
  Priority:  Normal                          |  Milestone:
 Component:  ports                           |    Version:
Resolution:                                  |   Keywords:
      Port:  cyrus-sasl2 @2.1.27_2+kerberos  |
---------------------------------------------+--------------------

Comment (by kencu):

 for a quick fix, use a macports compiler if you're on Intel. This should
 do it:
 {{{
 sudo port clean cyrus-sasl2
 sudo port install clang-11
 sudo port -v install cyrus-sasl2 configure.compiler=macports-clang-11
 }}}

 the macports-clang compilers don't have that Werror turned on (but this
 needs to be turned on for arm64 to work).

 What we will do is patch configure to add this:
 {{{
 #include <stdlib.h>
 }}}
 at the right spot to make the test pass, as it should.

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


More information about the macports-tickets mailing list