› Clovertech Forums › Read Only Archives › Cloverleaf › Cloverleaf › Error after installing CL 6.2 AIX
Could not load program /usr//bin/ssh:
Dependent module /hci/cis6.2/integrator/lib/libz.a(libz.so.1) could not be loaded.
Member libz.so.1 is not found in archive
hci ppcf% showroot
HCI root is /hci/cis6.2/integrator
HCI site is vm_default
I resolved this by renaming
/hci/cis6.2/integrator/lib/libz.a
to
/hci/cis6.2/integrator/lib/xlibz.a.bak
There is another libz.a on the O/S.
Hopefully I haven’t screwed something else up by doing this.
I have a support ticket open. I’ll let you know what they say.
Support would rather argue with me about how I was doing my upgrade wrong rather than resolving my issue.
They weren’t any help.
Infor support?
If so, I would agree with them. It is not a best practice or even a good idea to remove, replace, or override files used by Cloverleaf.
If that file is causing you problems, it may be an indicator of something else which could lead to other problems down the road.
I’d have to get a lot more detail from you in order to help, but I would suggest you exactly follow the instructions in the install guide including meeting the OS requirements and prerequisites. And if you still run into problems, then follow the suggestions offering by Support as they have many, many years of experience supporting Cloverleaf.
-- Max Drown (Infor)
I think other products also have a libz file on AIX, like IBM’s Tivoli. Not sure if they install it or just use it from an optional package.
Peter Heggie
PeterHeggie@crouse.org
Thanks Max, you too are going down the wrong path here.
hci ppcf% scp ppcg:/hci/root/vm1_adt/NetConfig .
is not working after the install.
I would have gotten the same broken result if I ran
hci ppcf% scp ppcg:/home/hci/MickeyMouse .
I wish you folks would focus on the error and not what I am trying to accomplish.
Peter, I found the others:
/hciprod/archive/sandbox/CL620/CL620installdir/jre/lib/ppc/libzip.so
/hciprod/cis6.2/integrator/clgui/jre/lib/ppc/libzip.so
/hciprod/cis6.2/integrator/lib/libz.a
/opt/IBM/ITM/JRE/aix523/bin/libzip.a
/opt/IBM/ITM/JRE/aix526/lib/ppc64/libzip.so
/opt/freeware/lib/libz.a
/opt/xiv/host_attach/xpyv/lib/libz.a
/opt/xiv/host_attach/xpyv/lib/libz.so
/opt/xiv/host_attach/xpyv/lib/libz.so.1
/opt/xiv/host_attach/xpyv/lib/libz.so.1.2.3.3
/usr/java71/jre/lib/ppc/libzip.so
/usr/java71_64/jre/lib/ppc64/libzip.so
/usr/java8/jre/lib/ppc/libzip.so
/usr/java8_64/jre/lib/ppc64/libzip.so
/usr/lib/libz.a
So by renaming the broken one /hci/cis6.2/integrator/lib/libz.a
it found a good one in the path.
We’ll submit a ticket to R&D and report what appears to be a bug with the installation of CIS 6.2 on AIX. I’ll post the ticket # when we get it.
-- Max Drown (Infor)
Here is some feedback from R&D.
1. you cannot just rename cloverleaf lib(libz.a) which would make Cloverleaf runtime fails to run
2. scp on AIX(my AIX 6.1) uses ssh which depends old verson of openssl0.9.8. and Cloverleaf has higher version deployed.
clbuild@sjcaix005 9>scp hci@localhost:/tmp/somefile ./
Could not load program /usr//bin/ssh:
-- Max Drown (Infor)
Here’s a work around provided by one of services guys (Dan Duffley).
function scp {
if -n “$HCIROOT” && -n “$CL_INSTALL_DIR”; then
clinstalldir=$CL_INSTALL_DIR
hcisite=$HCISITE
hciroot=$HCIROOT
setroot -clear
/usr/bin/scp $*
export CL_INSTALL_DIR=$clinstalldir
setroot $hciroot $hcisite
else
/usr/bin/scp $*
fi
}
-- Max Drown (Infor)
Thanks Max.
Will R&D be supplying the missing files?
They seem to be on my 6.1 prod box.
This is what my 6.1 prod install looks like:
hci ppcg% find /hci/cis6.1/integrator/ -name “*libz*”
/hci/cis6.1/integrator/clgui/jre/lib/ppc/libzip.so
/hci/cis6.1/integrator/lib/libz.a
/hci/cis6.1/integrator/lib/libz.so
/hci/cis6.1/integrator/lib/libz.so.1
/hci/cis6.1/integrator/lib/libz.so.1.2.3
find: cannot chdir to : Permission denied
hci ppcg%
I don’t believe so. If I hear otherwise, I’ll let everyone know.
-- Max Drown (Infor)
We just had the same thing happen today after installing 6.2 this past week. This was helpful so that we didn’t have to open a ticket to figure out what was wrong.
we ended up opening a ticket with Infor on this issue and they had a fix prepared – several modules to be put in a specific cloverleaf library, replacing what was already there. We did that and the problem is gone.
Peter Heggie
PeterHeggie@crouse.org
R&D has fixed this in future versions of 6.2, AR 16821 (Provide shared library for zlib on AIX). For now you can use the attached tar file of zlib libraries. Just untar into $HCIROOT/lib. Backup the existing files if you like.
awesome thank you
Peter Heggie
PeterHeggie@crouse.org
Why this file (libz.tar) is not include in the last Patch 6.2.1 ??? 😈 😈 👿
Cecile
