Date: Wed, 13 Sep 2006 20:13:32 +1000 From: Tony Maher <anthony.maher@uts.edu.au> To: Kris Kennaway <kris@obsecurity.org> Cc: freebsd-hackers@freebsd.org, Alexey Mikhailov <karma@ez.pereslavl.ru> Subject: Re: Problem installing Mathematica on FreeBSD 6.1 Message-ID: <4507D9CC.4060704@uts.edu.au> In-Reply-To: <20060913063940.GA91061@xor.obsecurity.org> References: <4506F7D7.9070003@ez.pereslavl.ru> <450737BF.7050709@uts.edu.au> <20060913063940.GA91061@xor.obsecurity.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Kris Kennaway wrote: > On Wed, Sep 13, 2006 at 08:42:07AM +1000, Tony Maher wrote: > > >>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) > > > Something is still wrong, looks like you also need to add the > linux-xorg-libraries (unless your /usr/X11R6 is actually linux > somehow). Yes you do need linux-xorg-libraries. file /usr/X11R6/lib/libX11.so.6 /usr/X11R6/lib/libX11.so.6: ELF 32-bit LSB shared object, Intel 80386, version 1 (FreeBSD), not stripped file /usr/compat/linux/usr/X11R6/lib/libX11.so.6 /usr/compat/linux/usr/X11R6/lib/libX11.so.6: symbolic link to `libX11.so.6.2' file /usr/compat/linux/usr/X11R6/lib/libX11.so.6.2 /usr/compat/linux/usr/X11R6/lib/libX11.so.6.2: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), stripped pkg_which /usr/compat/linux/usr/X11R6/lib/libX11.so.6.2 linux_devtools-8.0_5 linux-xorg-libs-6.8.2_5 My notes from the install Dec 15 2005 -------------------------------------------------------------------------------------- cp files to hard disk as per handbook. Set fallback sysctl run install edit scripts in /usr/local/bin to use PATH="/compat/linux/usr/bin:/compat/linux/bin:/usr/bin:/bin:${PATH}" edit /usr/local/Wolfram/Mathematica/5.2/SystemFiles/FrontEnd/SystemResources/X/XMathematica *fontList: -*-helvetica-medium-r-*-*-18-100-*-*-*-*-*-* *screenXResolution: 147 *screenYResolution: 147 Useful to avoid warning on first start up edit /usr/local/bin/math to use linux proc and mount it. /usr/local/bin/math: cpuvendor=`cat /compat/linux/proc/cpuinfo | grep 'vendor_id' | awk '{print $3}' | uniq` /usr/local/bin/math: cpuid=`cat /compat/linux/proc/cpuinfo | grep 'cpu family' | awk '{print $4}' | uniq` /usr/local/bin/math: OMP_NUM_THREADS=`cat /compat/linux/proc/cpuinfo | grep processor | wc -l | tr -d ' '`; --------------------------------------------------------------------------------------- -- tonym
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4507D9CC.4060704>