Comments (6)
@Untuchabull looks like compiler can't find your OpenCL library:
/usr/bin/ld: cannot find -lOpenCL
from silentarmy.
How do I fix this? :(
from silentarmy.
Can you find where is the OpenCL lib on your system?:
find / -name "libOpenCL.so*" 2>/dev/null
from silentarmy.
I got this after running that command: /opt/AMDAPPSDK-3.0/lib/x86/libOpenCL.so
/opt/AMDAPPSDK-3.0/lib/x86/libOpenCL.so.1
/opt/AMDAPPSDK-3.0/lib/x86_64/libOpenCL.so
/opt/AMDAPPSDK-3.0/lib/x86_64/sdk/libOpenCL.so
/opt/AMDAPPSDK-3.0/lib/x86_64/sdk/libOpenCL.so.1
/usr/lib/x86_64-linux-gnu/libOpenCL.so.1.0.0
/usr/lib/x86_64-linux-gnu/libOpenCL.so.1
/usr/share/man/man7/libOpenCL.so.7.gz
Sorry I am a super scrub haha, this is my first time using Linux and diving into the world of crypto currency mining
from silentarmy.
Compile with this command and it will work:
make LIBOPENCL=/opt/AMDAPPSDK-3.0/lib/x86_64
The reason of your problem is because for some reason the AMDGPU-PRO driver doesn't create a .so file but instead a .so.1 -- however you can just tell it to use the .so installed by AMDAPPSDK
Alternatively if you don't want to use this complicated make command every time you want to compile it, you can fix the problem permanently on your system by creating a symlink:
sudo ln -s libOpenCL.so.1 /usr/lib/x86_64-linux-gnu/libOpenCL.so
Then just compile with:
make
Good luck :)
from silentarmy.
ok, I got rid of all the previous files and I am installing everything from scratch again, I will try this shortly, thank you so much!
from silentarmy.
Related Issues (20)
- Build under MAC HOT 1
- Problems getting started: make test and sa-solver -use 0 fail
- Cannot find libcl.so HOT 3
- Use with Intel Xeon Phi CPU 7250 HOT 1
- Docs for Xeon Phi HOT 2
- Error:pipe closed by peer or os.write(pipe, data) raised exception. HOT 3
- Debian 8 & HD 6970: 0 Sols
- API / Stats
- Add equihash solver 48,5 HOT 6
- Correctly validate hashReserved
- Android running, how to reduce the use of gpu. HOT 2
- Error compiling on Ubuntu HOT 1
- ./sa-solver: error while loading shared libraries: libcl.so: cannot open shared object file: No such file or directory
- When i launch sa-solver i get this errors
- Pool error help wanted
- Doesn't do anything on GTX 670 HOT 7
- Error after reboot
- Updated version
- clCreateCommandQueue (-6) HOT 3
- Stratum server sent us the first job Mining on 1 device HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from silentarmy.