Subject: Re: suse+navigator: libX11.so.6: undefined symbol: __mb_cur_max
To: None <tech-pkg@netbsd.org>
From: Mario Kemper <magick@bundy.lip.owl.de>
List: tech-pkg
Date: 04/09/2001 20:07:34
Hubert Feyrer <hubert.feyrer@informatik.fh-regensburg.de> writes:

> On Mon, 9 Apr 2001 itojun@iijlab.net wrote:
> > >/usr/pkg/lib/netscape/navigator-4.77/netscape: error in loading shared
> > >libraries: /usr/X11R6-XF4/lib/libX11.so.6: undefined symbol: __mb_cur_max
> ...
> > 	do you have any idea why does it refer NetBSD libX11.so?
> > 	(isn't it a linux binary?)
> 
> I think this is a very good question!
> 
> noon% /usr/pkg/lib/netscape/navigator-4.77/netscape
> /usr/pkg/lib/netscape/navigator-4.77/netscape: error in loading shared
> libraries: /usr/X11R6-XF4/lib/libX11.so.6: undefined symbol: __mb_cur_max
> 
> 
> I've checked that the 'netscape' binary straight from the netscape pkg's
> netscape-v477.nif file gives the same results. This is on 1.5.1_BETA/i386
> FWIW, and there is a COMPAT_LINUX in the kernel. It seems that my kernel
> and file(1) agree, so at least that's consistent.
> 

When LD_LIBRARY_PATH is set, every linux emulated binary happily links against
native NetBSD libs it finds in that path. 
 
-- 
Mario Kemper
magick@bundy.zhadum.de