-
-
Notifications
You must be signed in to change notification settings - Fork 760
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AUR wezterm-nightly-bin: Error loading shared library #2712
Comments
Please try https://aur.archlinux.org/packages/wezterm-git instead; the bin version uses binaries built on ubuntu and those don't seem to be compatible with arch any longer |
Personally I didn't want to build I understand, you are free to close this since the workaround is simple enough only copy those libraries from the previous version of that library, and eventually the binaries from ubuntu would catch up. 😢 Thank you. |
I plan to retire that as it has ABI compatibility issues on arch refs: #2712
I have submitted a request to delete Here's the text I submitted in my request:
|
TBH, you don't need to delete it. Just update the PKGBUILD if something is not right. For example, for my use case, I edit the PKGBUILD like this and it is working again: package() {
install -Dm755 squashfs-root/usr/bin/wezterm -t "${pkgdir}/usr/bin/"
install -Dm755 squashfs-root/usr/bin/wezterm-gui -t "${pkgdir}/usr/bin/"
install -Dm755 squashfs-root/usr/bin/wezterm-mux-server -t "${pkgdir}/usr/bin/"
+ install -Dm755 squashfs-root/usr/lib/libcrypto.so.1.1 -t "${pkgdir}/usr/lib/"
+ install -Dm755 squashfs-root/usr/lib/libssl.so.1.1 -t "${pkgdir}/usr/lib/"
install -Dm644 squashfs-root/usr/share/icons/hicolor/128x128/apps/org.wezfurlong.wezterm.png \
"${pkgdir}/usr/share/icons/hicolor/128x128/apps/org.wezfurlong.wezterm.png"
install -Dm644 squashfs-root/usr/share/applications/org.wezfurlong.wezterm.desktop \
"${pkgdir}/usr/share/applications/org.wezfurlong.wezterm.desktop"
} I really need this because I tried full appimage and I have issue with symlink and multiple launch (mount) the appimage, one of them would freeze. |
Installing the openssl from an older version of ubuntu into the system |
I think wezterm-nightly-bin should simply depends on openssl-1.1 which provides libssl.so.1.1 and libcrypto.so.1.1 for compatibility reason. |
You forgot the most sane alternative, which is simply install the official Arch Linux wezterm package, which got automatically rebuilt once openssl 3 dropped. |
Can you tell the official package to build from |
ofc they are not. https://github.com/archlinux/svntogit-community/blob/packages/wezterm/trunk/PKGBUILD#L4-L5 For me, the alternative is download the current |
Can you tell the official package to build from `main`/git?
Arch only builds the stable releases that you tag on Github, and is
usually quite fast with updating once you have created a release on
Github.
You described alternatives for pre-built binaries and mentioned the
Flatpak binary first, which also only builds the stable releases, so I
thought it would be fair to include the official Arch package as well.
Of course Arch does not ship nightly images (and neither does Flatpak),
so for that you'd have to use something else.
|
For me, the alternative is download the current PKGBUILD from wezterm-nightly-bin AUR, then edit and install myself, only in my machine.
+ install -Dm755 squashfs-root/usr/lib/libcrypto.so.1.1 -t "${pkgdir}/usr/lib/"
+ install -Dm755 squashfs-root/usr/lib/libssl.so.1.1 -t "${pkgdir}/usr/lib/"
Please don't use this cursed workaround of installing Ubuntu openssl
binaries systemwide on an Arch system! This will likely lead to a broken system in the future.
The correct fix would simply be to add openssl-1.1 to the package's
dependencies, `/usr/lib/libcrypto.so.1.1` is installed by openssl-1.1
from the Arch repo, maybe @wez could just update the PKGBUILD?
I don't think there is a need to delete the entire AUR package.
|
Honestly, I don't use arch and I view this wezterm-nightly-bin AUR as a support burden that I don't want to bear: it's trying to run stuff from ubuntu on arch and is destined to have a higher incidence of people reporting problems with it. If you need to run a nightly, you'll need to build it from git using the Those are the options that I'm willing to support. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
What Operating System(s) are you seeing this problem on?
Linux X11
Which Wayland compositor or X11 Window manager(s) are you using?
No response
WezTerm version
wezterm 20221105-090535-a135f536
Did you try the latest nightly build to see if the issue is better (or worse!) than your current version?
Yes, and I updated the version box above to show the version of the nightly that I tried
Describe the bug
WezTerm can't start on Arch Linux. Recently Arch Linux updated
openssl
to version 3.0.7-2 which cause WezTerm from AUR failed to start with the following error:/usr/lib
now only containslibssl.so
&libssl.so.3
To Reproduce
No response
Configuration
I think it's not relevant.
Expected Behavior
WezTerm launch.
Logs
No response
Anything else?
For now, as workaround, I extracted
libssl.so.1.1
&libcrypto.so.1.1
from previous cache ofopenssl
to/usr/lib
and WezTerm can launch successfully.The text was updated successfully, but these errors were encountered: