From owner-freebsd-questions Mon Jun 4 11:25:46 2001 Delivered-To: freebsd-questions@freebsd.org Received: from maild.telia.com (maild.telia.com [194.22.190.101]) by hub.freebsd.org (Postfix) with ESMTP id 7B09E37B401 for ; Mon, 4 Jun 2001 11:25:39 -0700 (PDT) (envelope-from ertr1013@student.uu.se) Received: from d1o913.telia.com (d1o913.telia.com [195.252.44.241]) by maild.telia.com (8.11.2/8.11.0) with ESMTP id f54IPb627843 for ; Mon, 4 Jun 2001 20:25:37 +0200 (CEST) Received: from ertr1013.student.uu.se (h185n2fls20o913.telia.com [212.181.163.185]) by d1o913.telia.com (8.8.8/8.8.8) with SMTP id UAA13412 for ; Mon, 4 Jun 2001 20:25:36 +0200 (CEST) Received: (qmail 67763 invoked by uid 1001); 4 Jun 2001 18:25:19 -0000 Date: Mon, 4 Jun 2001 20:25:19 +0200 From: Erik Trulsson To: Steffen Beyer Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Running netscape causes "libXt.so.6 bad magic number" error message Message-ID: <20010604202518.A65908@student.uu.se> Mail-Followup-To: Steffen Beyer , freebsd-questions@FreeBSD.ORG References: <20010604195936.A15161@engelschall.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010604195936.A15161@engelschall.com>; from sb@engelschall.com on Mon, Jun 04, 2001 at 07:59:37PM +0200 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 On Mon, Jun 04, 2001 at 07:59:37PM +0200, Steffen Beyer wrote: > Can please someone tell me what the solution to this problem is? > (Looks like others had it before and found the answer) > > I'm using FreeBSD 4.1.1-RELEASE and whenever I run netscape, I > get the following error message: > > [sb@oxumare]~>netscape > /usr/libexec/ld.so: warning: /usr/X11R6/lib/libXt.so.6: minor version -1 older than expected 0, using it anyway > ld.so failed: bad magic number in "/usr/X11R6/lib/libXt.so.6" > [sb@oxumare]~> > > I found a discussion on the taiwanese FreeBSD mailing list about this > topic via Google but I can't read the answers because they are in a > different character set (which I can't read) and probably in Chinese > anyway (which I can read even less :-) )! > > Therefore please reply in English (or German or French or Dutch or > Spanish or Portuguese) and in ISO-Latin-1! > > Aside from the above, searches via Google and www.freebsd.org have > been in vain so far. > > Thanks a lot in advance for your invaluable help!!! > The FreeBSD versions of Netscape are compiled on an older version of FreeBSD and requires shared libraries in the aout format. /usr/X11R6/lib/libXt.so.6 is in the newer ELF format. What apparently happens is that Netscape can't find the correct library and therefore tries /usr/X11R6/lib/libXt.so.6 which is not in the correct format and therefore doesn't work. The solution is to install the required libraries. :-) The easiest way of doing that is to install the x11/XFree86-aoutlibs port. If that is already installed you will have to check the correct directories are searched. See ldconfig(8) for details. (I have actually never seen the above error message so the above is mainly guesswork but I am fairly sure that it is correct. :-) ) -- Erik Trulsson ertr1013@student.uu.se To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message