0
drupal@drupal-pc:~$ sudo find / -type f -name "libnode.so"
find: ‘/run/user/1000/gvfs’: Keine Berechtigung
/opt/atom/libnode.so
drupal@drupal-pc:~$ atom
atom: error while loading shared libraries: libnode.so: cannot open shared      
object file: No such file or directory

Since myself compiled node js from github, yesterday. atom doesn't launch atom from commandline altough the missing file is on board In addition atom runs perfectly, when launched from the launcher icon. Any ideas!

1

1 Answer 1

0

If it cannot find the library but it's there then maybe it doesn't search in the right place. Adding something like this:

export LD_LIBRARY_PATH="/opt/atom"

to you .profile or .bashrc might help here but the problem may be different.

Or maybe you should have the atom's path switched with your new node's path in you PATH environment variable.

It all depends on where you installed new Node, if you removed old Node and how etc. Here is my tutorial on how to install Node from sources and how to deal with the paths. Maybe you can compare it to the way you built and installed Node yourself.

2
  • This produce an other errorr. Cant remember right now. But the problem presists. I'll add the errorr message tomorrow.
    – Josh
    Commented Nov 30, 2016 at 22:38
  • This is the error your solution is producing. atom: error while loading shared libraries: libnode.so: wrong ELF class: ELFCLASS64
    – Josh
    Commented Dec 1, 2016 at 12:59

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.