linker - How to manage libstdc++.so.6: wrong ELF class: ELFCLASS64 at computer cluster -
i have problem libstdc++.so.6 library when execute program in matlab. code works fine on laptop , desktop, why i'm sure problem library or linking compatibility issue:
/home/arturo/virality/viral_cluster_ml/viral_features/code/segment_pedro/segment: error while loading shared libraries: libstdc++.so.6: wrong elf class: elfclass64
i've google answers on how fix library, , should remove library later re-install correct version: error while loading shared libraries: libstdc++.so.6: wrong elf class: elfclass64
the problem can't afford luxury delete library, because ssh'ing cluster @ lab i'm working in. wouldn't want mess programs running @ cluster, isn't there way of fixing problem? i'm hoping solution similar to:
sudo apt-get install libstd++6
that doesn't require me delete or modify files, rather install them.
or maybe error i'm not linking library correctly?
the file exist, when use
locate libstd++.so.6
the computer finds @ these directories:
/usr/lib64/libstdc++.so.6 /usr/lib64/libstdc++.so.6.0.13 /usr/local/matlab/r2012b/sys/os/glnxa64/libstdc++.so.6 /usr/local/matlab/r2012b/sys/os/glnxa64/libstdc++.so.6.0.13 /usr/local/matlab/r2012b/toolbox/sldv/sldv/polyspace-dvo/lib/x86-linux/libstdc++.so.6 /usr/local/matlab/r2012b/toolbox/sldv/sldv/polyspace-dvo/lib/x86-linux/libstdc++.so.6.0.13 /usr/local/matlab/r2013a/sys/os/glnxa64/libstdc++.so.6 /usr/local/matlab/r2013a/sys/os/glnxa64/libstdc++.so.6.0.13 /usr/local/matlab/r2013a_dcs/sys/os/glnxa64/libstdc++.so.6 /usr/local/matlab/r2013a_dcs/sys/os/glnxa64/libstdc++.so.6.0.13 /usr/local/matlab_r2012a/bin/glnxa64/libstdc++.so.6 /usr/local/matlab_r2012a/bin/glnxa64/libstdc++.so.6.0.13 /usr/local/matlab_r2012a/sys/os/glnxa64/libstdc++.so.6 /usr/local/matlab_r2012a/sys/os/glnxa64/libstdc++.so.6.0.13 /usr/local/matlab_r2012a/toolbox/sldv/sldv/polyspace-dvo/lib/x86-linux/libstdc++.so.6 /usr/share/gdb/auto-load/usr/lib/libstdc++.so.6.0.13-gdb.py /usr/share/gdb/auto-load/usr/lib/libstdc++.so.6.0.13-gdb.pyc /usr/share/gdb/auto-load/usr/lib/libstdc++.so.6.0.13-gdb.pyo /usr/share/gdb/auto-load/usr/lib64/libstdc++.so.6.0.13-gdb.py /usr/share/gdb/auto-load/usr/lib64/libstdc++.so.6.0.13-gdb.pyc /usr/share/gdb/auto-load/usr/lib64/libstdc++.so.6.0.13-gdb.pyo
i've tried setting path the file before running matlab, without anyluck:
ld_library_path=/usr/lib64:/home/arturo/virality/viral_cluster_ml/viral_features/code/scene_sun ./matlab
similar link , problem: http://www.linuxquestions.org/questions/linux-newbie-8/apt-get-messed-up-812346/
problem solved recompiling subfolder of code on cluster.
Comments
Post a Comment