Subject: Re: Mozilla fails with nl_langinfo error, NetBSD 1.6.1, Mozilla
To: None <netbsd-users@netbsd.org>
From: Christian Biere <christianbiere@gmx.de>
List: netbsd-users
Date: 05/29/2003 00:08:56
--Sd=.Xe0+VUaPvss/
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

Art Lemasters <slemas1@mindspring.com> wrote:

>    When trying to start mozilla 1.3.1 (and previously, 1.3)
> after a make install in pkgsrc (and later, all variations of
> clean and update, reinstall, etc.), I received the following
> error message while using NetBSD 1.6.1, i386.
> 
> /usr/X11R6/lib/mozilla/components/libuconv.so: Undefined PLT symbol
> "nl_langinfo" (reloc type = 7, symnum = 483)

This symbol should be defined in /usr/lib/libc.so:

$ nm -A /usr/lib/*so*|grep nl_langinfo
/usr/lib/libc.so:00031370 T nl_langinfo
/usr/lib/libc.so.12:00031370 T nl_langinfo
/usr/lib/libc.so.12.88:00034ccc T nl_langinfo
/usr/lib/libc.so.12.89:0002e404 T nl_langinfo
/usr/lib/libc.so.12.96:00031370 T nl_langinfo

You might use this *workaround*:
LD_PRELOAD=/usr/lib/libc.so

Looking at the shared object might help to see what went wrong:
objdump -p /usr/X11R6/lib/mozilla/components/libuconv.so

-- 
Christian

--Sd=.Xe0+VUaPvss/
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (NetBSD)

iD8DBQE+1TOG0KQix3oyIMcRAslrAKCIH5K2VwUIWi9wgR5Ld+alzk9khwCgu3yy
pc2pA8kbx7bI2JEDOPB0mDM=
=f7lN
-----END PGP SIGNATURE-----

--Sd=.Xe0+VUaPvss/--