Path: news.mathworks.com!not-for-mail
From: "John finn" <brainstuff@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: running a c++ program using unix command
Date: Sun, 28 Dec 2008 05:19:02 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 16
Message-ID: <gj7286$dm1$1@fred.mathworks.com>
Reply-To: "John finn" <brainstuff@gmail.com>
NNTP-Posting-Host: webapp-03-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1230441542 14017 172.30.248.38 (28 Dec 2008 05:19:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Sun, 28 Dec 2008 05:19:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1652117
Xref: news.mathworks.com comp.soft-sys.matlab:508940


Hi,

I am trying to run an executable (compiled c++ program) from within matlab using either of unix, system or ! and i keep getting this error 

"matlabR2008a/sys/os/glnxa64/libstdc++.so.6: version `GLIBCXX_3.4.9' not found" 

but running the same executable directly in the terminal in linux, works perfectly fine. Is there something different about the way matlab makes system calls to linux?

specs of my setup are below: 
linux Mandriva 2008 
x86_64 Intel(R) Core(TM)2 Quad CPU    Q6600  @ 2.40GHz GNU/Linux
matlab version 7.6.0.324 (R2008a)

thanks
john