Shared library (mqs.so) failed to load:

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
durgaps
Participant
Posts: 74
Joined: Sat Jul 08, 2006 4:09 am
Location: Melbourne, Australia
Contact:

Shared library (mqs.so) failed to load:

Post by durgaps »

Hi,

I have a job which uses a MQ Stage to read messages from the Queue. Its a new DataStage installation on Linux. While running the job, I am getting the following error. Any idea why this is happening and how to resolve this ?
main_program: Fatal Error: Fatal: Shared library (mqs.so) failed to load: errno = (0), system message = (libstdc++.so.3: cannot open shared object file: No such file or directory)
Durga Prasad
Kirtikumar
Participant
Posts: 437
Joined: Fri Oct 15, 2004 6:13 am
Location: Pune, India

Post by Kirtikumar »

For job execution, each stage needs to have libray required for that stage in your LIBPATH env variable.
In your case, when you are using the MQ stage, to execute the job it needs the library files for MQ.
The error message means, for MQ it needs a lib file mqs.so and directory names mentioned LIBPATH do not have this file.

To avoid this error, check where this file is available and update the value of this variable so that job will find the library file.
Regards,
S. Kirtikumar.
lstsaur
Participant
Posts: 1139
Joined: Thu Oct 21, 2004 9:59 pm

Post by lstsaur »

Durga,
You need to install the Message Adapter PACK and to update your LD_LIBRARY_PATH in your dsenv file to point to the mqs.so.

In oder for MQ stage to work, you also must install the MQ server on the same machine as the DS server resides.
Post Reply