[afnog] FreeBSD compat4X

Phil Regnauld regnauld at x0.dk
Mon Jan 16 11:50:00 EAT 2006


On Mon, Jan 16, 2006 at 10:39:10AM +0200, Antonio Godinho wrote:
> Hi all,
> 
> I have a server running FreeBSD 6.0 and it is running an antivirus vexira 
> for FreeBSD. The problem is that the antivirus needs the compat4x libraries 
> in order to function. I have installed compat4x, and after installing it the 
> antivirus starts normally but if I reboot the machine, the antivirus 
> complains of all the missing libraries like libm.so.2, etc... If I deinstall 
> the port compat4x and reinstall it, the antivirus starts working again. I 
> have noticed that the compat4x libraries are under /usr/local/lib/compat and 
> if I copy the missing one to /usr/local/lib, the antivirus will then 
> complain of another one which is also under /usr/local/lib/compat. Is there 
> something I can do to make the /usr/local/lib/compat visible?

	Looks like the port, after install, runs ldconfig -m /usr/local/lib/compat,
	but not the boot script.

	Check /etc/defaults/rc.conf:

ldconfig_paths="/usr/lib/compat /usr/X11R6/lib /usr/local/lib /usr/local/lib/compat/pkg"

	... maybe you need to redefine that in /etc/rc.conf ?

	Phil




More information about the afnog mailing list