Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 652602 - net-p2p/xmr-stak-2.4.2 AMD cannot load backend library: libxmrstak_opencl_backend.so: cannot open shared object file: No such file or directory
Summary: net-p2p/xmr-stak-2.4.2 AMD cannot load backend library: libxmrstak_opencl_bac...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Craig Andrews
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-05 18:18 UTC by ernsteiswuerfel
Modified: 2018-04-19 19:11 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ernsteiswuerfel archtester 2018-04-05 18:18:58 UTC
During the install phase libxmrstak_opencl_backend.so is copied to /usr/bin/ which is the wrong place I think. Running xmr-stak throws the following error and disables the opencl backend:

[2018-04-05 20:04:53] : Mining coin: monero7
WARNING: AMD cannot load backend library: libxmrstak_opencl_backend.so: cannot open shared object file: No such file or directory
WARNING: AMD Backend disabled
[2018-04-05 20:04:53] : WARNING: backend AMD disabled.

The simple solution is to move libxmrstak_opencl_backend.so over to /usr/lib64/. IMHO the file should be there in the first place.
Comment 1 Craig Andrews gentoo-dev 2018-04-06 19:16:23 UTC
Pull request submitted upstream: https://github.com/fireice-uk/xmr-stak/pull/1339
Comment 2 Larry the Git Cow gentoo-dev 2018-04-06 19:22:02 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9c1423bb64f362ff30e6c074bf27aff47829dd9

commit e9c1423bb64f362ff30e6c074bf27aff47829dd9
Author:     Craig Andrews <candrews@gentoo.org>
AuthorDate: 2018-04-06 19:21:32 +0000
Commit:     Craig Andrews <candrews@gentoo.org>
CommitDate: 2018-04-06 19:21:53 +0000

    net-p2p/xmr-stak: Set the library path to get_libdir
    
    Closes: https://bugs.gentoo.org/652602
    See: https://github.com/fireice-uk/xmr-stak/pull/1339
    Package-Manager: Portage-2.3.28, Repoman-2.3.9

 .../xmr-stak/files/xmr-stak-2.4.2-fix-paths.patch  | 68 +++++++++++++++++++++
 net-p2p/xmr-stak/xmr-stak-2.4.2-r1.ebuild          | 69 ++++++++++++++++++++++
 2 files changed, 137 insertions(+)
Comment 3 ernsteiswuerfel archtester 2018-04-06 19:39:43 UTC
Thanks!
Comment 4 ernsteiswuerfel archtester 2018-04-19 18:34:31 UTC
Reopening.

Exactly the same problem as in net-p2p/xmr-stak-2.4.3.
Comment 5 Larry the Git Cow gentoo-dev 2018-04-19 18:54:36 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f9ea9cd3d9766def07333a0ec0721ee38b100c1

commit 1f9ea9cd3d9766def07333a0ec0721ee38b100c1
Author:     Craig Andrews <candrews@gentoo.org>
AuthorDate: 2018-04-19 18:51:40 +0000
Commit:     Craig Andrews <candrews@gentoo.org>
CommitDate: 2018-04-19 18:54:27 +0000

    net-p2p/xmr-stak: Set LIBRARY_OUTPUT_PATH
    
    Closes: https://bugs.gentoo.org/652602
    Package-Manager: Portage-2.3.31, Repoman-2.3.9

 net-p2p/xmr-stak/xmr-stak-2.4.3-r1.ebuild | 66 +++++++++++++++++++++++++++++++
 1 file changed, 66 insertions(+)
Comment 6 ernsteiswuerfel archtester 2018-04-19 19:11:50 UTC
That was quick! Thanks.