joshua-d-miller / macOSLAPS

Swift binary that will change a local administrator password to a random generated password. Similar behavior to LAPS for Windows
MIT License
387 stars 58 forks source link

dyld: Library not loaded: @rpath/libswiftCore.dylib error when running macOSLAPS command #43

Closed pticyn closed 4 years ago

pticyn commented 4 years ago

Clean install of High Sierra 10.13.6 (17G65) macOSLAPS version: 1.1.6 Running macOSLAPS command I'm getting this error:

$ sudo /usr/local/laps/macOSLAPS dyld: Library not loaded: @rpath/libswiftCore.dylib Referenced from: /usr/local/laps/macOSLAPS Reason: image not found Abort trap: 6

joshua-d-miller commented 4 years ago

Since you are on macOS High Sierra you will need to download the Swift Binaries Package as that is now required for older versions of macOS. You can get it here and it should resolve your issue: https://support.apple.com/kb/DL1998?locale=en_US. Please let me know if this works for you.

pticyn commented 4 years ago

Since you are on macOS High Sierra you will need to download the Swift Binaries Package as that is now required for older versions of macOS. You can get it here and it should resolve your issue: https://support.apple.com/kb/DL1998?locale=en_US. Please let me know if this works for you.

Yes, that worked. Thanks