[rescue] wording clarification - problems compiling istatd and/or Bjango istatserverlinux on Solaris 11.3
Jerry Kemp
sun.mail.list47 at oryx.us
Mon May 21 09:27:38 CDT 2018
Wording is a little confusing. Sorry about that. The iPhone app works great. Its the server/daemon end of things that I'm
experiencing compile issues on. Also, but not necessarily relevant, have got successful compiles on a couple of other (Unix) platforms.
Jerry
On 21/05/18 09:24, Jerry Kemp wrote:
> I recently discovered a neat iPhone app for viewing server statistics, and have been playing around with it at home. There are
> several versions/forks, and for this part, I'm referencing these (2) source code downloads
>
> https://github.com/tiwilliam/istatd
>
> and
>
> https://github.com/tiwilliam/istatd/downloads
> specifically, the latest code, version 0.5.8
>
> This quickly configures and compiles fine, and produces the expected binary with minimal warnings, however, I keep ending up with this:
>
> /usr/local/src/i/istatd-0.5.8 579 # file istatd
>
> istatd: ELF 32-bit LSB executable 80386 Version 1, dynamically linked, not stripped
> dns32 /usr/local/src/i/istatd-0.5.8 580 # ldd ./istatd
> libsocket.so.1 => /usr/lib/libsocket.so.1
> libnsl.so.1 => /usr/lib/libnsl.so.1
> libxml2.so.2 => /usr/lib/libxml2.so.2
> libkstat.so.1 => /usr/lib/libkstat.so.1
> libstdc++.so.6 => /usr/lib/libstdc++.so.6
> libstdc++.so.6 (GLIBCXX_3.4.20) => (version not found)
> libm.so.2 => /usr/lib/libm.so.2
> librt.so.1 => /usr/lib/librt.so.1
> libgcc_s.so.1 => /usr/lib/libgcc_s.so.1
> libc.so.1 => /usr/lib/libc.so.1
> libmp.so.2 => /usr/lib/libmp.so.2
> libucrypto.so.1 => /lib/libucrypto.so.1
> libpthread.so.1 => /usr/lib/libpthread.so.1
> libz.so.1 => /usr/lib/libz.so.1
> libelf.so.1 => /usr/lib/libelf.so.1
> libcryptoutil.so.1 => /usr/lib/libcryptoutil.so.1
>
> /usr/local/src/i/istatd-0.5.8 581 # ./istatd --help
> ld.so.1: istatd: fatal: libstdc++.so.6: version 'GLIBCXX_3.4.20' not found (required by file istatd)
> ld.so.1: istatd: fatal: libstdc++.so.6: open failed: No such file or directory
> Killed
> /usr/local/src/i/istatd-0.5.8 582 #
>
> The story starts out similar, once Pre-reqs are met, the configure goes fine, however, the compile doesn't get past the first line
> before generating, what appears to be SSL related errors.
>
> /usr/local/src/i/istatserverlinux-master 586 # gmake
>
> gmake all-recursive
> gmake[1]: Entering directory `/usr/local/src/i/istatserverlinux-master'
> Making all in .
> gmake[2]: Entering directory `/usr/local/src/i/istatserverlinux-master'
> gmake[2]: Leaving directory `/usr/local/src/i/istatserverlinux-master'
> Making all in src
> gmake[2]: Entering directory `/usr/local/src/i/istatserverlinux-master/src'
> gmake[3]: Entering directory `/usr/local/src/i/istatserverlinux-master/src'
> depbase=`echo main.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
> c++ -DHAVE_CONFIG_H -I. -I.. -Wall -I /usr/local/include -I/usr/include/libxml2 -g -O2 -MT main.o -MD -MP -MF $depbase.Tpo -c -o
> main.o main.cpp &&\
> mv -f $depbase.Tpo $depbase.Po
> main.cpp: In function SSL_CTX* InitServerCTX():
> main.cpp:328:5: error: EC_KEY was not declared in this scope
> EC_KEY *ecdh = EC_KEY_new_by_curve_name(NID_X9_62_prime256v1);
> ^
> main.cpp:328:13: error: ecdh was not declared in this scope
> EC_KEY *ecdh = EC_KEY_new_by_curve_name(NID_X9_62_prime256v1);
> ^
> main.cpp:328:65: error: EC_KEY_new_by_curve_name was not declared in this scope
> EC_KEY *ecdh = EC_KEY_new_by_curve_name(NID_X9_62_prime256v1);
> ^
> main.cpp:335:21: error: EC_KEY_free was not declared in this scope
> EC_KEY_free(ecdh);
> ^
> gmake[3]: *** [main.o] Error 1
> gmake[3]: Leaving directory `/usr/local/src/i/istatserverlinux-master/src'
> gmake[2]: *** [all-recursive] Error 1
> gmake[2]: Leaving directory `/usr/local/src/i/istatserverlinux-master/src'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/usr/local/src/i/istatserverlinux-master'
> gmake: *** [all] Error 2
>
> /usr/local/src/i/istatserverlinux-master 587 #
>
> =================================================================================================================
>
> Wondering if anyone see's anything obvious I'm looking over, or has located another istat server that functionally compiles on Solaris?
>
> Thanks,
>
> Jerry
> _______________________________________________
> rescue list - http://www.sunhelp.org/mailman/listinfo/rescue
More information about the rescue
mailing list