Upgrade GCC has to wipe the butt

xiaoxiao2021-03-05  22

Upgrade GCC from 3.3.4 to 3.3.5 in Gentoo, the result is a problem in compiling PHP-4.3.11 and GTK -2.6.4, and LD cannot find libstdc . LA of library file 3.3.4. Later, I found the answer on www.linuxsir.org, using fix_libtool_files.sh to fix the link. as follows:

FIX_LIBTOOL_FILES.SH 3.3.4

Fix_libtool_files.sh usage is as follows:

FIX_LIBTOOL_FILES.SH [--oldarch ] The old version of the old machine number, for example:

FIX_LIBTOOL_FILES.SH 3.2 --OLDARCH I386-PC-Linux-GNU

In addition: Gentoo users check if the Gentoolkit package is installed, there are many portage management tools, such as Revdep-Rebuild.

转载请注明原文地址:https://www.9cbs.com/read-35679.html

New Post(0)