From owner-freebsd-hackers@FreeBSD.ORG Tue Sep 12 22:42:09 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BB4A816A47C for ; Tue, 12 Sep 2006 22:42:09 +0000 (UTC) (envelope-from anthony.maher@uts.edu.au) Received: from dib.itd.uts.edu.au (dib.itd.uts.edu.au [138.25.22.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id 425DD43D53 for ; Tue, 12 Sep 2006 22:42:09 +0000 (GMT) (envelope-from anthony.maher@uts.edu.au) Received: by dib.itd.uts.edu.au (Postfix, from userid 1011) id 3BF34DED08; Wed, 13 Sep 2006 08:38:00 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by dib.itd.uts.edu.au (Postfix/Intermediary) with ESMTP id 2B321DED0A; Wed, 13 Sep 2006 08:38:00 +1000 (EST) Received: from vimes (vimes.itd.uts.edu.au [138.25.243.34]) by dib.itd.uts.edu.au (Postfix/Ingress) with ESMTP id 145E8DED08; Wed, 13 Sep 2006 08:38:00 +1000 (EST) Received: from [138.25.81.112] by postoffice.uts.edu.au (Sun Java System Messaging Server 6.2-4.03 (built Sep 22 2005)) with ESMTPS id <0J5I00JIV4E7DI20@postoffice.uts.edu.au>; Wed, 13 Sep 2006 08:42:07 +1000 (EST) Date: Wed, 13 Sep 2006 08:42:07 +1000 From: Tony Maher In-reply-to: <4506F7D7.9070003@ez.pereslavl.ru> To: Alexey Mikhailov Message-id: <450737BF.7050709@uts.edu.au> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT X-Accept-Language: en-us, en X-Enigmail-Version: 0.93.0.0 References: <4506F7D7.9070003@ez.pereslavl.ru> User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.13) Gecko/20060511 Cc: freebsd-hackers@freebsd.org Subject: Re: Problem installing Mathematica on FreeBSD 6.1 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Sep 2006 22:42:09 -0000 Alexey Mikhailov wrote: > I installed Mathematica 5.1 on my FreeBSD 6.1 system. And I can't run it.. > That's very strange behaviour: > > ~/Mathematica/SystemFiles/FrontEnd/Binaries/Linux % ./Mathematica > ./Mathematica: relocation error: /usr/X11R6/lib/libX11.so.6: undefined > symbol: __stderrp > > But: > > ~/Mathematica/SystemFiles/FrontEnd/Binaries/Linux % ldd Mathematica > Mathematica: > libm.so.6 => /lib/libm.so.6 (0x284e5000) > libpthread.so.0 => /lib/libpthread.so.0 (0x28507000) > librt.so.1 => /lib/librt.so.1 (0x28558000) > libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x2856a000) > libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x285b4000) > libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x285c1000) > libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x285d5000) > libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x285de000) > libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x285f4000) > libc.so.6 => /lib/libc.so.6 (0x286b5000) > /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x284ca000) > > ~/Mathematica/SystemFiles/FrontEnd/Binaries/Linux % strings > /lib/libc.so.6|grep __stderrp > __stderrp > > Can someone point me out what's wrong? I have test installed Mathematica 5.2 and it appears to work fine (I do not actually use it except for simple tests) ldd Mathematica Mathematica: libm.so.6 => /lib/obsolete/linuxthreads/libm.so.6 (0x384ed000) libpthread.so.0 => /lib/obsolete/linuxthreads/libpthread.so.0 (0x38514000) librt.so.1 => /lib/obsolete/linuxthreads/librt.so.1 (0x38567000) libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x3857a000) libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x385cf000) libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x385de000) libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x385f5000) libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x385ff000) libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x38619000) libc.so.6 => /lib/obsolete/linuxthreads/libc.so.6 (0x386ec000) /lib/ld-linux.so.2 (0x384ce000) libdl.so.2 => /lib/libdl.so.2 (0x3880b000) pkg_which /usr/compat/linux/lib/obsolete/linuxthreads/libc-2.3.6.so linux_base-fc-4_8 pkg_which /usr/compat/linux/lib/libdl.so.2 linux_devtools-8.0_5 linux_base-fc-4_8 -- tonym