silentarmy icon indicating copy to clipboard operation
silentarmy copied to clipboard

Cannot find libcl.so

Open Cyberpangolin opened this issue 7 years ago • 3 comments

I'm trying to use silentarmy on my intel GPU, but something is very strange: I always get the error "error while loading shared libraries: libcl.so: cannot open shared object file: No such file or directory"

What I already did:

  • Read all instructions about Intel GPUs. RTFM is always what I do first.
  • Compile successfully with the appropriate options (OPENCL_HEADERS aso) and all packages installed.
  • Triple check that everything is fine: The ways are correct, beignet seems installed (libcl.so is at the right place)
  • copy all beignet libs into the silentarmy dir, adapt the options and recompile

but always the same error.

Where did I miss the point? Or is it a bug?

EDIT: for some reason it's now working. Probably it's related to the way the path to the library is written into the readme.md, but I could not find the error.

RE-EDIT: now I'm affected by https://github.com/mbevand/silentarmy/issues/46

Probably the intel support should be removed - or corrected. In such a case, I intend to mine with my intel gpu at the default adress for 100 hours.

Cyberpangolin avatar Aug 09 '17 21:08 Cyberpangolin

have you tried LD_LIBRARY_PATH="/usr/lib/x86_64-linux-gnu/beignet" ./silentarmy? Try sudo updatedb and sudo ldconfig and try again.

Edit: Ubuntu 16.10

paulosuzart avatar Oct 10 '17 05:10 paulosuzart

LD_LIBRARY_PATH="/usr/lib/x86_64-linux-gnu/beignet" ./silentarmy

this works for me. but i dont know why.

lerg96 avatar Nov 22 '17 12:11 lerg96

that got rid of the error but now i get other errors:

Connecting to us1-zcash.flypool.org:3333
Solver 0.0: unexpected banner "DRM_IOCTL_I915_GEM_APERTURE failed: Invalid argument"
Solver 0.1: unexpected banner "DRM_IOCTL_I915_GEM_APERTURE failed: Invalid argument"
Stratum server sent us the first job
Mining on 1 device

chiwalfrm avatar Nov 29 '17 03:11 chiwalfrm