fix Octave LibQt5Core issue in WSL Arch Linux

---
action: Back 返回
date: Nov 05, 2018
category: Linux & Server
tags:
- Arch Linux
- WSL
---

Recently I started to do things in the Arch Linux since some people request to bring my wslu to ArchWSL(https://github.com/yuk7/ArchWSL). I found there is an issue when using Octave when it brings this error:

1
error while loading shared libraries: libQt5Core.so.5: cannot open shared object file: No such file or directory

This is due to the fact that WSL kernel do not support renameat2() system call.

To fix this specific issue, run:

1
sudo strip --remove-section=.note.ABI-tag /usr/lib64/libQt5Core.so.5

To fix all issue related to this, run:

1
find /lib /usr/lib /usr/libexec -name '*.so' | xargs strip --remove-section=.note.ABI-tag

But be careful, this action will be dangerous.

After executing, this problem will be solved.

Credit:
https://superuser.com/questions/1347723/arch-on-wsl-libqt5core-so-5-not-found-despite-being-installed#1348051
https://github.com/Microsoft/WSL/issues/3023

Navigation

Not the Footnote

The site is proudly powered by Hexo and using a site strcuture from the Hexo theme called Nayo.

The site is powered by the glorious CSS from bettermotherf**kingwebsite.com with some tweaks. Censored the f-word for good.

Possibly the Footnote

Main | Access | RSS | Sitemap
2008 - 2020 | Patrick WU Jinming