Re: vmware-e.x.p.-15576 and Debian/Sarge/amd64
On Wed, Sep 07, 2005 at 05:35:41PM +0200, Christoph Best wrote:
> I've hacked a bit into libc6 and changed the code for dlopen() to look
> into /emul/*/<path> if a library cannot be found in /<path>. Note this
> is only relevant for a few dynamically loaded libraries.
>
> For example, running firefox encounters the following deviations:
>
> haifa:~$ LD_DEBUG=libs firefox 2>&1|grep multiarch
> 14091: multiarch: trying /emul/ia32-linux//usr/X11R6/lib/X11/locale/lib/common/xlcUTF8Load.so.2
> 14091: multiarch: trying /emul/ia32-linux//usr/lib/gconv/ISO8859-1.so
> 14091: multiarch: trying /emul/ia32-linux//usr/lib/gconv/UTF-16.so
> 14091: multiarch: trying /emul/ia32-linux//usr/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-xpm.so
> 14091: multiarch: trying /emul/ia32-linux//usr/lib/pango/1.4.0/modules/pango-basic-fc.so
X locale, gconv, gtk and pango module loading can be configured by
setting the appropriate environment variables, no need for hacking glibc
here.
Gabor
--
---------------------------------------------------------
MTA SZTAKI Computer and Automation Research Institute
Hungarian Academy of Sciences
---------------------------------------------------------
Reply to: