WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Chromium can be a dependency?  (Read 2668 times)

Offline Exo92

  • Newbie
  • *
  • Posts: 3
Chromium can be a dependency?
« on: March 27, 2021, 11:31:32 PM »
Hello !
It's been a few days since I started to study TinyCore, I'm on the version, CorePure64. I challenged myself to run a miner on an old laptop in my room, I'm almost there ! I can even do it !
The only problem is that it needs Chromium-browser to work! I don't understand it at all!

I saw that Chrome installed with it several tcz, so I hard deleted one to see the result, the miner does not launch anymore! If chrome can't run anymore, the miner can't either ( xmrig)


Do you have any idea where this could come from?
Should I compile the program on the machine ?

Offline polikuo

  • Hero Member
  • *****
  • Posts: 730
Re: Chromium can be a dependency?
« Reply #1 on: March 28, 2021, 03:38:59 AM »
Hi Exo92
Welcome to the forum

I challenged myself to run a miner on an old laptop in my room
Since you mention about an old laptop, you do realize that it's not profitable, right ?
Think twice before you proceed with the mining.
IMHO, if you're going for the cash, trading is a better way.

I saw that Chrome installed with it several tcz, so I hard deleted one to see the result, the miner does not launch anymore! If chrome can't run anymore, the miner can't either ( xmrig)
There are many possible causes that could break a program.
Sometimes it's dependency, sometimes it's the outdated caching or config.
Occasionally, it could be as simple as setting an environment variable.

You should lookup the dependencies required by the program first.
A quick starter would be verifying the shared objects that it links to.
Code: [Select]
ldd /path/to/xmrig

Offline Exo92

  • Newbie
  • *
  • Posts: 3
Re: Chromium can be a dependency?
« Reply #2 on: March 28, 2021, 11:05:10 AM »
Hi and thank polikuo




Since you mention about an old laptop, you do realize that it's not profitable, right ?
Think twice before you proceed with the mining.
IMHO, if you're going for the cash, trading is a better way.

Yes, I know, the gains are infinitesimal, it's not really to use it, rather to try to do something simple. It's already taught me a lot of things



There are many possible causes that could break a program.
Sometimes it's dependency, sometimes it's the outdated caching or config.
Occasionally, it could be as simple as setting an environment variable.

So the environment variables or caching configuration depends on chrome or something it does..

Ok i did your command,
Code: [Select]
ldd /path/to/xmrig
linux-vdso.so1
libpthread.so.0
librt.so.1
libdl.so.2
libm.so.6
libc.so.6
lib64/dl-linux-x86-64.so.2 => /lib/id-linux-x86-64.so.2

Only .so ?

« Last Edit: March 28, 2021, 11:10:23 AM by Exo92 »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11634
Re: Chromium can be a dependency?
« Reply #3 on: March 28, 2021, 07:34:44 PM »
Hi Exo92
If you remove  chromium-browser.tcz  from your  onboot.lst  file and then reboot, the browser and its dependencies
will not load.

Now run this again:
Code: [Select]
ldd /path/to/xmrigand see if any of the lines report  "not found".

Offline Exo92

  • Newbie
  • *
  • Posts: 3
Re: Chromium can be a dependency?
« Reply #4 on: March 29, 2021, 07:10:17 AM »
Well, I solved my problem, I did not have time to test your solution Rich
you just had to take the "static" version of xmrig.
I didn't understand well the difference between "static" and "normal" but thes .so put me on the track

Thanks to both of you for your help!