Subject: Re: ymessenger-0.99.19-1 and Linux emulation
To: Nick Hudson <skrll@netbsd.org>
From: Jaromir Dolecek <jdolecek@netbsd.org>
List: current-users
Date: 12/04/2002 22:10:02
Nick Hudson wrote:
> What is happening here is that the linux dynamic linker looks for things in 
> /lib and then /usr/lib. What the emulation stuff does is interpret /usr as 
> /emul/linux/lib and then /lib. We've move some libraries from /usr/lib to 
> /lib in NetBSD and so these will now be found before the linux versions.
> libm being on of these.

Damn. This is quite hard to solve properly at kernel level. Perhaps
modify the suse packages to install symlinks from linux lib to
usr/lib ? Or do this for libm at least. Or perhaps modify entries
in the compat ld.so.conf to contain the emul prefix and make sure
the ld.so.cache is rebuilt whenever compat pkg with libs is installed?

Jaromir
-- 
Jaromir Dolecek <jdolecek@NetBSD.org>            http://www.NetBSD.org/
-=- We should be mindful of the potential goal, but as the tantric    -=-
-=- Buddhist masters say, ``You may notice during meditation that you -=-
-=- sometimes levitate or glow.   Do not let this distract you.''     -=-