On 8/25/2015 1:13 PM, J.C. Cleaver wrote:
Hmm. Most likely, xymon wasn't built with OpenSSL included. The quickest way to tell is to look at your "xymonnet" test (a snapshot from when 4.3.21 was running). If the OpenSSL version isn't indicated in the first few lines, that's definitely the problem.
Do you have build logs from when this was originally run? And can you indicate your distro and openssl-devel version?
I completely deleted the extracted source archive, re-extracted it, and then did these commands:
cd xymon-4.3.21 build/makerpm.sh 4.3.21 > build.out.txt 2>&1
In the build.out.txt file, I see these lines:
make: *** [test-link] Error 1 Warning: Cannot link with SSL library OpenSSL include- or library-files not found.
If you want the full gory details, the logfile can be found here:
https://www.dropbox.com/s/g6f4d2scf8h3f7q/build.out.txt?dl=0
OpenSSL *is* installed, this is CentOS 6.7:
[root at mcp xymon-4.3.21]# rpm -qa | grep openssl openssl-devel-1.0.1e-42.el6.x86_64 openssl-1.0.1e-42.el6.x86_64
Also, I built 4.3.14 on this same system and it did work. This was back in January of 2014, a few days after I did the initial OS install on this server.
Running "yum distro-sync" did not install any relevant package updates, but I would imagine that OpenSSL has been upgraded at least once in the year and a half since 4.3.14 was built.
Resolving Dependencies --> Running transaction check ---> Package httpd.x86_64 0:2.2.15-45.el6.centos will be updated ---> Package httpd.x86_64 0:2.2.15-47.el6.centos will be an update ---> Package httpd-tools.x86_64 0:2.2.15-45.el6.centos will be updated ---> Package httpd-tools.x86_64 0:2.2.15-47.el6.centos will be an update ---> Package mod_ssl.x86_64 1:2.2.15-45.el6.centos will be updated ---> Package mod_ssl.x86_64 1:2.2.15-47.el6.centos will be an update ---> Package pam.x86_64 0:1.1.1-20.el6 will be updated ---> Package pam.x86_64 0:1.1.1-20.el6_7.1 will be an update ---> Package sqlite.x86_64 0:3.6.20-1.el6 will be updated ---> Package sqlite.x86_64 0:3.6.20-1.el6_7.2 will be an update ---> Package subversion.x86_64 0:1.6.11-14.el6 will be updated ---> Package subversion.x86_64 0:1.6.11-15.el6_7 will be an update ---> Package tzdata.noarch 0:2015e-1.el6 will be updated ---> Package tzdata.noarch 0:2015f-1.el6 will be an update ---> Package tzdata-java.noarch 0:2015e-1.el6 will be updated ---> Package tzdata-java.noarch 0:2015f-1.el6 will be an update --> Finished Dependency Resolution
Suggestion: As soon as the openssl error was encountered, the entire build should have been aborted. There should not have been an RPM for me to install. I did not think to check the log for errors ... I figured that since the RPM was created, everything was fine.
Thanks, Shawn