From owner-freebsd-ports@FreeBSD.ORG Mon Apr 28 13:43:01 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 4D78537B401 for ; Mon, 28 Apr 2003 13:43:01 -0700 (PDT) Received: from sccrmhc02.attbi.com (sccrmhc02.attbi.com [204.127.202.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9186A43F85 for ; Mon, 28 Apr 2003 13:43:00 -0700 (PDT) (envelope-from julian@elischer.org) Received: from interjet.elischer.org (12-232-168-4.client.attbi.com[12.232.168.4]) by sccrmhc02.attbi.com (sccrmhc02) with ESMTP id <2003042820425900200o4379e>; Mon, 28 Apr 2003 20:42:59 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id NAA45949; Mon, 28 Apr 2003 13:42:54 -0700 (PDT) Date: Mon, 28 Apr 2003 13:42:52 -0700 (PDT) From: Julian Elischer To: Joe Marcus Clarke In-Reply-To: <1051559233.362.50.camel@gyros> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 20:43:01 -0000 On 28 Apr 2003, Joe Marcus Clarke wrote: > On Mon, 2003-04-28 at 15:32, Julian Elischer wrote: > > I ran portipdate on Friday and since then mozilla > > doesn't run.. > > > > > 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 > > > > > there IS such a file in the mozilla work dir.. > > 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 sets > LD_LIBRARY_PATH such that this object can be found. > > 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. Ahh I'm launching from /usr/X11R6/bin/mozilla but the script doesn't seem to be changing anything.. -------------------------------- #!/bin/sh MOZILLA_DIR="/usr/X11R6/lib/mozilla" MOZILLA_EXEC="mozilla" LOCATION='new-tab' cd $MOZILLA_DIR || exit 1 case $1 in -mail) REMOTE_COMMAND="xfeDoCommand (openInbox)" ;; -*) exec ./$MOZILLA_EXEC "$@" ;; *) REMOTE_COMMAND="openURL($@, $LOCATION)" ;; esac # process found ./$MOZILLA_EXEC -remote "ping()" && ./$MOZILLA_EXEC -remote "$REMOTE_COMMAND" && exit 0 # no existing process exec ./$MOZILLA_EXEC "$@" ------------------------------- /usr/X11R6/lib/mozilla/mozilla doesn't seem to be doing it either. However doing ldconfig -m /usr/X11R6/bin/mozilla seems to fix it.. I see that there are some of these libraries in other directories (see below) 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 libs. > > Joe > > julian# ldd /usr/X11R6/lib/mozilla/mozilla-bin > > /usr/X11R6/lib/mozilla/mozilla-bin: > > libmozjs.so => /usr/local/lib/libmozjs.so (0x2809b000) > > libplds4.so => /usr/local/lib/libplds4.so (0x2810c000) > > libplc4.so => /usr/local/lib/libplc4.so (0x28132000) > > libnspr4.so => /usr/local/lib/libnspr4.so (0x2815a000) > > libgtk12.so.2 => /usr/X11R6/lib/libgtk12.so.2 (0x28189000) > > libgdk12.so.2 => /usr/X11R6/lib/libgdk12.so.2 (0x282b1000) > > libgmodule12.so.3 => /usr/local/lib/libgmodule12.so.3 > > (0x282e5000) > > libglib12.so.3 => /usr/local/lib/libglib12.so.3 (0x282e8000) > > libintl.so.4 => /usr/local/lib/libintl.so.4 (0x2830a000) > > libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x28312000) > > libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x2831a000) > > libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x28328000) > > libm.so.2 => /usr/lib/libm.so.2 (0x283e4000) > > libstdc++.so.3 => /usr/lib/libstdc++.so.3 (0x283ff000) > > libc_r.so.4 => /usr/lib/libc_r.so.4 (0x28444000) > > libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x284f9000) > > libXThrStub.so.6 => /usr/X11R6/lib/libXThrStub.so.6 (0x285d4000) > > julian# for example, libnspr4 is in /usr/local/lib and /usr/X11R6/lib/mozilla. It's getting ht eold one in the link.