wrong symlink in CentOS8 Powershell 7.1.3 package
See original GitHub issueEnvironment:
CentOS 8 Powershell 7.1.3 powershell installed by Microsoft repo
Scenario
- ldd for libmi.so shows:
ldd /opt/microsoft/powershell/7/libmi.so ldd: warning: you do not have execution permission for `/opt/microsoft/powershell/7/libmi.so’ linux-vdso.so.1 (0x00007ffc3ea41000) libpthread.so.0 => /lib64/libpthread.so.0 (0x00007ff105ed7000) libdl.so.2 => /lib64/libdl.so.2 (0x00007ff105cd3000) libpam.so.0 => /lib64/libpam.so.0 (0x00007ff105ac3000) libssl.so.1.0.0 => /opt/microsoft/powershell/7/libssl.so.1.0.0 (0x00007ff10582f000)
libcrypto.so.1.0.0 => not found
libc.so.6 => /lib64/libc.so.6 (0x00007ff10546c000) /lib64/ld-linux-x86-64.so.2 (0x00007ff1060f7000) libaudit.so.1 => /lib64/libaudit.so.1 (0x00007ff105242000) libcrypto.so.1.1 => /lib64/libcrypto.so.1.1 (0x00007ff104d5c000) libz.so.1 => /lib64/libz.so.1 (0x00007ff104b45000) libcap-ng.so.0 => /lib64/libcap-ng.so.0 (0x00007ff10493f000)
- following the missing reference ls -l libcrypto.so.1.0.0 lrwxrwxrwx 1 root root 25 Mar 10 02:14 libcrypto.so.1.0.0 -> /lib64/libcrypto.so.1.1.1
but /lib64/libcrypto.so.1.1.1 is not found on a CentOS 8 system
Resolution cd /lib64 ln -s libcrypto.so.1.1 libcrypto.so.1.1.1
Solution The link must reference to /lib64/libcrypto.so.1.1
Please fix this in the rpm Package.
regards
Ralph
Issue Analytics
- State:
- Created 3 years ago
- Comments:17 (3 by maintainers)
Top GitHub Comments
@joeyaiello i think there is still an issue with the package here. The symlinks are pointing to the 1.1.x locations and even one of them does not exist. In reality they should either:
The first is what strictly should happen but it means OpenSSL 1.0.x must be installed for libmi to load at all. The latter will work for the http situation but will fail if a https endpoint is used, I.e. Exchange Online.
I’m also affected by this issue - pwsh as snap on Fedora 34:
snap info