From owner-freebsd-questions Thu May 23 1:32: 6 2002 Delivered-To: freebsd-questions@freebsd.org Received: from hawk.mail.pas.earthlink.net (hawk.mail.pas.earthlink.net [207.217.120.22]) by hub.freebsd.org (Postfix) with ESMTP id 5086A37B400 for ; Thu, 23 May 2002 01:32:04 -0700 (PDT) Received: from sdn-ar-004dcwashp183.dialsprint.net ([206.133.21.223] helo=moo.holy.cow) by hawk.mail.pas.earthlink.net with esmtp (Exim 3.33 #2) id 17Ao0x-0002Sd-00 for freebsd-questions@freebsd.org; Thu, 23 May 2002 01:32:03 -0700 Received: by moo.holy.cow (Postfix, from userid 1001) id 9CF5D50BBA; Thu, 23 May 2002 04:34:36 -0400 (EDT) Date: Thu, 23 May 2002 04:34:36 -0400 From: parv To: f-q Subject: mozilla/java plugin's dgettext problem Message-ID: <20020523083435.GA62573@moo.holy.cow> Mail-Followup-To: f-q Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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