Coder Social home page Coder Social logo

Missing file on extraction about silentarmy HOT 6 CLOSED

mbevand avatar mbevand commented on July 20, 2024
Missing file on extraction

from silentarmy.

Comments (6)

 avatar commented on July 20, 2024

@Untuchabull looks like compiler can't find your OpenCL library:

/usr/bin/ld: cannot find -lOpenCL

from silentarmy.

Pseudonym96 avatar Pseudonym96 commented on July 20, 2024

How do I fix this? :(

from silentarmy.

mbevand avatar mbevand commented on July 20, 2024

Can you find where is the OpenCL lib on your system?:

find / -name "libOpenCL.so*" 2>/dev/null

from silentarmy.

Pseudonym96 avatar Pseudonym96 commented on July 20, 2024

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.

mbevand avatar mbevand commented on July 20, 2024

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.

Pseudonym96 avatar Pseudonym96 commented on July 20, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.