question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to run NW.JS in Ubuntu 12.10

See original GitHub issue

Hey guys,

Today I’ve installed a fresh Ubuntu 12.10 (32bits) in a machine of mine and downloaded the last version of NW.JS (node-webkit-v0.11.6-linux-ia32).

Unfortunately I was unable to run nw due the following errros:

./nw: /usr/lib/i386-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.18' not found (required by ./nw)
./nw: /usr/lib/i386-linux-gnu/libnss3.so: version `NSS_3.14.3' not found (required by ./nw)

I’ve checked the libraries versions my system has installed:

$ strings /usr/lib/i386-linux-gnu/libstdc++.so.6  | grep GLIBCXX
GLIBCXX_3.4
GLIBCXX_3.4.1
GLIBCXX_3.4.2
GLIBCXX_3.4.3
GLIBCXX_3.4.4
GLIBCXX_3.4.5
GLIBCXX_3.4.6
GLIBCXX_3.4.7
GLIBCXX_3.4.8
GLIBCXX_3.4.9
GLIBCXX_3.4.10
GLIBCXX_3.4.11
GLIBCXX_3.4.12
GLIBCXX_3.4.13
GLIBCXX_3.4.14
GLIBCXX_3.4.15
GLIBCXX_3.4.16
GLIBCXX_3.4.17
GLIBCXX_DEBUG_MESSAGE_LENGTH
$ strings /usr/lib/i386-linux-gnu/libnss3.so| grep NSS_3
NSS_3.2
NSS_3.2.1
NSS_3.3
NSS_3.3.1
NSS_3.4
NSS_3.5
NSS_3.6
NSS_3.7
NSS_3.7.1
NSS_3.8
NSS_3.9
NSS_3.9.2
NSS_3.9.3
NSS_3.10
NSS_3.10.2
NSS_3.11
NSS_3.11.1
NSS_3.11.2
NSS_3.11.7
NSS_3.11.9
NSS_3.12
NSS_3.12.1
NSS_3.12.3
NSS_3.12.4
NSS_3.12.5
NSS_3.12.6
NSS_3.12.7
NSS_3.12.9
NSS_3.12.10
NSS_3.13

Do I have to recompile the NW.js in order to be able to use it on my system? Do you have any suggestion to fix the problem and allow the 0.11.6 binaries be able to run?

Thanks in advance!

<bountysource-plugin>

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource. </bountysource-plugin>

Issue Analytics

  • State:closed
  • Created 9 years ago
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
gwickstedcommented, Oct 18, 2017

For those googling: you can resolve the error:

./nw: error while loading shared libraries: libnss3.so: cannot open shared object file: No such file or directory

Which occurred with nwjs v0.26.0 on a Debian 8.9 VM w/ LXDE.

Run:


sudo apt-get update
sudo apt-get install libnss3-dev

and try again.

0reactions
LinuxCaocommented, Jun 22, 2018

because current gcc version is too low fixed solution : #apt-get install gcc-5

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to run nw.js application in ubuntu - Stack Overflow
But when I run the command nw /home/myUsername/Documents/myNodeWebkitApps/helloWorld/myApp. nw it throws the following results in terminal.
Read more >
How To Install Node.js on Ubuntu 20.04 - DigitalOcean
In this guide, we will show you three different ways of getting Node.js installed on an Ubuntu 20.04 server: using apt to install...
Read more >
Downloading and installing NW.js
Installing NW.js is pretty simple, but there are many ways to do it. One of the easiest ways is probably to run npm...
Read more >
Unable to update Node JS - keeps returning to old version ...
You'll want to figure out where your current version of Node is coming from. which nodejs will tell you that. Then, run apt-get...
Read more >
Unable to install Appium on Ubuntu 12.04 - Google Groups
Try updating your Nodejs version (I'm running v0.10.26). Then do npm install -g grunt-cli and try installing appium after that. Problem seems to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found