Xymon Mailing List Archive search

Zymon 4.2.3 libssl error (64bit)

list Skou Pi
Mon, 14 Mar 2011 12:47:38 +0000
Message-Id: <AANLkTinwTYaEsYLnx=user-04150c8d383d@xymon.invalid>

Hi Ralph,

No there are not errors or warning when I run ./configure or make,
at least not in the standard output. Should I check in any log file ?

The only error I get is when make install fails :

cd etcfiles; (echo "bb-hosts"; echo "hobbit-alerts.cfg"; echo
"hobbit-clients.cfg"; echo "bbcombotest.cfg"; echo "client-local.cfg") |
../../build/setup-newfiles /home/xymon/server/etc/
../../build/setup-newfiles: error while loading shared libraries:
libssl.so.6: cannot open shared object file: No such file or directory
make[1]: *** [install-cfg] Error 127
make[1]: Leaving directory `/home/xymon/xymon-4.2.3/hobbitd'
make: *** [install-hobbitd] Error 2

I have try running the ./configure with no ssl enabled and also creating a
symbolic link from the libssl64 version to the 32 with no luck as you can
see bellow :

Do you want to be able to test SSL-enabled services (y) ?
no

ls /usr/lib64/libss*
/usr/lib64/libssh2.so.1  /usr/lib64/libssh2.so.1.0.1  /usr/lib64/libssl3.so
 /usr/lib64/libssl.so  /usr/lib64/libssl.so.0.9.8e  /usr/lib64/libssl.so.10
 /usr/lib64/libssl.so.1.0.0a  /usr/lib64/libssl.so.6

ls /usr/lib/libss*
/usr/lib/libssl.so.10  /usr/lib/libssl.so.1.0.0a

ln -s /usr/lib64/libssl.so.6 /usr/lib/libssl.so.6

cd etcfiles; (echo "bb-hosts"; echo "hobbit-alerts.cfg"; echo
"hobbit-clients.cfg"; echo "bbcombotest.cfg"; echo "client-local.cfg") |
../../build/setup-newfiles /home/xymon/server/etc/
../../build/setup-newfiles: error while loading shared libraries:
libssl.so.6: wrong ELF class: ELFCLASS64
make[1]: *** [install-cfg] Error 127
make[1]: Leaving directory `/home/xymon/xymon-4.2.3/hobbitd'
make: *** [install-hobbitd] Error 2


I thought this was a Centos installation but its actually an Amazon EC2 64
bit instance if that's helps:

cat /etc/issue
Amazon Linux AMI release 2010.11.1 (beta)
Kernel \r on an \m

uname -r
2.6.34.7-56.40.amzn1.x86_64

Looking forward to your reply.

On Sun, Mar 13, 2011 at 04:13, Ralph Mitchell <user-00a5e44c48c0@xymon.invalid>wrote:
The thing I find confusing is that the build is OK and the install fails.
 Are there no warnings or errors while configuring and building??

Ralph Mitchell


On Sat, Mar 12, 2011 at 8:44 PM, Skou Pi <user-ee291b4ff206@xymon.invalid> wrote:
Thanks for the reply Ralph.

Does anyone have an idea regarding the error message ?


On Sat, Mar 12, 2011 at 17:50, Ralph Mitchell <user-00a5e44c48c0@xymon.invalid>wrote:
On Sat, Mar 12, 2011 at 11:39 AM, Nick Gr <user-ee291b4ff206@xymon.invalid> wrote:
Hi,

I tried to install Zymon 4.2.3 in a Centos 64 bit and get the following
message when I run make install :

 etcfiles; (echo "bb-hosts"; echo "hobbit-alerts.cfg"; echo
"hobbit-clients.cfg"; echo "bbcombotest.cfg"; echo "client-local.cfg") |
../../build/setup-newfiles /home/xymon/server/etc/
../../build/setup-newfiles: error while loading shared libraries:
libssl.so.6: cannot open shared object file: No such file or directory
make[1]: *** [install-cfg] Error 127
make[1]: Leaving directory `/home/xymon/xymon-4.2.3/hobbitd'
make: *** [install-hobbitd] Error 2


It seems the installation needs the openssl and openssl-devel 32 bit
instead of 64, I have tried to create a symbolic link to the 64 version but
it confirms the error with a message regarding ELF-64..

Can some one please tell me if Xymon is official compatible with 64 bit
systems and if yes how can I proceed with this problem ?
I have a 64-bit system with Fedora 14:

Linux lorien.example.com 2.6.35.11-83.fc14.x86_64 #1 SMP Mon Feb 7
07:06:44 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux

and have built both xymon-4.2.3 & xymon-4.3.0 without a problem.  I have:

     openssl-devel-1.0.0d-1.fc14.x86_64
     openssl-1.0.0d-1.fc14.x86_64

as well as rrdtool, openldap & pcre devel rpms.

Ralph Mitchell