crossover office

Jakub Jelinek jakub at redhat.com
Fri Nov 14 10:20:42 UTC 2003


On Fri, Nov 14, 2003 at 04:14:38AM -0500, Dave Tetreault wrote:
> 
> I initially encountered the problem while doing a test install of Photo 
> Shop.   Some applications such a PS require that certain memory areas be 
> available.  CXoffice hs a test routine for this in cxoffice/bin/cxmaptest.  
> This routine will report if it can't map the area.  
> 
> Prelink with the standard arguments will map portions of libraries and 
> routines into this area.
> 
> Bypass   in /etc/sysconfig/prelink set 
> 		PRELINKING=no
> 	and run /sbin/prelink -u
> 		rm /etc/prelink.conf (Just to be sure)
> 
> Better bypass
> 
> 	in /etc/sysconfig/prelink set
> 		PRELINK_OPTS="-mR --no-exec-shield"
> 
> 	run /sbin/prelink -u
> 	rm /etc/prelink.conf (Just to be sure)	

This is a bad step.  Prelink will not work then.
My proposal is:
perl -pi -e 's/PRELINK_OPTS=-mR/PRELINK_OPTS="-mR --no-exec-shield"/' \
  /etc/sysconfig/prelink
touch /var/lib/misc/prelink.force
/etc/cron.daily/prelink

	Jakub





More information about the fedora-list mailing list