| Author | 
		  Message
		 | 
		
		  | boydl | 
		  
		    
			  
				 Posted: Wed Aug 09, 2006 12:15 am    Post subject: Application error after upgrading WMQ5.3 to WMQ6.0 | 
				     | 
			   
			 
		   | 
		
		
		   Novice
 
 Joined: 05 Feb 2003 Posts: 16
  
  | 
		  
		    
			  
				hi all,
 
 AFAIK, when we upgrade WMQ from 5.3->6.0, existing applications (32bit) shld still be able to function as per normal. Similar sentiments expressed in this post: 
 
http://www.mqseries.net/phpBB2/viewtopic.php?t=31150
 
 
However, when I run my app, I am getting the following error:
 
/usr/lib/dld.sl: Unresolved symbol: dlopen (code)  from /opt/mqm/lib/libmqmcs.sl
 
 
environment information:
 
 
OS - HPUX 11i
 
 
dspmqver:
 
Name:        WebSphere MQ
 
Version:     6.0.0.0
 
CMVC level:  p000-L050519
 
BuildType:   IKAP - (Production)
 
 
ldd command output: 
 
        /usr/lib/libc.1 =>      /usr/lib/libc.1
 
        /usr/lib/libdld.1 =>    /usr/lib/libdld.1
 
        /usr/lib/libmqm.sl =>   /usr/lib/libmqm.sl
 
        /opt/mqm/lib/libmqmzse.sl =>    /opt/mqm/lib/libmqmzse.sl
 
        /opt/mqm/lib/libmqmcs.sl =>     /opt/mqm/lib/libmqmcs.sl
 
        /opt/mqm/lib/libmqz.sl =>       /opt/mqm/lib/libmqz.sl
 
        /opt/mqm/lib/libmqmzse.sl =>    /opt/mqm/lib/libmqmzse.sl
 
        /opt/mqm/lib/libmqmcs.sl =>     /opt/mqm/lib/libmqmcs.sl
 
 
 
I am at my wits end !!!
 
 
Additional point to note (which makes it more difficult): I dont have the source code to recompile!
 
 
thanks
 
blim | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | mvic | 
		  
		    
			  
				 Posted: Wed Aug 09, 2006 2:57 am    Post subject: Re: Application error after upgrading WMQ5.3 to WMQ6.0 | 
				     | 
			   
			 
		   | 
		
		
		    Jedi
 
 Joined: 09 Mar 2004 Posts: 2080
  
  | 
		  
		    
			  
				
   
	| boydl wrote: | 
   
  
	dspmqver:
 
Name:        WebSphere MQ
 
Version:     6.0.0.0
 
CMVC level:  p000-L050519
 
BuildType:   IKAP - (Production) | 
   
 
 
You shouldn't need to re-compile the app in order to make the MQ bits work.
 
Try:
 
Installing latest MQ fix packs etc.
 
If problem persists, call IBM Support. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | jefflowrey | 
		  
		    
			  
				 Posted: Wed Aug 09, 2006 3:05 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Grand Poobah
 
 Joined: 16 Oct 2002 Posts: 19981
  
  | 
		  
		    
			  
				32 bit applications will run, but you need to change the lib path to point at the 32 bit MQ libraries.
 
 
The default libraries in v6 now point to the 64bit libraries. _________________ I am *not* the model of the modern major general. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | boydl | 
		  
		    
			  
				 Posted: Wed Aug 09, 2006 10:49 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Novice
 
 Joined: 05 Feb 2003 Posts: 16
  
  | 
		  
		    
			  
				I hv upgrade to 6.0.1.1 but the problem still persist.
 
 
dspmqver
 
Name:        WebSphere MQ
 
Version:     6.0.1.1
 
CMVC level:  p600-101-060504
 
BuildType:   IKAP - (Production)
 
 
I hv also set the SHLIB_PATH to /opt/mqm/lib but to no avail.
 
 
Any other ideas??
 
 
regards. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | jefflowrey | 
		  
		    
			  
				 Posted: Thu Aug 10, 2006 1:23 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Grand Poobah
 
 Joined: 16 Oct 2002 Posts: 19981
  
  | 
		  
		    
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | mvic | 
		  
		    
			  
				 Posted: Thu Aug 10, 2006 2:41 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Jedi
 
 Joined: 09 Mar 2004 Posts: 2080
  
  | 
		  
		    
			  
				
   
	| jefflowrey wrote: | 
   
  
	32 bit applications will run, but you need to change the lib path to point at the 32 bit MQ libraries.
 
 
The default libraries in v6 now point to the 64bit libraries. | 
   
 
 
Sorry, but I think both of these points are incorrect.  32-bit libraries are in /opt/mqm/lib and 64-bit libraries are in /opt/mqm/lib64 | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | jefflowrey | 
		  
		    
			  
				 Posted: Thu Aug 10, 2006 3:15 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Grand Poobah
 
 Joined: 16 Oct 2002 Posts: 19981
  
  | 
		  
		    
			  
				
   
	| mvic wrote: | 
   
  
	
   
	| jefflowrey wrote: | 
   
  
	32 bit applications will run, but you need to change the lib path to point at the 32 bit MQ libraries.
 
 
The default libraries in v6 now point to the 64bit libraries. | 
   
 
 
Sorry, but I think both of these points are incorrect.  32-bit libraries are in /opt/mqm/lib and 64-bit libraries are in /opt/mqm/lib64 | 
   
 
 
 
That is indeed what the documentation says.  
 
 
      _________________ I am *not* the model of the modern major general. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | rtsujimoto | 
		  
		    
			  
				 Posted: Thu Aug 10, 2006 9:57 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Centurion
 
 Joined: 16 Jun 2004 Posts: 119 Location: Lake Success, NY 
  | 
		  
		    
			  
				| I would try to run the JAVA IVP first, to prove your environment is correct. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | boydl | 
		  
		    
			  
				 Posted: Tue Aug 15, 2006 12:32 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Novice
 
 Joined: 05 Feb 2003 Posts: 16
  
  | 
		  
		    
			  
				Hi all,
 
 I am still stuck with the problem ... appreciate some help.
 
 
Additional information as per below (ran the odump command to dump info on the object file)
 
----------
 
 
Compilation Unit Dictionary from dumpq:
 
 
Index Chunk 	Language 				    Name
 
    	Product_id ; Version_id 
 
    	Compile time ; Source time
 
 
   0   0  PA-RISC 2.0 Assembler                              crt0.o         
 
	                                                    
 
	  HP92453-03; UX.10.20.02 (DAVIS) 
 
	  Compile Time: Fri Jan 19 1996 14:50:45.000000000 MAL
 
	  Source  Time: Fri Jan 19 1996 14:50:44.000000000 MAL
 
 
   1   0  HPC                                                mapdld
 
ccom options =  -ESlit -DA1.0 -DS1.0 -Oq02,al,ag,cn,Lm,sz,Ic,vo,lc,Mf,Po,es,rs,sp,in,vc,Pi,fa,pe,Rr,Fl,pv,pa,nf,cp,lx! -Ac
 
	                                                    
 
	  HP92453-01  ; A.10.31. 
 
	  Compile Time: Sat Apr 27 1996 01:01:13.000000000 MAL
 
	  Source  Time: Tue Apr 02 1996 01:59:35.000000000 MAL
 
 
   2   0  PA-RISC 2.0 Assembler                              <STDIN>        
 
	                                                    
 
	  HP92453-03; UX.10.20.02 (DAVIS) 
 
	  Compile Time: Fri Jan 19 1996 14:51:04.000000000 MAL
 
	  Source  Time: None
 
 
   3   0  PA-RISC 2.0 Assembler                              div_const      
 
	                                                    
 
	  HP92453-03; UX.10.20.02 (DAVIS) 
 
	  Compile Time: Fri Jan 19 1996 16:16:09.000000000 MAL
 
	  Source  Time: Fri Jan 19 1996 16:16:09.000000000 MAL
 
 
   4   0  PA-RISC 2.0 Assembler                              remI           
 
	                                                    
 
	  HP92453-03; UX.10.20.02 (DAVIS) 
 
	  Compile Time: Fri Jan 19 1996 16:16:25.000000000 MAL
 
	  Source  Time: Fri Jan 19 1996 16:16:25.000000000 MAL
 
 
   5   0  PA-RISC 2.0 Assembler                              dyncallU       
 
	                                                    
 
	  HP92453-03; UX.10.20.02 (DAVIS) 
 
	  Compile Time: Fri Jan 19 1996 16:16:43.000000000 MAL
 
	  Source  Time: Fri Jan 19 1996 16:16:43.000000000 MAL
 
 
----------
 
 It looks like the apps is pretty "ancient" and was compiled on HPUX 10.20.  Question, is there any compatiblity issues that needs to be considered when for apps compiled with MQ5.2 (or MQ5.1) to link to WMQ6.0?
 
 
regards | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | mvic | 
		  
		    
			  
				 Posted: Tue Aug 15, 2006 2:02 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Jedi
 
 Joined: 09 Mar 2004 Posts: 2080
  
  | 
		  
		    
			  
				
   
	| boydl wrote: | 
   
  
	| It looks like the apps is pretty "ancient" and was compiled on HPUX 10.20.  Question, is there any compatiblity issues that needs to be considered when for apps compiled with MQ5.2 (or MQ5.1) to link to WMQ6.0? | 
   
 
 
IIRC, there were separate MQ products on HP-UX 10.20 and 11.00.  It would not surprise me if MQ apps built on 10.20 did not work on 11.00, 11.11 etc.  Have you called IBM support?  What did they say? | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |