neutralinojs-cli icon indicating copy to clipboard operation
neutralinojs-cli copied to clipboard

libwebkit2gtk-4.0.so.37 incompatibility

Open kamalbuilds opened this issue 2 years ago • 6 comments

Bug

Operating System-inux

While running neu run Cli command it shows the following error code

neu: INFO Starting process: neutralino-linux_x64  --load-dir-res --path=. --export-auth-info --neu-dev-extension --neu-dev-auto-reload
bin/neutralino-linux_x64: error while loading shared libraries: libwebkit2gtk-4.0.so.37: cannot open shared object file: No such file or directory
neu: WARNING neutralino-linux_x64 was stopped with error code 127

Hence, the app is unable to run.

kamalbuilds avatar Apr 17 '22 19:04 kamalbuilds

I was facing similar issues in this PR. I fixed the gtk errors by installing the libwebkit2gtk-4.0-37 package.

pathange-s avatar Apr 17 '22 20:04 pathange-s

Oh thanks for the update , but how did u install it as an npm package?

kamalbuilds avatar Apr 17 '22 20:04 kamalbuilds

Also, I was thinking of some way of making this inbuilt in neutralino so that dev don't have to manually install it @pathange-s !

kamalbuilds avatar Apr 17 '22 20:04 kamalbuilds

Not everyone faces this. I faced this while running GitHub actions (its very unusual). You can just install using apt package manager.

pathange-s avatar Apr 17 '22 20:04 pathange-s

Ok might be

kamalbuilds avatar Apr 17 '22 20:04 kamalbuilds

@legendarykamal Please consider closing this issue. I hope the fix worked.

pathange-s avatar Jun 29 '22 19:06 pathange-s

Closing this issue since now we dynamically load this dependency :) Thanks for posting this issue and starting a discussion :tada:

shalithasuranga avatar May 06 '24 12:05 shalithasuranga