[MacPorts] #63871: mongodb @5.0.3: Couldn't find SASL header/libraries

MacPorts noreply at macports.org
Thu Dec 2 01:46:05 UTC 2021


#63871: mongodb @5.0.3: Couldn't find SASL header/libraries
-------------------------+----------------------
  Reporter:  knightcode  |      Owner:  (none)
      Type:  defect      |     Status:  closed
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.7.1
Resolution:  invalid     |   Keywords:  monterey
      Port:  mongodb     |
-------------------------+----------------------

Comment (by dylanryan):

 Sorry, was away for a bit longer than I thought. Direct download of the
 CLI tools produced identical log files. A little googling led me to
 https://stackoverflow.com/questions/51314888/ld-warning-text-based-stub-
 file-are-out-of-sync-falling-back-to-library-file , which seems to imply
 that this was just left in a bad state by Apple and never fixed on High
 Sierra.

 Creating the following two symlinks (as one of the answers there
 suggested) in /Library/Frameworks allowed the build to proceed past
 configuration (though on this machine the full compile will probably take
 over night, mongo is decidedly ''not'' a fast build, especially on aging
 hardware). Not ideal, but if it works, it works. I'll report back at the
 end (sorry for co-opting this ticket for this)

 {{{sudo ln -s
 /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreFoundation.framework
 /Library/Frameworks/CoreFoundation.framework}}}

 {{{sudo ln -s
 /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/
 /Library/Frameworks/Security.framework}}}

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


More information about the macports-tickets mailing list