prelink breaks VMware 4.5.2 on FC2?

Keith G. Robertson-Turner fedora-forums at
Mon Jun 14 17:47:37 UTC 2004

On Mon, 14 Jun 2004 16:00:10 +0100, D. D. Brierton wrote:

> On Mon, 2004-06-14 at 15:04, Jonathan Rawle wrote:

>> prelink -ua
>> to un-prelink everything.
>> If vmware works now, you'll know what the problem was.

> vmware does indeed work now, so that confirms that it is prelink which is
> breaking vmware.

> Rather than moving vmware's binaries I would much rather blacklist them in
> /etc/prelink.conf. However, I don't know which of the kazillion files
> VMware Workstation installs need to be blacklisted, and on top of that
> generates some kernel modules and I'm not sure where it
> puts them

su -
### save this to
### then sh
export	vmpath=`which vmware | xargs dirname` &&\
	echo "#VMWare blacklist"  >>/etc/prelink.conf &&\
	file $vmpath/vm{net*,ware*} |\
	grep ELF |\
	sed -e "s/:.*//g" |\
	sed -e "s/^/-b /g" >>/etc/prelink.conf && \
	find /lib/modules/`uname -r` -name vmmon.o |\
	sed -e "s/^/-b /g" >>/etc/prelink.conf &&\
	find /lib/modules/`uname -r` -name vmnet.o |\
	sed -e "s/^/-b /g" >>/etc/prelink.conf

Make sure you have a version of prelink that supports blacklists. I've
been rolling my own for a while now, so I haven't been keeping up with the
changelogs in the main release. Maybe this is already done, but just in
case, here's a link to the development version: (

> Ideally applications which don't work with prelink should have a
> post-install script in their RPM which adds the relevant blacklist lines
> to /etc/prelink.conf.

Good idea.


More information about the fedora-list mailing list