`GLIBCXX_3.4.15' not found System GLIBCXX out of date,
2 views (last 30 days)
Show older comments
I am using mapreduce on MATLAB, and get the following error:
Error: matlab2014b/bin/glnxa64/libnativemvm.so: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by matlab2014b/bin/glnxa64/libnativemvm.so)
How to solve this problem?
I don't have sudo right, so I cannot modify /usr/lib64/libstdc++.so.6. I found system libstdc++.so.6 is out of date, how to point to matlab GLIBCXX in matlab/bin/glnxa64/libstdc++.so.6?
setenv('HADOOP_HOME','/home/s/hadoop-1.2.1');
cluster = parallel.cluster.Hadoop;
cluster.HadoopProperties('mapred.job.tracker') = 'localhost:54311';
cluster.HadoopProperties('fs.default.name') = 'hdfs://localhost:8020';
outputFolder = 'matlab_test';
mr = mapreducer(cluster);
ds = datastore('1987.csv', 'DatastoreType', 'tabulartext', ...
'TreatAsMissing', 'NA','SelectedVariableNames','ArrDelay');
data = preview(ds);
result = mapreduce(ds, @MaxTimeMapper, @MaxTimeReducer, mr, ...
'OutputFolder',outputFolder);
readall(result)
1 Comment
Rick Amos
on 5 Oct 2015
This looks to be a conflict between MATLAB and the Hadoop native libraries. I will investigate into this and see if a patch could be made available.
For the short term, a workaround is to disable the Hadoop native libraries. This can be done by renaming the folder:
/home/s/hadoop-1.2.1/lib/native
To any other name, such as:
/home/s/hadoop-1.2.1/lib/disabled-native
Answers (0)
See Also
Categories
Find more on Manage Products in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!