-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
can't launch lens within centos7 #903
Comments
I get the exact same error on centos 7 |
Got the same error when i have tried to launch lens on centos 7.can you help on this?
|
I am also seeing the same error. Mint with a DEB install. |
Seems to be the same issue as #1038 does the workaround there help? |
@Nachasic any ideas? |
Any ideas? We are facing the same problem here. |
No success building the latest release on CentOS 7 here. We are completely stuck here too. It seems that when Mirantis says Linux they really mean Ubuntu Linux. Has anyone tried to run this in a Docker container? |
Try to add these 2 libs into /opt/Lens :
It works for me, using Lens 5.3.1. Bruno |
Thanks for the hint! May I ask where you found these? A particular Linux (e.g. Ubuntu vX, or Fedora X, etc)?
Scott
… On Dec 1, 2021, at 3:40 PM, brcros ***@***.***> wrote:
Try to add these 2 libs into /opt/Lens :
libstdc++.so.6
libc.musl-x86_64.so.1
It works for me.
The point is to find the good release. Lens will tell you if the version is not the one...
Bruno
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub <#903 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ABQIJS6P3V7WTEYWBOCUGUTUO2B3ZANCNFSM4RP6JBDA>.
Triage notifications on the go with GitHub Mobile for iOS <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
I got the same error on Ubuntu 20.04. It seems that during the installation process the ASAR archive is not unpacked. I had to do it manually and it works! For DEB install:
|
here is the workaround I used to install and use k8s lens on centos 7 (and also without account):
according to https://forums.centos.org/viewtopic.php?t=68062#p285777:
install more recent gcc version to get a more recent libstdc++ version. build gcc (following instructions from https://jdhao.github.io/2017/09/04/install-gcc-newer-version-on-centos/ with the latest current gcc version) Other dependencies might be required (at least "Development Tools" group, etc.)
(you can use your local mirror https://gcc.gnu.org/mirrors.html)
add symlink to this more recent libstdc++.so library:
By default lens is asking for an account. https://twitter.com/k8slens/status/1529470612380344321?s=21&t=yvydstNYJkrBPcKI_PTrwQ
add:
|
We have started building RPM packages on rocky Linux and now have a YUM repo so this should now be resolved. |
launch log
innerError Error: Cannot find module '../build/Debug/pty.node'
Require stack:
at Function.o._resolveFilename (electron/js2c/browser_init.js:281:679)
at Module._load (internal/modules/cjs/loader.js:690:27)
at Function.Module._load (electron/js2c/asar.js:769:28)
at Module.require (internal/modules/cjs/loader.js:852:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object. (/var/lib/snapd/snap/kontena-lens/118/resources/app.asar/node_modules/node-pty/lib/unixTerminal.js:30:15)
at Module._compile (internal/modules/cjs/loader.js:967:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1004:10)
at Module.load (internal/modules/cjs/loader.js:815:32) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/var/lib/snapd/snap/kontena-lens/118/resources/app.asar/node_modules/node-pty/lib/unixTerminal.js',
'/var/lib/snapd/snap/kontena-lens/118/resources/app.asar/node_modules/node-pty/lib/index.js',
'/var/lib/snapd/snap/kontena-lens/118/resources/app.asar/static/build/main.js',
undefined
]
}
A JavaScript error occurred in the main process
Uncaught Exception:
Error: /lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /tmp/.org.chromium.Chromium.1Xsd1i)
at process.func [as dlopen] (electron/js2c/asar.js:140:31)
at Object.Module._extensions..node (internal/modules/cjs/loader.js:1034:18)
at Object.func [as .node] (electron/js2c/asar.js:149:18)
at Module.load (internal/modules/cjs/loader.js:815:32)
at Module._load (internal/modules/cjs/loader.js:727:14)
at Function.Module._load (electron/js2c/asar.js:769:28)
at Module.require (internal/modules/cjs/loader.js:852:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object. (/var/lib/snapd/snap/kontena-lens/118/resources/app.asar/node_modules/node-pty/lib/unixTerminal.js:26:11)
at Module._compile (internal/modules/cjs/loader.js:967:30)
(kontena-lens:15793): GdkPixbuf-WARNING **: 14:45:08.678: Cannot open pixbuf loader module file '/home/cms/snap/kontena-lens/common/.cache/gdk-pixbuf-loaders.cache': No such file or directory
This likely means that your installation is broken.
Try running the command
gdk-pixbuf-query-loaders > /home/cms/snap/kontena-lens/common/.cache/gdk-pixbuf-loaders.cache
to make things work again for the time being.
GLib-GIO-Message: 14:45:09.179: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.
The text was updated successfully, but these errors were encountered: