Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: problem with Matlab 2009a on x64 Ubuntu intrepid
Date: Mon, 9 Nov 2009 11:29:02 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 14
Message-ID: <hd8udu$5rc$1@fred.mathworks.com>
References: <gua17m$m72$1@fred.mathworks.com> <h2bmlj$qsi$1@fred.mathworks.com> <hcv06r$dqa$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1257766142 5996 172.30.248.37 (9 Nov 2009 11:29:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 9 Nov 2009 11:29:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 163750
Xref: news.mathworks.com comp.soft-sys.matlab:583513


Well I've got pretty close: I installed gcc-4.2 etc and changed the symlinks in /usr/bin to point to them (as opposed to gcc-4.4 etc) and created a symlinks named 'glnxa64' pointing to 'glnx86' in the following directories:
$matlabroot/extern/lib
$matlabroot/bin

My main problem now seems to revolve around the 'ld' library in /usr/bin. Specifically I get the following error:

/usr/bin/ld: skipping incompatible $matlabroot/bin/glnxa64/libmx.so when searching for -lmx

which, due to the aforementioned symlink, is actually in 
$matlabroot/bin/glnx86/libmx.so

So now I'm stumped! I guess it's some 32/64 bit incompatibility but I have no idea where to begin trying to fix it!

Chris