HPE GreenLake Administration
- Community Home
 - >
 - Servers and Operating Systems
 - >
 - Operating Systems
 - >
 - Operating System - HP-UX
 - >
 - Error while compilation
 
Operating System - HP-UX
        1840126
        Members
    
    
        3155
        Online
    
    
        110161
        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
 
09-15-2003 08:49 AM
09-15-2003 08:49 AM
			
				
					
					
						I am getting the following error while compilation:
/usr/bin/ld: Can't find library for -lct_r
I am using gcc compiler on HP-UX 10.20. Can anyone please tell me what is the cause of this problem.
Anand.
					
				
			
			
				
			
			
				
	
			
				
		
			
			
			
			
			
			
		
		
		
	
	
	
/usr/bin/ld: Can't find library for -lct_r
I am using gcc compiler on HP-UX 10.20. Can anyone please tell me what is the cause of this problem.
Anand.
Solved! Go to Solution.
		3 REPLIES 3
	
	            
            
		
		
			
            
                - Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
09-15-2003 08:55 AM
- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
09-15-2003 10:33 AM
09-15-2003 10:33 AM
			
				
					
						
							Re: Error while compilation
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						Thanks Umapathy, After including the sybase libraries, the compilation is successful but I have some more problems while compiling different components. I was able to compile these components fine sometimes back but I am getting the following errors now:
collect2: executing gcc: Permission denied
collect2: gcc returned 33 exit status
The Web - Objects were installed sometimes back and after that I am getting the above mentioned error. Can you or anyone else please help me out on this.
Anand.
		
		
	
	
	
collect2: executing gcc: Permission denied
collect2: gcc returned 33 exit status
The Web - Objects were installed sometimes back and after that I am getting the above mentioned error. Can you or anyone else please help me out on this.
Anand.
- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
09-16-2003 12:30 AM
09-16-2003 12:30 AM
			
				
					
						
							Re: Error while compilation
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						Anand,
Something is wrong with your gcc installation. collect2 is a special program used to link Objective C and C++ programs (it's invoked by
gcc). Apparently it's trying to invoke gcc, but the gcc it's invoking isn't right. Make sure that the collect2, ld, and gcc you're using are
all from the same gcc version.
HTH,
Umapathy
		
		
	
	
	
Something is wrong with your gcc installation. collect2 is a special program used to link Objective C and C++ programs (it's invoked by
gcc). Apparently it's trying to invoke gcc, but the gcc it's invoking isn't right. Make sure that the collect2, ld, and gcc you're using are
all from the same gcc version.
HTH,
Umapathy
	Arise Awake and Stop NOT till the goal is Reached!
			
			
				
			
			
			
			
			
			
		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