Implications of a 64-bit queue manager
When using the new 64-bit queue manager, the use of the LIBPATH and LD_LIBRARY_PATH environment variable is not advised. Setting these environment variables might result in you not being able to run any WebSphere MQ commands. By default, the installation will operate as in previous versions of WebSphere MQ, with symbolic links being created from /usr/lib, /usr/bin and /usr/include to the appropriate files within the WebSphere MQ tree structure. In the case of /usr/lib the symbolic links will be to the 32-bit WebSphere MQ libraries provided for customer 32-bit applications.
No symbolic links are required for the 64-bit WebSphere MQ libraries required by WebSphere MQ commands. All WebSphere MQ commands are 64-bit and have a built in path to the WebSphere MQ 64-bit libraries, however, this can be overridden by the use of LIBPATH and thus can cause WebSphere MQ commands to fail to run. The recommended way of using WebSphere MQ commands and your applications is as follows:
- Unset LIBPATH and LD_LIBRARY_PATH and build your applications with a built in path to the appropriate WebSphere MQ libraries, this is detailed in the appropriate WebSphere MQ book for your type of WebSphere MQ application.
- If we need to set LIBPATH or LD_LIBRARY_PATH, consider not including /usr/lib in the path you specify in the variable. If we need to include /usr/lib in your LIBPATH or LD_LIBRARY_PATH then in order to avoid errors running 64-bit WebSphere MQ applications or WebSphere MQ commands, consider removing the symbolic links from /usr/lib to the 32-bit WebSphere MQ libraries using the dltmqlnk command. The symbolic links can be restored with the crtmqlnk command. You also need to build your applications with a built in path to the appropriate WebSphere MQ libraries.
Note that both the dltmqlnk command and the crtmqlnk command are scripts, and take no parameters.
- If we cannot use either of the first two options, run your applications in a different environment to the one which issues any WebSphere MQ commands.
WebSphere MQ libraries are in the following locations: /opt/mqm/lib (32-bit libraries) and /opt/mqm/lib64 (64-bit libraries).
Parent topic:
Preparing to install
sq10340_