From owner-freebsd-java Tue Apr 30 8:19:16 2002 Delivered-To: freebsd-java@freebsd.org Received: from mail1.panix.com (mail1.panix.com [166.84.1.72]) by hub.freebsd.org (Postfix) with ESMTP id 0D79E37B41D for ; Tue, 30 Apr 2002 08:18:57 -0700 (PDT) Received: from freebie.brann.org (159-87.nyc.dsl.access.net [166.84.159.87]) by mail1.panix.com (Postfix) with ESMTP id 07EBA48903 for ; Tue, 30 Apr 2002 11:17:06 -0400 (EDT) Received: (from john@localhost) by freebie.brann.org (8.11.6/8.11.6) id g3UFH5g34044 for freebsd-java@freebsd.org; Tue, 30 Apr 2002 11:17:05 -0400 (EDT) (envelope-from john) Date: Tue, 30 Apr 2002 11:17:05 -0400 From: John Brann To: freebsd-java@freebsd.org Subject: dgettext problem with plugin Message-ID: <20020430111705.A34006@freebie.brann.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, I have been bitten by the dgettext problem: I had a working mozilla with native java plugin (0.99, I think). I cvsupped ports after mozilla was upgraded to rc1. Ran portupgrade - jdk1.3.1 had moved to p6_4 so it wanted to be rebuilt - I did this. gettext (0.11.1) and gettext-old (0.10.35) were already installed and did not prompt for rebuilds. jdk and mozilla both built and installed correctly. Starting mozilla from a command line shows: LoadPlugin: failed to initialize shared library /usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so [/usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so: Undefined symbol "dgettext"] I forcibly deleted and rebuilt both gettext and gettext-old. Both rebuilt, same problem. I deleted them again, and the jdk and rebuilt the jdk. The jdk did an implicit build of gettext-old (only) and failed to build the plugin (unable to find libintl.h). I rebuilt gettext and the jdk now built correctly. /usr/local/lib contains: lrwxr-xr-x 1 root wheel 12 Apr 30 09:34 /usr/local/lib/libintl.so@ -> libintl.so.2 -r--r--r-- 1 root wheel 31367 Apr 30 09:34 /usr/local/lib/libintl.so.2 and nm /usr/local/lib/libintl.so.2 | grep dgettext gives me: 000017a4 T dgettext 00001cfc T dgettext__ So the text entries are in the shared library. I don't get it. Help!! John -- Unreal City, Under the brown fog of a winter dawn, finger jbrann@panix.com for pgp public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message