Centos¿¡¼­ libstdc++.so.5 ¼³Ä¡ ¹®ÀÇ µå¸³´Ï´Ù.

   Á¶È¸ 28651   Ãßõ 0    

회사 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 방법밖에 모릅니다.



ªÀº±Û Àϼö·Ï ½ÅÁßÇÏ°Ô.
±èȲÁß 2014-06
> yum install libstdc++.so.5

ÀÌ¹Ì Áú¹®¼Ó¿¡ ´äÀÌ....^^;;;
     
¹ÚÇö±Ù 2014-06
Package compat-libstdc++-33-3.2.3-69.el6.i686 already installed and latest version
ÀÌ¹Ì ¼³Ä¡ µÇ¾î ÀÖ´Ù°í ³ª¿À´Âµ¥....°è¼Ó À§¿Í °°Àº ¸Þ¼¼Áö°¡ ³ª¿É´Ï´Ù.
          
ÇÇÅõ¼º 2014-06
libstdc++.so.5ÀÇ ÆÄÀÏ À§Ä¡¸¦ È®ÀÎÇϽðí
export LD_LIBRARR_PATH=$LD_LIBRARY_PATH:path:./:
ȯ°æº¯¼ö °É¾îÁÖ½Ã¸é µË´Ï´Ù.
               
¹ÚÇö±Ù 2014-06
/usr/share/gdb/python/libstdcxx
/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¿¡ ÁöÁ¤ ÇØÁÖ¾ú´Àµ¥....°°Àº Áõ»óÀÌ ³ª¿É´Ï´Ù.
ÀÌ·²°æ¿ì¿¡´Â ¾îµð¸¦ È®ÀÎÇØ¾ß µÉ°¡¿ä?
                    
±èµ¿¼öP 2014-06
file /usr/local/Abaqus/6.12-1/code/bin/ABQcaeK.exe Çϼż­ ÆÄÀÏ Çü½Ä È®ÀÎÀ» ¿ì¼Ç ÇÏ¼Å¾ß ÇÕ´Ï´Ù.
¾Æ¸¶ ¾ÈµÈ´Ù°í ÇϽô°ɷΠºÁ¼­´Â 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 ·Î Á¤»ó ÀνÄÇϳª È®ÀÎÇϼ¼¿ä.
                         
ÇÇÅõ¼º 2014-06
±èµ¿¼ö´Ô ¸»¾¸ÀÌ Á¤È®ÇÕ´Ï´Ù. ´Ù¸¸ Âü°í·Î µð·º ±¸Á¶·Î º¸¾Æ 64ºñÆ® ¸Ó½ÅÀ¸·Î º¸ÀÌÁö¸¸, ¾Æ¸¶µµ Ȥ½Ã È£½ºÆ®°¡ 32bit ¸Ó½ÅÀ̸é 64bit ÇÁ·Î±×·¥À» ½ÇÇàÇÒ ¼ö´Â ¾øÀ» °ÍÀ¸·Î »ý°¢µË´Ï´Ù. ¹°·Ð ¹Ý´ëÀÇ °æ¿ì´Â °¡´ÉÇÕ´Ï´Ù.
                         
¹ÚÇö±Ù 2014-06
ÆÄÀÏ Çü½Ä È®ÀÎ °á°ú ....´ÙÀ½°ú °°½À´Ï´Ù.

/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

¸»¾¸ÇϽŠ¹öÀüÀ̶û..´Ù¸¥ ¹öÀüÀÏ°¡¿ä?
                         
±èµ¿¼öP 2014-06
compat-libstdc++ 64ºñÆ® ÆÐÅ°Áö°¡ ¾ø¾î¼­ ³ª´Â ¿¡·¯ÀÔ´Ï´Ù.
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 À¸·Î ¼³Ä¡ÇÏ½Ã¸é µË´Ï´Ù.
                         
¹ÚÇö±Ù 2014-06
¸»¾¸ÇϽŵ¥·Î ¼³Ä¡ÇÏ´Ï ÇØ°áµÇ¾ú½À´Ï´Ù.

Á¤¸» °¨»çÇÕ´Ï´Ù.


QnA
Á¦¸ñPage 3115/5686
2014-05   4970888   Á¤ÀºÁØ1
2015-12   1507206   ¹é¸Þ°¡
2015-09   15180   À©µµ¿ì10
2009-04   5972   ¹Ú¿ì¿­
2014-05   10068   ³ªÆÄÀÌ°­½ÂÈÆ
2017-10   5065   ³ª¶ó¶ß
2012-07   4457   Æ®¶óÀÌ
2016-10   5146   yeondoo
2020-03   2828   sbg2005
2020-03   2380   ĵÀ§µå
2015-10   3809   ADUS
2009-06   5009   ¼Õ¼®¿ì
2012-08   8816   ³ª¿ì¸¶Å©
2021-08   2161   ¼­¹öÁ»Á¦¹ß
2012-08   4904   Println
2019-02   4342   ´ÃÆĶõ
2019-02   3110   ȣȣ
2009-06   17164   ¹Úµ¿¼·
2012-09   5849   ¿µ¿øÇÑÇõ½Å
2014-06   5026   ¼ÛÁøÇö
2017-11   4295   °³¶ô
2009-06   8974   ÀϹÝÀ¯Àú