Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 May 2002 04:34:36 -0400
From:      parv <parv@pair.com>
To:        f-q <freebsd-questions@freebsd.org>
Subject:   mozilla/java plugin's dgettext problem
Message-ID:  <20020523083435.GA62573@moo.holy.cow>

next in thread | raw e-mail | index | archive | help
below is sort of update w/ newer versions of gettext* of the problem
already reported -- in short, same old, same old -- as i found
various queries on same problem on web+usenet (google) w/o any
resolution.  all i need java is for the plugin, nothing more.


after reinstalling gettext-old (0.10.35_2) & gettext (0.11.1_3) yet
again :(i forgot the count), i rebuilt jdk-1.3.1p6_4 to get the
error message from mozilla (1.0rc2)...

LoadPlugin: failed to initialize shared library /local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so [/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so: Undefined symbol "dgettext"]


...some rudimentary debugging...

# nm -u /local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so | grep gettext
dgettext

# ldd /local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so
/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so:
        libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x28145000)
        libstdc++.so.3 => /usr/lib/libstdc++.so.3 (0x28190000)
        libm.so.2 => /usr/lib/libm.so.2 (0x281d7000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x281f3000)
        libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x282d1000)
        libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x282da000)
        libXThrStub.so.6 => /usr/X11R6/lib/libXThrStub.so.6 (0x282f0000)

...now would linking (ld) the plugin to /usr/local/lib/libintl.so.2
solve the problem? if so, what would be the "ld syntax" as i am
unsure about the "output" (as given in the sole example of ld
manpage)? would simply moving "a.out" to the plugin location be
enough?


thanks much.


   - parv

-- 
 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020523083435.GA62573>