Closed forrie closed 8 years ago
Try CFLAGS=-I/usr/local/include/path-to-curl and LDFLAGS=-L/usr/local/lib/path/to/curl on configure command line
after manually compiling and installing libcurl
to /usr/local
I was able to get to the linking, however:
cc -I/usr/local/include -pthread -L/usr/local/lib -o minerd minerd-cpu-miner.o minerd-util.o minerd-sha2.o minerd-scrypt.o -lcurl -L/usr/lib -L/usr/lib -L/usr/lib -lidn -lssl -lcrypto -lsldap -lldap -lsocket -lnsl -lgss -lssl -lcrypto -lz compat/jansson/libjansson.a -lpthread
ld: fatal: soname option (-h, --soname) is incompatible with building a dynamic executable
ld: fatal: flags processing errors
solaris studio doesn't like -pthread
, instead I put -pg -v
. I don't know how to tell ./configure
about that, but just copy the command and adapt it worked for me (I'm sure this would need some modification in the auto magic).
executing minerd
gives me this now:
[2013-11-16 20:04:41] stratum_recv_line failed
[2013-11-16 20:04:41] ...retry after 30 seconds
[2013-11-16 20:05:11] stratum_recv_line failed
[2013-11-16 20:05:11] ...retry after 30 seconds
[2013-11-16 20:05:42] stratum_recv_line failed
[2013-11-16 20:05:42] ...retry after 30 seconds
[...]
any idea?
closed - obsolete software - not actively supported or maintained.
It appears to incorrectly match the version of libcurl during the configure process:
configure: error: Missing required libcurl >= 7.10.1
where I have > versions installed in exported/ldconfig locations (/opt/csw/lib, /usr/local/lib):
[ csw ] libcurl2 CSWlibcurl2 7.11.2,REV=2011.04.29 84.0 KB libcurl3 CSWlibcurl3 7.15.5,REV=2011.04.29 107.0 KB libcurl4 CSWlibcurl4 7.25.0,REV=2012.04.26 360.0 KB libcurl4_feature CSWlibcurl4-feature 7.25.0,REV=2012.04.26 397.6 KB libcurl_dev CSWlibcurl-dev 7.25.0,REV=2012.04.26 144.1 KB
[ local compiled ] version 7.30.0
Specifying the locations with the --with-libcurl option has no effect.
My system:
SunOS hostname.com 5.10 Generic_144501-19 i86pc i386 i86pc
psrinfo:
0 on-line since 11/12/2012 08:12:19 1 on-line since 11/12/2012 08:13:13 2 on-line since 11/12/2012 08:13:13 3 on-line since 11/12/2012 08:13:13 4 on-line since 11/12/2012 08:13:13 5 on-line since 11/12/2012 08:13:13 6 on-line since 11/12/2012 08:13:13 7 on-line since 11/12/2012 08:13:13 8 on-line since 11/12/2012 08:13:14 9 on-line since 11/12/2012 08:13:14 10 on-line since 11/12/2012 08:13:14 11 on-line since 11/12/2012 08:13:1