/Usr/bin/ld: cannot find-lstdc ++/usr/bin/ld: cannot find-lm/usr/bin/ld: cannot find-lC

Source: Internet
Author: User

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 ~~

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.