| 
 | 
 | 
 
Home » U++ TheIDE » U++ TheIDE: Installation, Compiling and Running of theide » TheIDE failed to run with xlib 
	
		
		
			| TheIDE failed to run with xlib [message #48584] | 
			Wed, 02 August 2017 11:00   | 
		 
		
			
				
				
				
					
						  
						rafiwui
						 Messages: 105 Registered: June 2017  Location: Stuttgart, Germany
						
					 | 
					Experienced Member  | 
					 | 
		 
		 
	 | 
 
	
		After compiling the U++ package under CentOS 6.9 I wanted to start it but I get the following error: 
Xlib:  extension "RANDR" missing on display "desktop-284qpdh:0".
Invalid memory access!
  
Did someone already face this problem or knows a solution? 
Do I have to set any environment variables? (like LD_LIBRARY_PATH or similiar) 
		
		
  Greetings 
Daniel
		
 |  
	| 
		
	 | 
 
 
 |  
	
		
		
			| Re: TheIDE failed to run with xlib [message #48585 is a reply to message #48584] | 
			Wed, 02 August 2017 12:17    | 
		 
		
			
				
				
				
					
						  
						rafiwui
						 Messages: 105 Registered: June 2017  Location: Stuttgart, Germany
						
					 | 
					Experienced Member  | 
					 | 
		 
		 
	 | 
 
	
		Ok so I added /usr/lib64 to LD_LIBRARY_PATH and now it seems that RANDR is not missing anymore but I get the following errors now: 
./theide: /usr/lib64/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by ./theide)
./theide: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by ./theide)
./theide: /usr/lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by ./theide)
  
Is this because CentOS 6.9 comes with an too old gcc and my installation of the new one doesn't replace or change everything correct?
		
		
  Greetings 
Daniel
		
 |  
	| 
		
	 | 
 
 
 |  
	| 
		
 |  
	| 
		
 |  
	| 
		
 |  
	| 
		
 |  
	
		
		
			| Re: TheIDE failed to run with xlib [message #48688 is a reply to message #48686] | 
			Thu, 24 August 2017 14:48    | 
		 
		
			
				
				
				
					
						  
						rafiwui
						 Messages: 105 Registered: June 2017  Location: Stuttgart, Germany
						
					 | 
					Experienced Member  | 
					 | 
		 
		 
	 | 
 
	
		Well yes that was correct for the workaround but like I wrote here  
Quote:After reinstalling U++ this workaround does not work anymore.  
it is useless to add the libraries to the environment variables. 
Before reinstalling I removed my self compiled gcc btw so at the moment I am running the official devtoolset-6 gcc compiler (Version 6.3.1). 
But I still have the "Invalid memory access!" error.
		
		
  Greetings 
Daniel
		
 |  
	| 
		
	 | 
 
 
 |  
	
		
		
			| Re: TheIDE failed to run with xlib [message #48690 is a reply to message #48688] | 
			Thu, 24 August 2017 15:38    | 
		 
		
			
				
				
				  | 
					
						  
						amrein
						 Messages: 278 Registered: August 2008  Location: France
						
					 | 
					Experienced Member  | 
					 | 
		 
		 
	 | 
 
	
		Are you stuck with CentOS 6.9 or can you update to Centos 7 (1611) ? 
 
I had strange issues with CentOS 6.x in the past and I couldn't solve them, even for the last stable U++ release. I'm quite sure that I won't be able to solve them today too. Too much troubles for a so tinny outcome.
		
		
		[Updated on: Thu, 24 August 2017 15:51] Report message to a moderator  
 |  
	| 
		
	 | 
 
 
 |  
	| 
		
 |  
	| 
		
 |   
Goto Forum:
 
 Current Time: Tue Nov 04 01:03:57 CET 2025 
 Total time taken to generate the page: 0.05117 seconds 
 |   
 |  
  |