Hello friends,
I am trying to configure MQ on a recently built server. I got the following error while trying to read a message from the queue for the first time
ds_loadlibrary: error in dlopen of mqs.so - /opt/Ascential/DataStage/DSEngine/lib/mqs.so: undefined symbol: _ZTI6ImqItm
The following is the output from the server
ldd /opt/Ascential/DataStage/DSEngine/lib/mqs.so
ldd: warning: you do not have execution permission for `/opt/Ascential/DataStage/DSEngine/lib/mqs.so'
libmqm.so => /usr/lib/libmqm.so (0x00e79000)
libmqmcs.so => /usr/lib/libmqmcs.so (0x00896000)
libimqb23gl_r.so => /usr/lib/libimqb23gl_r.so (0x00111000)
libimqs23gl_r.so => /usr/lib/libimqs23gl_r.so (0x00b39000)
libnsl.so.1 => /lib/libnsl.so.1 (0x00a6c000)
libdl.so.2 => /lib/libdl.so.2 (0x00597000)
libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x00130000)
libm.so.6 => /lib/tls/libm.so.6 (0x001e3000)
libc.so.6 => /lib/tls/libc.so.6 (0x00205000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x0033e000)
libmqz.so => /opt/mqm/lib/libmqz.so (0x00503000)
libmqmzse.so => /opt/mqm/lib/libmqmzse.so (0x00347000)
libmqmcs_r.so => /opt/mqm/lib/libmqmcs_r.so (0x00349000)
libstdc++.so.3 => not found
libmqm_r.so => /opt/mqm/lib/libmqm_r.so (0x006ca000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x00d7a000)
libstdc++.so.3 => not found
libpthread.so.0 => /lib/tls/libpthread.so.0 (0x00d47000)
libmqz_r.so => /opt/mqm/lib/libmqz_r.so (0x00b84000)
Are there any missing links on the server? Any help would be highly appreciated
Thanks in advance
Yamini
MQ plug-in issues (missing files)
Moderators: chulett, rschirm, roy
We contacted IBM support and they asked us to execute the following
1/ You need to create libstdc++ link as:
ln -s /usr/lib/libstdc++-2-libc6.1-1-2.9.0.so /usr/lib/libstdc++-libc6.1-2.so.3
2/ Could you please add the following to the DSENV file as the runtime libraries must be referenced:
EXPORT LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/mqm/lib2.95.2:/usr/lib
Then stop the DSEngine, source the dsenv file again and then start up that DSEngine.
3/ MQ Series 295.2 library link must be created:
ln -s /opt/mqm/lib/2.95.2/libimqb23gl.so /opt/mqm/lib/libimqb23gl.so
ln -s /opt/mqm/lib/2.l95.2/libmqb23gl_r.so /opt/mqm/lib/libimqb23gl_r.so
ln -s /opt/mqm/lib/2.95.2/libimqs23gl.so /opt/mqm/lib/libimqs23gl.so
ln -s /opt/mqm/lib/2.95.2/libimqs23gl-r.so /opt/mqm/lib/libimqb23gl-r.so
The problem is that the job is still failing with the same error.
Can someone please help me resolve this issue?
Thanks in advance
Yamini
1/ You need to create libstdc++ link as:
ln -s /usr/lib/libstdc++-2-libc6.1-1-2.9.0.so /usr/lib/libstdc++-libc6.1-2.so.3
2/ Could you please add the following to the DSENV file as the runtime libraries must be referenced:
EXPORT LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/mqm/lib2.95.2:/usr/lib
Then stop the DSEngine, source the dsenv file again and then start up that DSEngine.
3/ MQ Series 295.2 library link must be created:
ln -s /opt/mqm/lib/2.95.2/libimqb23gl.so /opt/mqm/lib/libimqb23gl.so
ln -s /opt/mqm/lib/2.l95.2/libmqb23gl_r.so /opt/mqm/lib/libimqb23gl_r.so
ln -s /opt/mqm/lib/2.95.2/libimqs23gl.so /opt/mqm/lib/libimqs23gl.so
ln -s /opt/mqm/lib/2.95.2/libimqs23gl-r.so /opt/mqm/lib/libimqb23gl-r.so
The problem is that the job is still failing with the same error.
Can someone please help me resolve this issue?
Thanks in advance
Yamini
The problem was with the missing links. We solve the issue by executing the following statements
ln -s /opt/mqm/lib/3.2/libimqb23gl_r.so /opt/mqm/lib/ibimqb23gl_r.so
ln -s /opt/mqm/lib/3.2/libimqb23gl.so /opt/mqm/lib/libimqb23gl.so
ln -s /opt/mqm/lib/3.2/libimqc23gl_r.so /opt/mqm/lib/libimqc23gl_r.so
ln -s /opt/mqm/lib/3.2/libimqc23gl.so /opt/mqm/lib/libimqc23gl.so
ln -s /opt/mqm/lib/3.2/libimqs23gl_r.so /opt/mqm/lib/libimqs23gl_r.so
ln -s /opt/mqm/lib/3.2/libimqs23gl.so /opt/mqm/lib/libimqs23gl.so
ln -s /opt/mqm/lib/3.2/libimqb23gl_r.so /opt/mqm/lib/ibimqb23gl_r.so
ln -s /opt/mqm/lib/3.2/libimqb23gl.so /opt/mqm/lib/libimqb23gl.so
ln -s /opt/mqm/lib/3.2/libimqc23gl_r.so /opt/mqm/lib/libimqc23gl_r.so
ln -s /opt/mqm/lib/3.2/libimqc23gl.so /opt/mqm/lib/libimqc23gl.so
ln -s /opt/mqm/lib/3.2/libimqs23gl_r.so /opt/mqm/lib/libimqs23gl_r.so
ln -s /opt/mqm/lib/3.2/libimqs23gl.so /opt/mqm/lib/libimqs23gl.so