WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: RPI 3 and Magicmirror - Missing libXss.so.1 dependency  (Read 739 times)

Offline Nonoss

  • WikiUser
  • *
  • Posts: 5
RPI 3 and Magicmirror - Missing libXss.so.1 dependency
« on: February 17, 2018, 03:24:48 AM »
Hi guys,

I come here for a little help.
I’m getting new to Tiny Core (PiCore) and discovering this very practical distro.

I know a bit of debian based distros, but it’s kind of… Hugely different.

Let’s get to the point.
My purpose is to run the framework magicmirror on piCore (https://github.com/MichMich/MagicMirror)
Magicmirror basically use nodejs npm and electron, so it should be alright.

I started with a fresh install of piCore 9.03, connect through SSH and :

1- First, installation of node and git :
Code: [Select]
tce-load –wi git node2- Clone of the repository :
Code: [Select]
git clone https://github.com/MichMich/MagicMirror3- Change into the new folder and install the magicmirror
Code: [Select]
cd Magicmirror && npm install4- Launching the mirror :
Code: [Select]
npm start5- But I got an error :
Quote
/home/tc/MagicMirror/node_modules/electron/dist/electron: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
6- No problem, I can handle it and after a bit of search, I found and installed gtk2
Code: [Select]
tce-load –wi gtk27- Launching the mirror again and:
Quote
/home/tc/MagicMirror/node_modules/electron/dist/electron: error while loading shared libraries: libdbus-1.so.3: cannot open shared object file: No such file or directory
8- Ok, google it again and installed dbus
Code: [Select]
tce-load –wi dbus9- Launching the mirror again and:
Quote
/home/tc/MagicMirror/node_modules/electron/dist/electron: error while loading shared libraries: libXi.so.6: cannot open shared object file: No such file or directory
10- Well googled it again and installed libXi
Code: [Select]
tce-load –wi libXi11- Launching the mirror again and:
Quote
/home/tc/MagicMirror/node_modules/electron/dist/electron: error while loading shared libraries: libXtst.so.6: cannot open shared object file: No such file or directory
12- Hum... Ok, I installed libXtst
Code: [Select]
tce-load –wi libXtst13- Launching the mirror again and:
Quote
/home/tc/MagicMirror/node_modules/electron/dist/electron: error while loading shared libraries: libXss.so.1: cannot open shared object file: No such file or directory
14- After lots of searches, I couldn't fint this dependency anywhere within the 9.03 repository. Some links leads me to Xorg, but it's not working.

Do you guys have any tips for me?
Thanks you a lot.

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1700
Re: RPI 3 and Magicmirror - Missing libXss.so.1 dependency
« Reply #1 on: February 17, 2018, 03:45:37 AM »
Hi Nonoss
In such cases either the "Provides" feature of the Apps GUI should get you covered (click on the drop-down box that says "Search") or, if you're on CLI only, the  provides.sh  script:
Code: [Select]
$ provides.sh libXss.so
libXScrnSaver.tcz
So the  libXScrnSaver.tcz  extension has that lib.
Download a copy and keep it handy: Core book ;)

Offline Nonoss

  • WikiUser
  • *
  • Posts: 5
Re: RPI 3 and Magicmirror - Missing libXss.so.1 dependency
« Reply #2 on: February 17, 2018, 05:19:17 AM »
Oh great,

Thank you. It will helps a lot since I have other dependencies to find like.
One is "libgconf-2.so.4".

I tried:
Code: [Select]
provides.sh libgconf-2.sBut got no result

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1700
Re: RPI 3 and Magicmirror - Missing libXss.so.1 dependency
« Reply #3 on: February 17, 2018, 05:44:10 AM »
Unfortunately, this one seems to not be available in the repo then.

You could either compile it from source (directions for compiling for TinyCore here: http://wiki.tinycorelinux.net/wiki:creating_extensions)
or request an extension to be made in the Extension requests area of the forum (http://forum.tinycorelinux.net/index.php/board,46.0.html).
Download a copy and keep it handy: Core book ;)

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1700
Re: RPI 3 and Magicmirror - Missing libXss.so.1 dependency
« Reply #4 on: February 17, 2018, 05:45:58 AM »
dconf.tcz  is available though.
Download a copy and keep it handy: Core book ;)

Offline Nonoss

  • WikiUser
  • *
  • Posts: 5
Re: RPI 3 and Magicmirror - Missing libXss.so.1 dependency
« Reply #5 on: February 17, 2018, 05:57:49 AM »
Thanks again for your very fast reply.

Damned. It's getting difficult :)
dconf.tcz is not working

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 10160
Re: RPI 3 and Magicmirror - Missing libXss.so.1 dependency
« Reply #6 on: February 17, 2018, 07:34:50 AM »
dconf.tcz is not working

Really? gconf has been obsolete (in favour of dconf) for at least 4-5 years...

Offline Nonoss

  • WikiUser
  • *
  • Posts: 5
Re: RPI 3 and Magicmirror - Missing libXss.so.1 dependency
« Reply #7 on: February 17, 2018, 08:50:39 AM »
dconf.tcz is not working

Really? gconf has been obsolete (in favour of dconf) for at least 4-5 years...

Yeah, that's what I read, but... electron seems to be unfriendly :/

Offline thorald

  • WikiUser
  • *
  • Posts: 20
Re: RPI 3 and Magicmirror - Missing libXss.so.1 dependency
« Reply #8 on: October 26, 2018, 01:26:01 PM »
Sorry to resurrect this oldie, but i found the topic to be goldie..
Alrite, enough funnies..

Im just curious as the the status here, did you (Nonoss) get it working?

Cheers