ºìÁªLinuxÃÅ»§
Linux°ïÖú

RedFlag LInux SP3 ±àÒë°²×°×îаæSquid-3.3.9

·¢²¼Ê±¼ä:2013-10-14 20:39:06À´Ô´:ºìÁª×÷Õß:yupanlovehlq
RedFlag LInux SP3 ±àÒë°²×°×îаæSquid-3.3.9


ÏÈÏÂÔغÃSquidÔ´Âë°ü£¬½âѹ¡£

#./configure --prefix=/usr/local/squid

#make all


³öÏÖÒÔÏ´íÎó£º/usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.15' not found
֮ǰÎÒÒѾ­±àÒëÁË×îаæGcc4.8Èí¼þ°ü£¬
ËùÒÔ½â¾ö´ËÎÊÌâ¾Í¼òµ¥¶àÁË¡£
³öÏָôíÎóµÄÔ­ÒòÊǵ±Ç°µÄGCC°æ±¾ÖУ¬Ã»ÓÐGLIBCXX_3.4.15£¬ÐèÒª°²×°¸ü¸ß°æ±¾¡£

ɾ³ýÔ­À´µÄÎļþ
# rm /usr/lib/libstdc++.so.6

ÖØн¨Á¢ÈíÁ¬½Ó¡£

ln -s /lus/local/gcc4.8/lib/libstdc++.so /usr/lib/libstdc++.so.6

Õâʱ£¬ÎÒÃÇÔÙÊäÈ룺strings /usr/lib/libstdc++.so.6 | grep GLIBCXX£¬½á¹ûΪ£º

[root@yupan gcc4.8]# strings /usr/lib/libstdc++.so.6 | grep GLIBCXX

GLIBCXX_3.4
GLIBCXX_3.4.1
GLIBCXX_3.4.2
GLIBCXX_3.4.3
GLIBCXX_3.4.4
GLIBCXX_3.4.5
GLIBCXX_3.4.6
GLIBCXX_3.4.7
GLIBCXX_3.4.8
GLIBCXX_3.4.9
GLIBCXX_3.4.10
GLIBCXX_3.4.11
GLIBCXX_3.4.12
GLIBCXX_3.4.13
GLIBCXX_3.4.14
GLIBCXX_3.4.15
GLIBCXX_3.4.16
GLIBCXX_3.4.17
GLIBCXX_3.4.18
GLIBCXX_3.4.19
GLIBCXX_FORCE_NEW
GLIBCXX_DEBUG_MESSAGE_LENGTH



ÔÙ´ÎÔËÐÐmake all°²×°Õý³£¡£.

# make install
Íê³É°²×°squid×îа棬
¾ßÌå ÈçºÎʹÓã¬ÕâÀﲻ̸¡£
ÎÄÕÂÆÀÂÛ

¹²ÓÐ 1 ÌõÆÀÂÛ

  1. ÓÚ 2014-06-18 11:07:11·¢±í:

    very good good