Topic
1 reply Latest Post - ‏2010-02-19T17:02:12Z by ishields
LenseM
LenseM
1 Post
ACCEPTED ANSWER

Pinned topic WEBSphere MQ Client Install Error on mqlicense.sh -accept

‏2010-02-19T16:30:59Z |
I am trying to install MQ Client on Red Hat Version 5.4 server x86_64 bit server...

When I downloaded the software, this is what I downloaded:

5. WebSphere MQ Client 5.3 Released Product 09 Jan 2008 127MB Linux for System x 86Series

When I try the first step of there process it fails trying to find shared libraries: libpthread.so.0

  1. /tmp/rpm/MQClientwithSSL/mqlicense.sh -accept
/tmp/rpm/MQClientwithSSL/lap/jre/bin/exe/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory

ERROR: Installation will not succeed unless the license agreement can be accepted.

The MQ Client is 32 bit, but I am told it should work on 64 bit server...

A locate shows that the module is on the server, both 32 and 64 bit:

  1. locate libpthread.so.0
/lib/libpthread.so.0
/lib/i686/nosegneg/libpthread.so.0
/lib64/libpthread.so.0

My LD_LIBRARY_PATH was set as:
  1. echo $LD_LIBRARY_PATH
/opt/CA/SharedComponents/JRE/1.4.2_09/lib/i386/client:/opt/CA/SharedComponents/
JRE/1.4.2_09/lib/i386:/opt/CA/SharedComponents/ccs/dia/dna/lib:/opt/CA/SharedCo
mponents/ccs/dia/lib:/usr/lib:/opt/CA/CAlib:/opt/CA/SharedComponents/lib:/opt/CA/Sh
aredComponents/Csam/SockAdapter/lib

The ldd command on this shows the module it's complaining that it can't find, and it's location, so doesn't that mean it actually knows it's location ??

  1. ldd /tmp/rpm/MQClientwithSSL/lap/jre/bin/exe/java
linux-gate.so.1 => (0xffffe000)
libpthread.so.0 => /lib/libpthread.so.0 (0xf7f96000)
libnsl.so.1 => /lib/libnsl.so.1 (0xf7f7f000)
libdl.so.2 => /lib/libdl.so.2 (0xf7f7b000)
libc.so.6 => /lib/libc.so.6 (0xf7e35000)
/lib/ld-linux.so.2 (0xf7faf000)
#

I did not see /lib in the path, so I added it to the LD_LIBRARY_PATH, but still had the same results:

  1. export LD_LIBRARY_PATH=/lib:$LD_LIBRARY_PATH

  1. echo $LD_LIBRARY_PATH
/lib:/opt/CA/SharedComponents/JRE/1.4.2_09/lib/i386/client:/opt/CA/SharedCompon
ents/JRE/1.4.2_09/lib/i386:/opt/CA/SharedComponents/ccs/dia/dna/lib:/opt/CA/Share
dComponents/ccs/dia/lib:/usr/lib:/opt/CA/CAlib:/opt/CA/SharedComponents/lib:/opt/CA
/SharedComponents/Csam/SockAdapter/lib

  1. /tmp/rpm/MQClientwithSSL/mqlicense.sh -accept
/tmp/rpm/MQClientwithSSL/lap/jre/bin/exe/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory

If I add the /lib64 to the path, it finds it, but fails with the following:

error while loading shared libraries: libpthread.so.0: wrong ELF class: ELFCLASS64

Any one have any ideas for help ??
Updated on 2010-02-19T17:02:12Z at 2010-02-19T17:02:12Z by ishields
  • ishields
    ishields
    988 Posts
    ACCEPTED ANSWER

    Re: WEBSphere MQ Client Install Error on mqlicense.sh -accept

    ‏2010-02-19T17:02:12Z  in response to LenseM
    MQ Version 5.3 is somewhat old now. I think the underlying problem may be related to the NPTL thread library being the default. You can download a trial version 7.0.1. The support document includes a section on installing MQ 5.3 on Red Hat Enterprise 3.0 which may help you, although I do not know if MQ 5.3 is actually supported on your OS.

    There is also a WebSphere MQ forum where you might find more expert help in MQ.

    Ian Shields