-
Notifications
You must be signed in to change notification settings - Fork 14
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
[Bug]: libmd.so.0 not available for sublime-text. Ubuntu 20.04 Sublime 4166 #47
Comments
Facing the exact same problem. |
Same here... |
me too facing this issue.i uninstalled it with snap. and followed this steps. sublime working for me |
Thank you sarathkumar006, i did the same and it worked and yes, unsaved files are not lost. |
If you want to keep using sublime-text with snap, you can revert to the previous stable version of it. Do the following:
|
This worked for me on ubuntu 18.04.
This did not as i didn't have any older snap versions installed and |
I think we will revert the latest revision |
It would be interesting to check if installing |
Ubuntu 20.04, it leads to another errors: /snap/sublime-text/130/opt/sublime_text/sublime_text: /lib/x86_64-linux-gnu/libc.so.6: version Reverting to the previous revision 122 works for me: |
I have a PR up for a revert #49 -- we will figure out a proper fix afterwards |
This stages `libmd0` which is required by Sublime text 4166
Thanks for reporting this issue. A new build of sublime-text is now in the
You'll get revision 132 on x86 and 133 on arm computers. If that's resolved, we'll move it to the stable channel. Thanks again, and apologies for the inconvenience! |
On my Ubuntu 20.04 it does not, unfortunately. Looks like libmd0 needs newer GLIBC (I have 2.31 on my machine): /snap/sublime-text/132/opt/sublime_text/sublime_text: /lib/x86_64-linux-gnu/libc.so.6: version |
@dafcioo Thanks. That makes no sense 🤯 - how are you running sublime-text? Can you (It looks like you're running the binary directly from deep within the compressed snap itself, which isn't supported (or desirable, as you have discovered) way to launch applications) |
When refreshed to candidate revision (132): $ /snap/bin/sublime-text.subl After reverting back to 122 it just works. $ ls -la /snap/bin/sublime-text.subl $ apt-cache policy libc6 |
Ok, I've pushed 4152 (the previous, working release) to the stable channel while we debug this. |
Ok, I have reproduced this issue on a clean install of 20.04 with the snap from candidate. |
Just to fill in, on:
Both, rev 4152 and 4166 work fine
|
Locally, I have built a snap of 4166 after reverting the change to using Please, @dafcioo (and any others affected) if you have a moment, please test this build.
Many thanks. |
@popey, i've done:
after, i ran sublime-text. Thank you! P.S i have Kubuntu 20.04 |
Well done! Works for me :) $ snap refresh sublime-text --channel=latest/candidate/fix-bug-47 |
Perfect, thanks for confirming. I've promoted revisions 134 (amd64) and 135 (arm64) to latest/stable, and closed all other channels for the moment—apologies for the drama. I'll start a new issue/thread to discuss how to resolve this. |
It worked for me, thank you @popey ! |
Somehow w/o doing anything my sublime text started working. Not sure how the magic happened, but it happened. |
@nmondal The 🪄 Magic 🪄 of automatic updates! 👯 |
What happened?
Sublime-text does not start. Starting from command line gives this error:
$ subl /snap/sublime-text/130/opt/sublime_text/sublime_text: error while loading shared libraries: libmd.so.0: cannot open shared object file: No such file or directory
I used sublime just the other day.
Digging around this problem, I find some reports that might be relevant:
https://forum.snapcraft.io/t/classic-base-core22-snap-not-finding-libraries-from-base/35192
Trying the test specified there I do not get much further:
$ snap run --shell subl error: cannot find current revision for snap subl: readlink /snap/subl/current: no such file or directory
Please note that I'm running on Ubuntu 20.04. Upgrading the OS is not possible for me. I did a remove and install. Which did not help.
What should have happened?
I should have got a running sublime text.
Output of
snap info $snap_name
Output of
snap connections $snap_name
Output of
snap version
Relevant log output
Teminal output of app
$ subl /snap/sublime-text/130/opt/sublime_text/sublime_text: error while loading shared libraries: libmd.so.0: cannot open shared object file: No such file or directory
The text was updated successfully, but these errors were encountered: