HPE GreenLake Administration
- Community Home
 - >
 - Servers and Operating Systems
 - >
 - Operating Systems
 - >
 - Operating System - HP-UX
 - >
 - Re: Linking problem during 11V2 upgrade
 
Operating System - HP-UX
        1840167
        Members
    
    
        3461
        Online
    
    
        110162
        Solutions
    
Forums
        Categories
Company
Local Language
                
                  
                  back
                
        
                
        
                
        
                
        
        
        
                
        
                
        
        
        
                
        
              
              Forums
Discussions
Forums
- Data Protection and Retention
 - Entry Storage Systems
 - Legacy
 - Midrange and Enterprise Storage
 - Storage Networking
 - HPE Nimble Storage
 
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
                
                  
                  back
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
            
                
            
                
            
                
            
                
            
            
                
            
                
            
            
                
            
                
              
            Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
 - Appliance Servers
 - Alpha Servers
 - BackOffice Products
 - Internet Products
 - HPE 9000 and HPE e3000 Servers
 - Networking
 - Netservers
 - Secure OS Software for Linux
 - Server Management (Insight Manager 7)
 - Windows Server 2003
 - Operating System - Tru64 Unix
 - ProLiant Deployment and Provisioning
 - Linux-Based Community / Regional
 - Microsoft System Center Integration
 
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
        Information
        Community
Resources
Community Language
        Language
        Forums
Blogs
	
		
			
            
                
            Go to solution
        
            
		
		
			
            	
	
		
        
		
	
	
		Topic Options
			
				
					
	
			
		
	- Subscribe to RSS Feed
 - Mark Topic as New
 - Mark Topic as Read
 - Float this Topic for Current User
 - Bookmark
 - Subscribe
 - Printer Friendly Page
 
- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
03-28-2007 10:59 PM
03-28-2007 10:59 PM
			
				
					
					
						Hello,
We are currently working on migrating our applications from HP-UX 11i to HP-UX 11V2. We are facing some issues during our linking process. The error message we get is "ld: Mismatched ABI (not an ELF file) for -lapi".
We copied the shared library "libapi.sl" from HP-UX 11i. Linking is working fine when we do it on HP-UX 11i box. But we are getting the error on HP-UX 11V2 box. Could you please confirm whether we can directly copy the shared library file from 11i to 11V2 and use ?
Thanks in advance for your help.
	
			
				
		
			
			
			
			
			
			
		
		
		
	
	
	
We are currently working on migrating our applications from HP-UX 11i to HP-UX 11V2. We are facing some issues during our linking process. The error message we get is "ld: Mismatched ABI (not an ELF file) for -lapi".
We copied the shared library "libapi.sl" from HP-UX 11i. Linking is working fine when we do it on HP-UX 11i box. But we are getting the error on HP-UX 11V2 box. Could you please confirm whether we can directly copy the shared library file from 11i to 11V2 and use ?
Thanks in advance for your help.
Solved! Go to Solution.
		3 REPLIES 3
	
	            
            
		
		
			
            
                - Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
03-28-2007 11:31 PM
03-28-2007 11:31 PM
Solution
			
				
					
					
						>Could you please confirm whether we can directly copy the shared library file from 11i to 11V2 and use?
You can copy the lib from PA to IPF but all you can do is also copy the executable and then run. You can't do linking/development of PA applications.
		
		
	
	
	
You can copy the lib from PA to IPF but all you can do is also copy the executable and then run. You can't do linking/development of PA applications.
- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
03-28-2007 11:56 PM
03-28-2007 11:56 PM
			
				
					
						
							Re: Linking problem during 11V2 upgrade
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						We create our own shared library by linking 
"libapi.sl". The process we followed:
- Copied libapi.sl from 11i to 11V2.
- Tried creating our own shared library by linking "libapi.sl" (that we copied from 11i)
- Linking failed with error "ld: Mismatched ABI (not an ELF file) for -lapi"
From your reply, we understand that we can not use the shared library which was built in 11i on 11V2? Kindly correct me if I am wrong.
Thanks in advance, Sathis Kumar
		
		
	
	
	
"libapi.sl". The process we followed:
- Copied libapi.sl from 11i to 11V2.
- Tried creating our own shared library by linking "libapi.sl" (that we copied from 11i)
- Linking failed with error "ld: Mismatched ABI (not an ELF file) for -lapi"
From your reply, we understand that we can not use the shared library which was built in 11i on 11V2? Kindly correct me if I am wrong.
Thanks in advance, Sathis Kumar
- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
03-29-2007 08:47 AM
03-29-2007 08:47 AM
			
				
					
						
							Re: Linking problem during 11V2 upgrade
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						>we understand that we can not use the shared library which was built in 11i on 11v2? Kindly correct me if I am wrong.
(You need to be more specific. 11i v2 supports both PA and IPF. So you need to mention you are on Integrity.)
Yes, and no.
You can copy the whole application over to IPF and just run it under Aries.
But you can't mix and match PA and IPF objects so if you need to change anything or want it to run at native speeds, you have to recompile and link the whole application, including any third party libs.
		
		
	
	
	
(You need to be more specific. 11i v2 supports both PA and IPF. So you need to mention you are on Integrity.)
Yes, and no.
You can copy the whole application over to IPF and just run it under Aries.
But you can't mix and match PA and IPF objects so if you need to change anything or want it to run at native speeds, you have to recompile and link the whole application, including any third party libs.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
		
	
	
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP