From owner-freebsd-questions@FreeBSD.ORG Sat Mar 8 12:16:02 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 244521065672 for ; Sat, 8 Mar 2008 12:16:02 +0000 (UTC) (envelope-from tijl@ulyssis.org) Received: from cavspool01.kulnet.kuleuven.be (cavspool01.kulnet.kuleuven.be [134.58.240.41]) by mx1.freebsd.org (Postfix) with ESMTP id A33A98FC2A for ; Sat, 8 Mar 2008 12:16:01 +0000 (UTC) (envelope-from tijl@ulyssis.org) Received: from cavuit02.kulnet.kuleuven.be (cavuit02.kulnet.kuleuven.be [134.58.240.44]) by cavspool01.kulnet.kuleuven.be (Postfix) with ESMTP id 49E762AF1C5 for ; Sat, 8 Mar 2008 12:48:05 +0100 (CET) Received: from smtps02.kuleuven.be (smtpshost02.kulnet.kuleuven.be [134.58.240.75]) by cavuit02.kulnet.kuleuven.be (Postfix) with ESMTP id 19F2175BD72; Sat, 8 Mar 2008 12:47:57 +0100 (CET) Received: from kalimero.kotnet.org (kalimero.kotnet.org [10.4.16.222]) by smtps02.kuleuven.be (Postfix) with ESMTP id 13870F3862; Sat, 8 Mar 2008 12:47:57 +0100 (CET) Received: from kalimero.kotnet.org (kalimero.kotnet.org [127.0.0.1]) by kalimero.kotnet.org (8.14.2/8.14.2) with ESMTP id m28Bln7t002693; Sat, 8 Mar 2008 12:47:49 +0100 (CET) (envelope-from tijl@ulyssis.org) X-Kuleuven: This mail passed the K.U.Leuven mailcluster From: Tijl Coosemans To: "Rich Winkel" Date: Sat, 8 Mar 2008 12:47:47 +0100 User-Agent: KMail/1.9.7 References: <3dce66b30803071505o73ae851bv4de28d9eb224c651@mail.gmail.com> In-Reply-To: <3dce66b30803071505o73ae851bv4de28d9eb224c651@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200803081247.48631.tijl@ulyssis.org> X-KULeuven-Information: Katholieke Universiteit Leuven X-KULeuven-Scanned: Found to be clean X-Spam-Status: not spam, SpamAssassin (not cached, score=-50, required 5, autolearn=disabled, KUL_SMTPS -50.00) X-KULeuven-Envelope-From: tijl@ulyssis.org Cc: rich@math.missouri.edu, freebsd-questions@freebsd.org Subject: Re: Mathematica 6.01 + FBSD 6.3-release X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Mar 2008 12:16:02 -0000 On Saturday 08 March 2008 00:05:11 Rich Winkel wrote: > I'm having problems getting the frontend running. The kernel seems > to run fine. Initially the linux loader wasn't seeing the libraries > under SystemFiles/Libraries/Linux (or at least > > /compat/linux/usr/bin/ldd > couldn't find them when run on > SystemFiles/FrontEnd/Binaries/Linux/Mathematica ) I don't have any experience with Mathematica, but this happens with Maple and Matlab too, so it's probably nothing to worry about. Maple and Matlab are started with a shell script which sets up a proper environment (where to find libs and such other variables) before starting the real program. In my experience it's better to run them with /compat/linux/bin/sh and not the FreeBSD /bin/sh used by default. So to run Matlab for instance I use: /compat/linux/bin/sh /compat/linux/opt/matlab-7.0.1/bin/matlab If Mathematica uses such a startup script as well, it could be worth a try. In that case you should also try if you can run /compat/linux/bin/ls. If you get an error related to librt, you need to create this softlink: ln -s ../../lib/librt-2.3.6.so /compat/linux/usr/lib/librt.so.1