| 
			
			 | 
		#1 | 
| 
			
			
			
			 Member 
			
			![]() Posts: 13 
				Karma: 10 
				Join Date: Aug 2008 
				
				
				
				Device: Sony PRS505 
				
				
				 | 
	
	
	
		
		
			
			 
				
				another install problem
			 
			
			
			Hi, 
		
	
		
		
		
		
		
		
		
		
		
		
	
	still having problems installing Calibre in opensuse 11.1 using the latest binary and got the following error message: Starting HAL daemon done udevadm control expects commands without underscore, this will stop working in a future release Setting up bash completion... failed Traceback (most recent call last): File "/home/kovid/work/calibre/src/calibre/linux.py", line 191, in setup_completion File "/home/kovid/work/calibre/src/calibre/gui2/main.py", line 29, in <module> File "/home/kovid/work/calibre/src/calibre/gui2/dialogs/scheduler.py", line 23, in <module> File "/home/kovid/work/calibre/src/calibre/gui2/dialogs/user_profiles.py", line 10, in <module> File "/home/kovid/work/calibre/src/calibre/gui2/dialogs/user_profiles_ui.py", line 245, in <module> File "/home/kovid/work/calibre/src/calibre/gui2/widgets.py", line 19, in <module> File "/home/kovid/work/calibre/src/calibre/utils/fontconfig.py", line 117, in <module> File "/usr/lib/python2.6/ctypes/__init__.py", line 366, in __getattr__ func = self.__getitem__(name) File "/usr/lib/python2.6/ctypes/__init__.py", line 371, in __getitem__ func = self._FuncPtr((name_or_ordinal, self)) AttributeError: /home/derry/calibre/loader: undefined symbol: FcPatternBuild Traceback (most recent call last): File "/tmp/init.py", line 45, in <module> File "/home/kovid/work/calibre/src/calibre/linux.py", line 482, in binary_install File "/home/kovid/work/calibre/src/calibre/linux.py", line 452, in post_install File "/home/kovid/work/calibre/src/calibre/linux.py", line 323, in setup_completion UnboundLocalError: local variable 'manifest' referenced before assignment /home/derry/calibre/calibre_postinstall: line 7: 4004 Segmentation fault $loader "$@" Any help would be gratefully appreciated, Derry  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#2 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			What does the following output 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Code: 
	calibre-debug -c "from ctypes import util; print util.find_library('fontconfig')"
 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#3 | 
| 
			
			
			
			 Member 
			
			![]() Posts: 13 
				Karma: 10 
				Join Date: Aug 2008 
				
				
				
				Device: Sony PRS505 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			output is as follows: 
		
	
		
		
		
		
		
		
		
		
		
		
	
	None /usr/bin/calibre-debug: line 7: 3681 Segmentation fault $loader "$@" Thanks for getting back to me Derry  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#4 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			What about this: 
		
	
		
		
		
		
		
		
		
		
		
		
	
	readelf -a /usr/lib/libfontconfig.so | grep FcPatternBuild  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#5 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Also if you have a 64bit system, you need to make sure you have 32 bit versions of the fontconfig and freetype libraries
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#6 | 
| 
			
			
			
			 Member 
			
			![]() Posts: 13 
				Karma: 10 
				Join Date: Aug 2008 
				
				
				
				Device: Sony PRS505 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Hi, 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Thanks to your posts above, I've managed to solve the problem. I had a look to see if I had freetype installed, had freetype2 installed but not freetype itself. I installed this and ran calibre_postinstall, and this time it worked fine. Thanks again for your time, much appreciated, Derry  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#7 | 
| 
			
			
			
			 Junior Member 
			
			![]() Posts: 4 
				Karma: 10 
				Join Date: Apr 2009 
				
				
				
				Device: prs505 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			hi Derry, 
		
	
		
		
		
		
		
		
		
		
		
		
	
	I have a similar problem to yours. i read your post and installed freetype besides freetype2, as you suggested, but the problem persists. What exactly did you do to solve this? How do you ran calibre_postinstall, i can't seem to find it! Dimitrios  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#8 | 
| 
			
			
			
			 Junior Member 
			
			![]() Posts: 4 
				Karma: 10 
				Join Date: Apr 2009 
				
				
				
				Device: prs505 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			update: i run /opt/calibre/calibre_postinstall and get 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Creating symlinks... Traceback (most recent call last): File "/tmp/init.py", line 45, in <module> File "/home/kovid/work/calibre/src/calibre/linux.py", line 479, in binary_install OSError: [Errno 13] Permission denied: '/usr/bin/epub2lrf' /opt/calibre/calibre_postinstall: line 7: 9336 Segmentation fault $loader "$@"  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#9 | 
| 
			
			
			
			 Sigil & calibre developer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,487 
				Karma: 1063785 
				Join Date: Jan 2009 
				Location: Florida, USA 
				
				
				Device: Nook STR 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			calibre_postinstall needs to be run with root privileges.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
            
        
    
| Thread Tools | Search this Thread | 
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Problem with 0.7.4 install | Jzz | Calibre | 1 | 06-21-2010 01:14 PM | 
| Install problem on ubuntu | frdimond | Calibre | 14 | 02-19-2010 02:26 AM | 
| Install problem | No Sade | Calibre | 6 | 01-16-2010 05:14 PM | 
| Post-install problem | wmaurer | Calibre | 17 | 02-04-2009 02:01 PM | 
| Problem with binary install | ferridder | Calibre | 1 | 11-18-2008 02:27 PM |