Results 1 to 2 of 2
Dear all,
I am new in linux environment.
I have installed matlab R14 in Ubuntu 9.0.4. And I understand that R14 was compiled in gcc 3.2.3 and the gcc version ...
- 08-11-2009 #1Just Joined!
- Join Date
- Aug 2009
- Posts
- 1
Hi Linux gurus, please do help me on this! Thanks a LOT!
Dear all,
I am new in linux environment.
I have installed matlab R14 in Ubuntu 9.0.4. And I understand that R14 was compiled in gcc 3.2.3 and the gcc version installed in Ubuntu 9.0.4 is gcc 4.3.3.
I compiled a few c files in matlab using "mex" and obtained a list of mexglx files. But when I try to use the methods, the below error occurred:
"??? Invalid MEX-file '/media/Data/Projects/sift/siftmatch.mexglx': /media/WinXP/matlab_unix/bin/glnx86/../../sys/os/glnx86/libgcc_s.so.1: version `GCC_4.2.0' not found (required by /usr/lib/libstdc++.so.6)."
Could anybody suggests how to solve the problem? I find it quite troublesome to re-install another gcc version in my system. And can the problem be solved by using LD_LIBRARY_PATH parameter?
Thank you very much!!
- 08-12-2009 #2
I don't know anything about Matlab, but it seems that the problem is a disconnect between your version of Matlab and your version of GCC. I suppose that my immediate question is why you're using R14 instead of a more recent version. Alternatively, you may be able to configure mex to create mexglx files that function with earlier versions of Matlab.
DISTRO=Arch
Registered Linux User #388732


Reply With Quote