회사 Centos서버에 프로그램을 설치하였습니다. (abaqus)
실행을 하려니
/usr/local/Abaqus/6.12-1/code/bin/ABQcaeK.exe: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
Abaqus Error: Abaqus/CAE Kernel exited with an error.
libstdc++.so.5를 설치 하면 될것 같은데...
yum으로 libstdc++5 설치 방법 문의 드립니다.
아직 linux 실력이 yum 방법밖에 모릅니다.
ÀÌ¹Ì Áú¹®¼Ó¿¡ ´äÀÌ....^^;;;
ÀÌ¹Ì ¼³Ä¡ µÇ¾î ÀÖ´Ù°í ³ª¿À´Âµ¥....°è¼Ó À§¿Í °°Àº ¸Þ¼¼Áö°¡ ³ª¿É´Ï´Ù.
export LD_LIBRARR_PATH=$LD_LIBRARY_PATH:path:./:
ȯ°æº¯¼ö °É¾îÁÖ½Ã¸é µË´Ï´Ù.
/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
/usr/share/gdb/auto-load/usr/lib64/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/lib/libstdc++.so.6.0.13-gdb.py
/usr/share/doc/libstdc++-devel-4.4.7
/usr/lib64/libstdc++.so.6
/usr/lib64/libstdc++.so.6.0.13
/usr/local/Abaqus/6.12-1/code/bin/SMAExternal/ATOM/bin/os_linux_x86_64/lib64/libstdc++.so.6
/usr/local/Abaqus/6.12-1/code/bin/SMAExternal/ATOM/bin/os_linux_x86_64/lib64/libstdc++.so.6.0.8
/usr/local/msc_20130/msc20130/actran/linux64/Actran_14.0.b.63666/lib/libstdc++.so.6
/usr/local/msc_20130/msc20130/actran/linux64/Actran_14.0.b.63666/utils/odb2act/lib/libstdc++.so.6
/usr/lib/libstdc++.so.5
/usr/lib/libstdc++.so.5.0.7
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/libstdc++.so
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/32/libstdc++.so
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/32/libstdc++.a
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/libstdc++.a
/home/vpuser/.local/share/Trash/expunged/1085531941/MSC.Software/msc20130/actran/linux64/Actran_14.0.b.63666/utils/odb2act/lib/libstdc++.so.6
/home/vpuser/.local/share/Trash/expunged/1085531941/MSC.Software/msc20130/actran/linux64/Actran_14.0.b.63666/lib/libstdc++.so.6
À§¿Í °°ÀÌ °Ë»öÀ» Çؼ /usr/lib °æ·Î¸¦ PATH¿¡ ÁöÁ¤ ÇØÁÖ¾ú´Àµ¥....°°Àº Áõ»óÀÌ ³ª¿É´Ï´Ù.
ÀÌ·²°æ¿ì¿¡´Â ¾îµð¸¦ È®ÀÎÇØ¾ß µÉ°¡¿ä?
¾Æ¸¶ ¾ÈµÈ´Ù°í ÇϽô°ɷΠºÁ¼´Â 64ºñÆ®¿ë ½ÇÇàÆÄÀÏÀÏ°Å °°Àºµ¥¿ä...
ÀÌ°æ¿ì compat-libstdc++-33-3.2.3-69.el6-x86_64 ÆÐÅ°Áö ¼³Ä¡ÇÏ¼Å¾ß ÇÕ´Ï´Ù. (¾øÀ¸¸é rpmÀ¸·Î ¼³Ä¡)
¸¸¾à¿¡ ÆÄÀÏ Çü½ÄÀÌ 32bit ¶ó¸é(ÀÌ °¡´É¼ºÀº Èñ¹ÚÇÔ)
ldconfig -v ½ÇÇàÇϼż Á¤»óÀûÀ¸·Î lib¸¦ ÀνÄÇÏ°í ÀÖ´ÂÁö È®ÀÎÇϼ¼¿ä.
¸¸¾à¿¡ ldconfig -v ¿¡¼ lib°¡ ¾È³ª¿À¸é /etc/ld.so.conf °¡ ²¿ÀÎ°Å´Ï ¼öÁ¤ÇϽðí
´Ù½Ã ldconfig -v ·Î Á¤»ó ÀνÄÇϳª È®ÀÎÇϼ¼¿ä.
/usr/local/Abaqus/6.12-1/code/bin/ABQcaeK.exe: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, not stripped
rpm -qa | grep libstdc
libstdc++-4.4.7-4.el6.x86_64
libstdc++-devel-4.4.7-4.el6.x86_64
compat-libstdc++-33-3.2.3-69.el6.i686
¸»¾¸ÇϽŠ¹öÀüÀ̶û..´Ù¸¥ ¹öÀüÀÏ°¡¿ä?
rpm À¸·Î ±¸Çؼ ¼³Ä¡ÇÏ½Ã¸é µÉµí ÇÕ´Ï´Ù.
compat-libstdc++-33-3.2.3-69.el6-x86_64.rpm À» ¾Æ¹«µ¥¼³ª ±¸ÇϽðí(±¸±Û°Ë»öÇÏ¸é ³ª¿È), ¼¹ö¿¡ ¿Ã¸®½Å ÈÄ
rpm -Uvh compat-libstdc++-33-3.2.3-69.el6-x86_64.rpm
À¸·Î ¼³Ä¡ ÇϽñ¸¿ä...
¼³Ä¡ ³¡³ª¸é ldconfig -v ·Î Á¦´ë·Î ¼³Ä¡µÇ¾ú´ÂÁö È®ÀÎÇϼ¼¿ä.
¸¸¾à¿¡ ¼³Ä¡½Ã ÀÇÁ¸¼º °É¸®¸é ¾î¶² ÆÐÅ°Áö°¡ ÇÊ¿äÇÏ´Ù°í ³ª¿À´Ï yum À¸·Î ¼³Ä¡ÇÏ½Ã¸é µË´Ï´Ù.
Á¤¸» °¨»çÇÕ´Ï´Ù.