Bitcoin Forum
November 10, 2024, 08:22:27 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Claymore 11.7 Linux problems  (Read 176 times)
swogerino (OP)
Legendary
*
Offline Offline

Activity: 3332
Merit: 1248


Bitcoin Casino Est. 2013


View Profile
April 28, 2018, 06:52:33 PM
 #1

I installed Linux Mint as a second partition to try , installed the latest driver of Nvidias, followed all the guide in Linux Mint forums. Everything was done correctly.

Now when I run the start.sh file from Claymore and run it, or run in terminal , nothing happens. In HiveOS it worked but I am at home here and not at work.

███▄▀██▄▄
░░▄████▄▀████ ▄▄▄
░░████▄▄▄▄░░█▀▀
███ ██████▄▄▀█▌
░▄░░███▀████
░▐█░░███░██▄▄
░░▄▀░████▄▄▄▀█
░█░▄███▀████ ▐█
▀▄▄███▀▄██▄
░░▄██▌░░██▀
░▐█▀████ ▀██
░░█▌██████ ▀▀██▄
░░▀███
▄▄██▀▄███
▄▄▄████▀▄████▄░░
▀▀█░░▄▄▄▄████░░
▐█▀▄▄█████████
████▀███░░▄░
▄▄██░███░░█▌░
█▀▄▄▄████░▀▄░░
█▌████▀███▄░█░
▄██▄▀███▄▄▀
▀██░░▐██▄░░
██▀████▀█▌░
▄██▀▀██████▐█░░
███▀░░
Vann
Hero Member
*****
Offline Offline

Activity: 1036
Merit: 606



View Profile
April 28, 2018, 07:04:51 PM
Last edit: April 28, 2018, 07:16:13 PM by Vann
 #2

For security, Linux won't allow unrecognized executable files to run until the user expressly changes the permissions of the file allow the file to be executable. To mark the file and script to allow executable mode, open a terminal in the miner folder and type:

Code:
chmod +x {start.bash,ethdcrminer64}
swogerino (OP)
Legendary
*
Offline Offline

Activity: 3332
Merit: 1248


Bitcoin Casino Est. 2013


View Profile
April 28, 2018, 07:54:42 PM
 #3

For security, Linux won't allow unrecognized executable files to run until the user expressly changes the permissions of the file allow the file to be executable. To mark the file and script to allow executable mode, open a terminal in the miner folder and type:

Code:
chmod +x {start.bash,ethdcrminer64}

Thank you for your help but the problem is the same. I did gave permission for the start.bash to start using the command above but it just shows that terminal wants to start but nothing happens. I guess I will have to install HiveOS tomorrow since this is my second partition so I can experiment as much as I want with this.

███▄▀██▄▄
░░▄████▄▀████ ▄▄▄
░░████▄▄▄▄░░█▀▀
███ ██████▄▄▀█▌
░▄░░███▀████
░▐█░░███░██▄▄
░░▄▀░████▄▄▄▀█
░█░▄███▀████ ▐█
▀▄▄███▀▄██▄
░░▄██▌░░██▀
░▐█▀████ ▀██
░░█▌██████ ▀▀██▄
░░▀███
▄▄██▀▄███
▄▄▄████▀▄████▄░░
▀▀█░░▄▄▄▄████░░
▐█▀▄▄█████████
████▀███░░▄░
▄▄██░███░░█▌░
█▀▄▄▄████░▀▄░░
█▌████▀███▄░█░
▄██▄▀███▄▄▀
▀██░░▐██▄░░
██▀████▀█▌░
▄██▀▀██████▐█░░
███▀░░
Vann
Hero Member
*****
Offline Offline

Activity: 1036
Merit: 606



View Profile
April 28, 2018, 08:20:07 PM
 #4

After setting the permissions for the Claymore script and executable, open a terminal window the in the Claymore folder and type:

Code:
./start.bash

What is the output?
swogerino (OP)
Legendary
*
Offline Offline

Activity: 3332
Merit: 1248


Bitcoin Casino Est. 2013


View Profile
April 28, 2018, 08:33:33 PM
 #5

After setting the permissions for the Claymore script and executable, open a terminal window the in the Claymore folder and type:

Code:
./start.bash

What is the output?

Yeah I was just testing it, and the output is , ethdcrminer64 error cannot open shared libraries libcurl.so.4

I am searching in internet to which program or package it belongs but you can help me to shorten my search here, thanks again.

I tried to fix the issue with adding a repository for libstdc+++4.9  but it is not fixed yet same error continues.

sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install libstdc++-4.9-dev

If this helps, the file libcurl.so.4 in Claymore folder has a LOCK icon onto it.

███▄▀██▄▄
░░▄████▄▀████ ▄▄▄
░░████▄▄▄▄░░█▀▀
███ ██████▄▄▀█▌
░▄░░███▀████
░▐█░░███░██▄▄
░░▄▀░████▄▄▄▀█
░█░▄███▀████ ▐█
▀▄▄███▀▄██▄
░░▄██▌░░██▀
░▐█▀████ ▀██
░░█▌██████ ▀▀██▄
░░▀███
▄▄██▀▄███
▄▄▄████▀▄████▄░░
▀▀█░░▄▄▄▄████░░
▐█▀▄▄█████████
████▀███░░▄░
▄▄██░███░░█▌░
█▀▄▄▄████░▀▄░░
█▌████▀███▄░█░
▄██▄▀███▄▄▀
▀██░░▐██▄░░
██▀████▀█▌░
▄██▀▀██████▐█░░
███▀░░
Vann
Hero Member
*****
Offline Offline

Activity: 1036
Merit: 606



View Profile
April 28, 2018, 08:42:32 PM
Last edit: April 28, 2018, 09:19:47 PM by Vann
 #6

Looks like your system is missing curl, which is a dependency of the Claymore miner. To see if curl is installed, in a terminal window type:

Code:
which curl

And it will show the path of the executable (it should be /usr/bin/curl).

If it's not installed install curl with:

Code:
sudo apt-get install curl

And then try running the start.bash from a terminal window again.
swogerino (OP)
Legendary
*
Offline Offline

Activity: 3332
Merit: 1248


Bitcoin Casino Est. 2013


View Profile
April 28, 2018, 08:46:15 PM
 #7

Your system is missing curl, which is a dependency of the Claymore miner. Install curl with:

Code:
sudo apt-get install curl

And then try running the start.bash from a terminal window again.

Installed it and the same problem again, I even logged in as root through the terminal with the SU command and it still gives me the following error.

./ethdcrminer64: error while loading shared libraries: libcurl.so.4: cannot open shared object file: No such file or directory



███▄▀██▄▄
░░▄████▄▀████ ▄▄▄
░░████▄▄▄▄░░█▀▀
███ ██████▄▄▀█▌
░▄░░███▀████
░▐█░░███░██▄▄
░░▄▀░████▄▄▄▀█
░█░▄███▀████ ▐█
▀▄▄███▀▄██▄
░░▄██▌░░██▀
░▐█▀████ ▀██
░░█▌██████ ▀▀██▄
░░▀███
▄▄██▀▄███
▄▄▄████▀▄████▄░░
▀▀█░░▄▄▄▄████░░
▐█▀▄▄█████████
████▀███░░▄░
▄▄██░███░░█▌░
█▀▄▄▄████░▀▄░░
█▌████▀███▄░█░
▄██▄▀███▄▄▀
▀██░░▐██▄░░
██▀████▀█▌░
▄██▀▀██████▐█░░
███▀░░
Vann
Hero Member
*****
Offline Offline

Activity: 1036
Merit: 606



View Profile
April 28, 2018, 08:54:25 PM
 #8

See which curl version is installed with:

Code:
curl --version

also see if you have a libcurl.so.4 library in /usr/lib/
swogerino (OP)
Legendary
*
Offline Offline

Activity: 3332
Merit: 1248


Bitcoin Casino Est. 2013


View Profile
April 28, 2018, 08:56:53 PM
 #9

See which version is installed with:

Code:
curl --version

also see if you have a libcurl.so.4 in /usr/lib/

curl --version
curl 7.47.0 (x86_64-pc-linux-gnu) libcurl/7.47.0 GnuTLS/3.4.10 zlib/1.2.8 libidn/1.32 librtmp/2.3
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp smb smbs smtp smtps telnet tftp
Features: AsynchDNS IDN IPv6 Largefile GSS-API Kerberos SPNEGO NTLM NTLM_WB SSL libz TLS-SRP UnixSockets


I do not see any Curl folder in /usr/lib/

I also don't have libcurl.so.4 in /usr/lib/

███▄▀██▄▄
░░▄████▄▀████ ▄▄▄
░░████▄▄▄▄░░█▀▀
███ ██████▄▄▀█▌
░▄░░███▀████
░▐█░░███░██▄▄
░░▄▀░████▄▄▄▀█
░█░▄███▀████ ▐█
▀▄▄███▀▄██▄
░░▄██▌░░██▀
░▐█▀████ ▀██
░░█▌██████ ▀▀██▄
░░▀███
▄▄██▀▄███
▄▄▄████▀▄████▄░░
▀▀█░░▄▄▄▄████░░
▐█▀▄▄█████████
████▀███░░▄░
▄▄██░███░░█▌░
█▀▄▄▄████░▀▄░░
█▌████▀███▄░█░
▄██▄▀███▄▄▀
▀██░░▐██▄░░
██▀████▀█▌░
▄██▀▀██████▐█░░
███▀░░
Vann
Hero Member
*****
Offline Offline

Activity: 1036
Merit: 606



View Profile
April 28, 2018, 08:58:55 PM
 #10

There should be a libcurl.so.4 library file in the system library folder /usr/lib/
swogerino (OP)
Legendary
*
Offline Offline

Activity: 3332
Merit: 1248


Bitcoin Casino Est. 2013


View Profile
April 28, 2018, 09:01:53 PM
 #11

I don't see it, but I have put a picture below for you to check as well, maybe I am missing something here.


███▄▀██▄▄
░░▄████▄▀████ ▄▄▄
░░████▄▄▄▄░░█▀▀
███ ██████▄▄▀█▌
░▄░░███▀████
░▐█░░███░██▄▄
░░▄▀░████▄▄▄▀█
░█░▄███▀████ ▐█
▀▄▄███▀▄██▄
░░▄██▌░░██▀
░▐█▀████ ▀██
░░█▌██████ ▀▀██▄
░░▀███
▄▄██▀▄███
▄▄▄████▀▄████▄░░
▀▀█░░▄▄▄▄████░░
▐█▀▄▄█████████
████▀███░░▄░
▄▄██░███░░█▌░
█▀▄▄▄████░▀▄░░
█▌████▀███▄░█░
▄██▄▀███▄▄▀
▀██░░▐██▄░░
██▀████▀█▌░
▄██▀▀██████▐█░░
███▀░░
Vann
Hero Member
*****
Offline Offline

Activity: 1036
Merit: 606



View Profile
April 28, 2018, 09:06:37 PM
Merited by swogerino (5)
 #12

libcurl.so.4 is a library file, which would be listed after the folders in /usr/lib/

Seems like Linux Mint is installing an old curl version. See if this install the correct library.

Code:
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install libcurl4:i386
swogerino (OP)
Legendary
*
Offline Offline

Activity: 3332
Merit: 1248


Bitcoin Casino Est. 2013


View Profile
April 28, 2018, 09:11:05 PM
 #13

libcurl.so.4 is a library file, which would be listed after the folders in /usr/lib/

Seems like Linux Mint is installing an old curl version. See if this install the correct library.

Code:
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install libcurl4:i386

Thank you for your help but it looks like my Linux Mint is an old version, I think of 2016, I talked with a friend of mine who works with me as an IT and he confirmed the error being related to old version of Ubuntu related Linux, anyway the error is this

Reading package lists... Done
Building dependency tree      
Reading state information... Done
E: Unable to locate package libcurl4:i386

I will give you 5 merits for helping me, it looks funny me being helped in IT related things while I help 120 people in my company Smiley

███▄▀██▄▄
░░▄████▄▀████ ▄▄▄
░░████▄▄▄▄░░█▀▀
███ ██████▄▄▀█▌
░▄░░███▀████
░▐█░░███░██▄▄
░░▄▀░████▄▄▄▀█
░█░▄███▀████ ▐█
▀▄▄███▀▄██▄
░░▄██▌░░██▀
░▐█▀████ ▀██
░░█▌██████ ▀▀██▄
░░▀███
▄▄██▀▄███
▄▄▄████▀▄████▄░░
▀▀█░░▄▄▄▄████░░
▐█▀▄▄█████████
████▀███░░▄░
▄▄██░███░░█▌░
█▀▄▄▄████░▀▄░░
█▌████▀███▄░█░
▄██▄▀███▄▄▀
▀██░░▐██▄░░
██▀████▀█▌░
▄██▀▀██████▐█░░
███▀░░
Vann
Hero Member
*****
Offline Offline

Activity: 1036
Merit: 606



View Profile
April 28, 2018, 09:12:16 PM
 #14

Try this:

Code:
sudo apt-get install libcurl4-openssl-dev
swogerino (OP)
Legendary
*
Offline Offline

Activity: 3332
Merit: 1248


Bitcoin Casino Est. 2013


View Profile
April 28, 2018, 09:14:05 PM
 #15

Try this:

Code:
sudo apt-get install libcurl4-openssl-dev

Thank you, now the miner opens but it does not recognize my cards, I guess I need a restart because I just updated xorg server a few minutes ago. I am going away from PC, will let you know tomorrow.

███▄▀██▄▄
░░▄████▄▀████ ▄▄▄
░░████▄▄▄▄░░█▀▀
███ ██████▄▄▀█▌
░▄░░███▀████
░▐█░░███░██▄▄
░░▄▀░████▄▄▄▀█
░█░▄███▀████ ▐█
▀▄▄███▀▄██▄
░░▄██▌░░██▀
░▐█▀████ ▀██
░░█▌██████ ▀▀██▄
░░▀███
▄▄██▀▄███
▄▄▄████▀▄████▄░░
▀▀█░░▄▄▄▄████░░
▐█▀▄▄█████████
████▀███░░▄░
▄▄██░███░░█▌░
█▀▄▄▄████░▀▄░░
█▌████▀███▄░█░
▄██▄▀███▄▄▀
▀██░░▐██▄░░
██▀████▀█▌░
▄██▀▀██████▐█░░
███▀░░
Vann
Hero Member
*****
Offline Offline

Activity: 1036
Merit: 606



View Profile
April 28, 2018, 09:30:09 PM
 #16

You also may need to update the environmental path in .bashrc with the right path for your installed cuda version as explained here.

https://steemit.com/ethereum/@virtualcoin/how-to-gpu-mine-ethereum-for-linux-geforce-gtx

To reboot a system remotely from a terminal window you can use:

Code:
sudo reboot

or

Code:
sudo shutdown -r -t 0 now

To shutdown the computer use:

Code:
sudo shutdown -h -t 0 now
swogerino (OP)
Legendary
*
Offline Offline

Activity: 3332
Merit: 1248


Bitcoin Casino Est. 2013


View Profile
April 28, 2018, 09:40:39 PM
 #17

Thank you but I screw up, I change driver in driver section from 390 to 396 and now I only see green lines on the screen, used the recovery option and it doesn't work either, guess I need an Ubuntu latest version or HiveOS.

███▄▀██▄▄
░░▄████▄▀████ ▄▄▄
░░████▄▄▄▄░░█▀▀
███ ██████▄▄▀█▌
░▄░░███▀████
░▐█░░███░██▄▄
░░▄▀░████▄▄▄▀█
░█░▄███▀████ ▐█
▀▄▄███▀▄██▄
░░▄██▌░░██▀
░▐█▀████ ▀██
░░█▌██████ ▀▀██▄
░░▀███
▄▄██▀▄███
▄▄▄████▀▄████▄░░
▀▀█░░▄▄▄▄████░░
▐█▀▄▄█████████
████▀███░░▄░
▄▄██░███░░█▌░
█▀▄▄▄████░▀▄░░
█▌████▀███▄░█░
▄██▄▀███▄▄▀
▀██░░▐██▄░░
██▀████▀█▌░
▄██▀▀██████▐█░░
███▀░░
Vann
Hero Member
*****
Offline Offline

Activity: 1036
Merit: 606



View Profile
April 28, 2018, 09:50:13 PM
 #18

Even though under the hood most Linux distributions are basically the same, Ubuntu is a better choice for a new user as most guides for mining on Linux are based on Ubuntu. Linux Mint is also based on Ubuntu, but with a custom UI to make it more intuitive for users switching from Windows.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!