You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error message: Unable to load shared library 'libSystem.Native' or one of its dependencies. In order to help diagnose loading problems, consider setting the DYLD_PRINT_LIBRARIES environment variable:dlopen(/usr/local/microsoft/powershell/7/libSystem.Native.dylib, 0x0001): tried: '/usr/local/microsoft/powershell/7/libSystem.Native.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/microsoft/powershell/7/libSystem.Native.dylib' (no such file), '/usr/local/microsoft/powershell/7/libSystem.Native.dylib' (no such file)dlopen(libSystem.Native.dylib, 0x0001): tried: 'libSystem.Native.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OSlibSystem.Native.dylib' (no such file), '/usr/lib/libSystem.Native.dylib' (no such file, not in dyld cache), 'libSystem.Native.dylib' (no such file), '/usr/local/lib/libSystem.Native.dylib' (no such file), '/usr/lib/libSystem.Native.dylib' (no such file, not in dyld cache)dlopen(/usr/local/microsoft/powershell/7/liblibSystem.Native.dylib, 0x0001): triedFailed to create CoreCLR, HRESULT: 0x80131524
Error details
No response
Environment data
PS /Users/myuser>$PSVersionTable# something like this
Name Value
---------
PSVersion 7.4.2
PSEdition Core
GitCommitId 7.4.2
OS Darwin 23.4.0 Darwin Kernel Version 23.4.0: Fri Mar 1500:10:42 PDT 2024; root:xnu-10063.101.17~1/RELEASE_ARM64_T6000
Platform Unix
Visuals
No response
The text was updated successfully, but these errors were encountered:
Doing a build of 7.4.2 results in the correct naming of the library, so it does seem like the casing is being changed during packaging. I don't see anything in the packaging script that would convert the casing to lower. cc @adityapatwardhan@TravisEz13
The .pkg results in the correct casing so it looks like just a problem in the tgz
The mac tgz package is built here which simply relies the packaging module. The copying of the files is done here and I don't see anything that would have changed the casing.
If you are using a case-sensitive filesystem on macOS, if you just copy-item -recurse a folder, does that somehow change the casing? Maybe it's something in the FileSystemProvider and we've been looking in the wrong place?
➜ test mkdir folder
➜ test touch folder/{fileA,fileb,FILEC}
➜ test ls folder
FILEC fileA fileb
➜ test pwsh
PowerShell 7.4.1
PS .../test> Copy-Item -Recurse folder folder2
PS .../test>
➜ test ls folder2
FILEC fileA fileb
Prerequisites
Steps to reproduce
Reproduction requires a case-sensitive file system.
I'm experiencing this issue on macOS 14.4.1 (23E224) on ARM.
This is a regression since 7.4.1, reinstalling 7.4.1 via Homebrew works fine:
On 7.4.1,
/usr/local/microsoft/powershell/7/libsystem.native.dylib
does not exist, but/usr/local/microsoft/powershell/7/libSystem.Native.dylib
does.Diff of files in
/usr/local/microsoft/powershell/7
Expected behavior
Actual behavior
Error details
No response
Environment data
Visuals
No response
The text was updated successfully, but these errors were encountered: