Changes between Initial Version and Version 16 of Ticket #62468


Ignore:
Timestamp:
Mar 17, 2021, 12:44:33 AM (3 years ago)
Author:
kencu (Ken)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #62468

    • Property Port cyrus-sasl2 @2.1.27_2+kerberos added
  • Ticket #62468 – Description

    initial v16  
    22
    33Here's a fragment of code from _sasl_locate_entry():
    4 
     4{{{
    55#if defined(DLSYM_NEEDS_UNDERSCORE) || (defined(__OpenBSD__) && !defined(__ELF__))
    66    snprintf(adj_entryname, sizeof adj_entryname, "_%s", entryname);
     
    1717      return SASL_FAIL;
    1818    }
    19 
     19}}}
    2020By means of various tests, and by looking at libsasl2.3.dylib in a disassembler, I've found that (in your distro) this code is behaving as if DLSYM_NEEDS_UNDERSCORE is defined. Of course it shouldn't be. I don't know why. The sasl_cv_dlsym_adds_uscore test in configure.ac looks like it should work. Could your cyrus_sasl2 distro have been compiled on something other than a Mac? In other words, might it have been cross-compiled on some other kind of system (e.g. Linux)?
    2121