Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Conflict with mcc... libstdc++.so.6
Date: Mon, 2 Jun 2008 12:00:05 +0000 (UTC)
Organization: Erasmusmc
Lines: 17
Message-ID: <g20nc5$13n$1@fred.mathworks.com>
References: <431d112e-2cfc-4e5e-8b68-e2dcac8b7008@w5g2000prd.googlegroups.com>
Reply-To: <HIDDEN>
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 1212408005 1143 172.30.248.38 (2 Jun 2008 12:00:05 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 2 Jun 2008 12:00:05 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1095751
Xref: news.mathworks.com comp.soft-sys.matlab:471749



spasmous <spasmous@gmail.com> wrote in message
<431d112e-2cfc-4e5e-8b68-e2dcac8b7008@w5g2000prd.googlegroups.com>...
> I have a Hello World program I'm attempting to compile
with mcc. It
> appears to compile except at the end I get the message:
> 
> /usr/bin/ld: warning: libstdc++.so.6, needed by
/usr/local/matlab/bin/
> glnx86/libmwmclmcrrt.so, may conflict with libstdc++.so.5
> 
Probably your system uses so.5 while Matlab comes with .so.6.

Did you compile with -L/opt/matlab/2007b/sys/os/glnxa64/
-lstdc++  ? What does 'ldd hello' give? And when executed
from Matlab (system('ldd hello'))?

Sebastiaan