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:
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