1. the following error occurs during Firefox Compilation:
/Usr/bin/ld: cannot find-lpthread
/Usr/bin/ld: cannot find-lstdc ++
/Usr/bin/ld: cannot find-LM
/Usr/bin/ld: cannot find-lC
Strange, this is the most basic development library, and it is not installed?
2. According to the prompt information before the error, a problem occurred while connecting to the static database:
C ++-O dump_syms-static host_dump_syms.o .. /.. /.. /.. /.. /.. /.. /TOOLKIT/crashreporter/Google-breakpad/src/common/Linux/libhost_breakpad_linux_common_s.a .. /.. /.. /.. /.. /.. /.. /TOOLKIT/crashreporter/Google-breakpad/src/common/libhost_breakpad_common_s.a .. /.. /.. /.. /.. /.. /.. /TOOLKIT/crashreporter/Google-breakpad/src/common/dwarf/libhost_breakpad_dwarf_s.a
3. solution:
Search:
$ Sudo Yum search "static" | grep "\ (libc \ | stdc \ ++ \)"
50: glibc-static.i686: C library static libraries for-static linking.
61: libcxgb3-static.i686: static version of The libcxgb3 driver
82: libstdc ++-static. i686: static libraries for the GNU Standard C ++ Library
192: cdparanoia-static.i686: development tools for libcdda_paranoia (paranoia III)
266: dietlibc. i686: Small libc implementation
267: dietlibc-devel.i686: dietlibc development files
268: dietlibc-header.noarch: dietlibc header files
326: libcaca-devel.i686: Development files for libcaca, the library for colour ASCII
328: libcap-devel.i686: Development files for libcap
329: libcddb-devel.i686: Development files for libcddb
Okay, the above two red packages are not installed:
$ Sudo Yum install glibc-static libstdc ++-static
Problem solving OK ~~