Post
Topic
Board Mining (Altcoins)
Re: [GUIDE] How to rent your rig on LEASERIG.NET - Scrypt & SHA256
by
jason20005
on 19/03/2014, 05:28:25 UTC
I was trying to get LRP statically linked with idea of isolating gethostbyname call in a library. So, I created library - this part is fine. But when I try to link it with LRP, I constantly get error '/usr/bin/ld: cannot find -llrp'

Yes, I know all about naming - this part is correct, and library is there. I also used -L. switch and googled for all possible solutions.

I simply give up...

EDIT: Someone with good knowledge will know how to solve this issue. An idea is following; I am sure glibc.so of version 2.15 can be obtained? Then place it somewhere and make sure LRP uses this glibc and not the systems one. How to do it - linux expert will know it!

I downloaded glibc.so of version 2.15, but it does not solve the library problem.
leaserigproxy_linux runs and print some message and then got segmentation fault:
Quote
user@smos-1:~/Projects/leaserig$ ./leaserigproxy_linux 3333 XXXXX 0

LeaseRig.net mining rig proxy, v0.05b

ID: XXXXX
Segmentation fault



gdb does not show anything useful since it does not have any debug symbol in the binary


Quote
(gdb) set args 33333 635-848fb9de-6fae-4ed2-a02c-a5b2f020d336 0
(gdb) run
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: /home/user/Projects/leaserig/leaserigproxy_linux 33333 635-848fb9de-6fae-4ed2-a02c-a5b2f020d336 0

LeaseRig.net mining rig proxy, v0.05b

ID: 635-848fb9de-6fae-4ed2-a02c-a5b2f020d336

Program received signal SIGSEGV, Segmentation fault.
0xb7e04fff in ?? ()