|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Error while loading shared libraries |
« View previous topic :: View next topic » |
Author |
Message
|
matsik |
Posted: Tue May 13, 2014 12:43 am Post subject: Error while loading shared libraries |
|
|
Newbie
Joined: 13 May 2014 Posts: 2
|
Yesterday during testing a server running MQ was rebooted. Now if I issue a simple dspmq I get the following error :
dspmq: error while loading shared libraries: libmqml_r.so: wrong ELF class: ELFCLASS32
Server / MQ details are :
[mqm@waptuvirtual0bb ~]$ uname -a
Linux waptuvirtual0bb 2.6.32-358.6.2.el6.x86_64 #1 SMP Tue May 14 15:48:21 EDT 2013 x86_64 x86_64 x86_64 GNU/Linux
[mqm@waptuvirtual0bb ~]$ dspmqver
Name: WebSphere MQ
Version: 7.1.0.4
Level: p710-004-131106
BuildType: IKAP - (Production)
Platform: WebSphere MQ for Linux (x86-64 platform)
Mode: 64-bit
O/S: Linux 2.6.32-358.6.2.el6.x86_64
InstName: Installation1
InstDesc:
InstPath: /opt/mqm
DataPath: /var/mqm
Primary: No
MaxCmdLevel: 711
Any suggestions? I can't find much through Google. Thanks. |
|
Back to top |
|
 |
MQsysprog |
Posted: Tue May 13, 2014 1:26 am Post subject: |
|
|
Centurion
Joined: 24 Feb 2014 Posts: 116
|
Probably,
It is trying to load of a 32 bit library, when you need a 64 bit one instead .
So a good check of the Installation directories and the libraries contained may be advisable .
Hope It helps... |
|
Back to top |
|
 |
Tibor |
Posted: Tue May 13, 2014 1:31 am Post subject: Re: Error while loading shared libraries |
|
|
 Grand Master
Joined: 20 May 2001 Posts: 1033 Location: Hungary
|
matsik wrote: |
dspmq: error while loading shared libraries: libmqml_r.so: wrong ELF class: ELFCLASS32 |
Theoretically it means: your libmqml_r.so is a 32-bit library on your 64-bit operating system. Could you check your lib files, perhaps is there a wrong one in your library path?
Firstly you can check your dspmq command, eg.
Code: |
$ type dspmq
dspmq is hashed (/opt/mqm/bin/dspmq)
$ file /opt/mqm/bin/dspmq
/opt/mqm/bin/dspmq: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.4, not stripped
$ ldd /opt/mqm/bin/dspmq
linux-vdso.so.1 => (0x00007fffcd18f000)
libmqml_r.so => /opt/mqm/lib64/libmqml_r.so (0x00007ff08ab11000)
libmqmcs_r.so => /opt/mqm/lib64/libmqmcs_r.so (0x00007ff08a6d3000)
libmqxzu_r.so => /opt/mqm/lib64/libmqxzu_r.so (0x00007ff08a49d000)
libmqmr_r.so => /opt/mqm/lib64/libmqmr_r.so (0x00007ff089ec9000)
libmqzi_r.so => /opt/mqm/lib64/libmqzi_r.so (0x00007ff089cec000)
libmqds_r.so => /opt/mqm/lib64/libmqds_r.so (0x00007ff089bb9000)
libmqmzse.so => /opt/mqm/lib64/libmqmzse.so (0x00007ff089ab8000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x0000003a1a200000)
libdl.so.2 => /lib64/libdl.so.2 (0x0000003a19e00000)
libc.so.6 => /lib64/libc.so.6 (0x0000003a19a00000)
librt.so.1 => /lib64/librt.so.1 (0x0000003a1ae00000)
libm.so.6 => /lib64/libm.so.6 (0x0000003a1a600000)
/lib64/ld-linux-x86-64.so.2 (0x0000003a19600000)
|
|
|
Back to top |
|
 |
matsik |
Posted: Tue May 13, 2014 1:39 am Post subject: |
|
|
Newbie
Joined: 13 May 2014 Posts: 2
|
Many thanks for the help. Linux team has just come to the same conclusion. They are going to do a restore on that node to an image taken a week back. Hopefully that will fix it. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|