From owner-freebsd-ports@FreeBSD.ORG Mon Apr 28 14:08:45 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8415237B401 for ; Mon, 28 Apr 2003 14:08:45 -0700 (PDT) Received: from ms-smtp-01.southeast.rr.com (ms-smtp-01.southeast.rr.com [24.93.67.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6598843F3F for ; Mon, 28 Apr 2003 14:08:44 -0700 (PDT) (envelope-from marcus@marcuscom.com) Received: from mail3.nc.rr.com (fe3 [24.93.67.50])h3SL3whA007632; Mon, 28 Apr 2003 17:03:58 -0400 (EDT) Received: from creme-brulee.marcuscom.com ([66.57.17.158]) by mail3.nc.rr.com with Microsoft SMTPSVC(5.5.1877.757.75); Mon, 28 Apr 2003 17:05:54 -0400 Received: from [10.2.1.4] (vpn-client-4.marcuscom.com [10.2.1.4]) h3SL60aa082265; Mon, 28 Apr 2003 17:06:00 -0400 (EDT) (envelope-from marcus@marcuscom.com) From: Joe Marcus Clarke To: Julian Elischer In-Reply-To: References: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-xaj+DHO0xJBgos5CVNyB" Organization: MarcusCom, Inc. Message-Id: <1051564106.362.69.camel@gyros> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.4 Date: 28 Apr 2003 17:08:27 -0400 X-Spam-Status: No, hits=-39.2 required=5.0 tests=BAYES_00,EMAIL_ATTRIBUTION,IN_REP_TO,PGP_SIGNATURE_2, QUOTED_EMAIL_TEXT,QUOTE_TWICE_1,REFERENCES, REPLY_WITH_QUOTES autolearn=ham version=2.50 X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) cc: ports@freebsd.org Subject: Re: mozilla port borked? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Apr 2003 21:08:45 -0000 --=-xaj+DHO0xJBgos5CVNyB Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Mon, 2003-04-28 at 16:42, Julian Elischer wrote: > On 28 Apr 2003, Joe Marcus Clarke wrote: >=20 > > On Mon, 2003-04-28 at 15:32, Julian Elischer wrote: > > > I ran portipdate on Friday and since then mozilla > > > doesn't run.. > > >=20 > > > > mozilla > > > /usr/libexec/ld-elf.so.1: Shared object "libmozjs.so" not found > > > /usr/libexec/ld-elf.so.1: Shared object "libmozjs.so" not found > > > >=20 > > > there IS such a file in the mozilla work dir.. > >=20 > > Are you launching Mozilla out of the port working dir, or from > > /usr/X11R6/bin? If the latter, then the libmozjs.so file should be in > > /usr/X11R6/lib/mozilla directory. In this case, the mozilla script set= s > > LD_LIBRARY_PATH such that this object can be found. > >=20 > > If you're running it from the port working dir, and there is no > > /usr/X11R6/lib/mozilla/libmozjs.so, then the it will most likely fail. >=20 > Ahh > I'm launching from /usr/X11R6/bin/mozilla >=20 > but the script doesn't seem to be changing anything.. > -------------------------------- > #!/bin/sh >=20 > MOZILLA_DIR=3D"/usr/X11R6/lib/mozilla" > MOZILLA_EXEC=3D"mozilla" > LOCATION=3D'new-tab' >=20 > cd $MOZILLA_DIR || exit 1 >=20 > case $1 in > -mail) > REMOTE_COMMAND=3D"xfeDoCommand (openInbox)" > ;; > -*) > exec ./$MOZILLA_EXEC "$@" > ;; > *) > REMOTE_COMMAND=3D"openURL($@, $LOCATION)" > ;; > esac >=20 > # process found > ./$MOZILLA_EXEC -remote "ping()" && > ./$MOZILLA_EXEC -remote "$REMOTE_COMMAND" && exit 0 >=20 > # no existing process > exec ./$MOZILLA_EXEC "$@" > ------------------------------- >=20 > /usr/X11R6/lib/mozilla/mozilla=20 > doesn't seem to be doing it either. Right. /usr/X11R6/lib/mozilla/run-mozilla.sh does all the magic (around line 358). >=20 > However doing ldconfig -m /usr/X11R6/bin/mozilla ^^^ Really!? That doesn't make any sense at all. /usr/X11R6/lib/mozilla might make sense, but it shouldn't be required. If you run mozilla -g from the command line, it should print out all the variables. I have the GTK+-2 version, but yours should be similar to: MOZILLA_FIVE_HOME=3D. =20 LD_LIBRARY_PATH=3D.:./plugins:/usr/X11R6/lib/browser_plugins:/usr/X11R6/lib= /mre/mre-1.3 DISPLAY=3D:0.0 FONTCONFIG_PATH=3D/usr/X11R6/etc/fonts:./res/Xft DYLD_LIBRARY_PATH=3D.:/usr/X11R6/lib/mre/mre-1.3 LIBRARY_PATH=3D.:./components:/usr/X11R6/lib/mre/mre-1.3 SHLIB_PATH=3D.:/usr/X11R6/lib/mre/mre-1.3 LIBPATH=3D.:/usr/X11R6/lib/mre/mre-1.3 ADDON_PATH=3D. MOZ_PROGRAM=3D./mozilla-bin MOZ_TOOLKIT=3D moz_debug=3D1 moz_debugger=3D > seems to fix it.. > I see that there are some of these libraries in > other directories > (see below)=20 >=20 > I think that the port should clear out old copies in these places > because I think I'm getting a mix of old and new versions of these=20 > libs. >=20 > >=20 > > Joe > > > julian# ldd /usr/X11R6/lib/mozilla/mozilla-bin=20 > > > /usr/X11R6/lib/mozilla/mozilla-bin: > > > libmozjs.so =3D> /usr/local/lib/libmozjs.so (0x2809b000) > > > libplds4.so =3D> /usr/local/lib/libplds4.so (0x2810c000) > > > libplc4.so =3D> /usr/local/lib/libplc4.so (0x28132000) > > > libnspr4.so =3D> /usr/local/lib/libnspr4.so (0x2815a000) > > > libgtk12.so.2 =3D> /usr/X11R6/lib/libgtk12.so.2 (0x28189000) > > > libgdk12.so.2 =3D> /usr/X11R6/lib/libgdk12.so.2 (0x282b1000) > > > libgmodule12.so.3 =3D> /usr/local/lib/libgmodule12.so.3 > > > (0x282e5000) > > > libglib12.so.3 =3D> /usr/local/lib/libglib12.so.3 (0x282e8000= ) > > > libintl.so.4 =3D> /usr/local/lib/libintl.so.4 (0x2830a000) > > > libXi.so.6 =3D> /usr/X11R6/lib/libXi.so.6 (0x28312000) > > > libXext.so.6 =3D> /usr/X11R6/lib/libXext.so.6 (0x2831a000) > > > libX11.so.6 =3D> /usr/X11R6/lib/libX11.so.6 (0x28328000) > > > libm.so.2 =3D> /usr/lib/libm.so.2 (0x283e4000) > > > libstdc++.so.3 =3D> /usr/lib/libstdc++.so.3 (0x283ff000) > > > libc_r.so.4 =3D> /usr/lib/libc_r.so.4 (0x28444000) > > > libiconv.so.3 =3D> /usr/local/lib/libiconv.so.3 (0x284f9000) > > > libXThrStub.so.6 =3D> /usr/X11R6/lib/libXThrStub.so.6 (0x285d= 4000) > > > julian# >=20 > for example, libnspr4 is in /usr/local/lib and /usr/X11R6/lib/mozilla. > It's getting ht eold one in the link. This is seriously weird. While having /usr/local/lib/libplds4.so, /usr/local/lib/libplc4.so, and /usr/local/lib/libnspr4.so are acceptable (devel/nspr may installed them), having /usr/local/lib/libmozjs.so is not. Do a pkg_info -W /usr/local/lib/libmozjs.so, and find out which port/package installed it. As for the rest of the libs, they look okay compared to my -STABLE machine. Joe >=20 --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-xaj+DHO0xJBgos5CVNyB Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQA+rZhKb2iPiv4Uz4cRAumIAKCtfjzb7T+rUX5gv3+S7FKWVOefHgCfYhGS /yfqXbDV4Jy43VwdrnbiZr4= =eLns -----END PGP SIGNATURE----- --=-xaj+DHO0xJBgos5CVNyB--