Subject: Re: Mozilla fails with nl_langinfo error, NetBSD 1.6.1, Mozilla
To: None <netbsd-users@netbsd.org>
From: Art Lemasters <slemas1@mindspring.com>
List: netbsd-users
Date: 05/29/2003 14:34:46
Christian, you are a godsend. Thank you.
nm could not find libc.so on this system, so I looked
at /usr/lib with ls -al. The symlink for libc.so pointed
to libc.so.12.83.1. There is no libc.so.12.83.1.
I recreated the softlink to libc.so.12.83 as seen in 1.6.
After a recompile of mozilla 1.6.1 and depends, it works!
BTW, perl5 was not compiling with the bad symlink, either,
but it compiles good now. Thanks again, and guten tag.
If any others on this list have the same problem, please
report. If so, I'll find out what created the erroneous
symlink (1.6.1 set or something else?) and file a bug report.
Art
Christian wrote:
> --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/--