while building gcc 4.3.3 I got the above error i.e., /usr/bin/ld: cannot find -lc collect2: ld returned 1 exit status make: *** [libgcc_s.so] Error 1 I spent more that two days How do you enchant items with Lapis Luzuli? Search: Forum UNIX/Linux Programming Error: /usr/bin/ld: cannot find -lc when Error: /usr/bin/ld: cannot find -lc when compile simplest program "hello.c" Oct 29, 2011 at 11:54pm UTC tkkg1001 (2) Hello all, Teenage daughter refusing to go to school C# TBB updating metadata value Can an object *immediately* start moving at a high velocity? weblink
Follow him on Twitter. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Someone peeled an American flag sticker off of my truck. Installing the packages is simple enough: $ sudo yum -y install glibc-static libstdc++-static So, for future reference, if you get linking errors about missing libraries and you know the libraries are
DistroKubuntu 11.04 Natty Narwhal Re: gcc installation cannot find -lc error Originally Posted by ravish112 I uncomment the couple lines like #deb-src http://arm-archive-ubuntu in /etc/apt/sources.list Still same error E: You must DistroKubuntu 11.04 Natty Narwhal Re: gcc installation cannot find -lc error Why compiling and not using software center ? current community chat Stack Overflow Meta Stack Overflow your communities Sign up or log in to customize your list. The time now is 07:59 PM.
If it is not in the man pages or the how-to's this is the place! Lab colleague uses cracked software. I installed glibc-devel.x86_64 package successfully when I did it in my office at my university but not in my room. Glibc-static Rhel 7 Share this tutorial on:TwitterFacebookGoogle+Download PDF version Found an error/typo on this page?About the author: Vivek Gite is a seasoned sysadmin and a trainer for the Linux/Unix & shell scripting.
Straight line equation Forcing everyone to speak the same language How to handle swear words in quote / transcription? Page 1 of 2 12 Last Jump to page: Results 1 to 10 of 13 Thread: gcc installation cannot find -lc error Thread Tools Show Printable Version Subscribe to this Thread… You can find it with apt-file search /libc.a (you'll need to install apt-file first, and initialize it by running sudo apt-file update). Why on root terminal?
Could you give me detail guide to solve this problem? (What things I have to install and how to install them?, etc) Thanks ! Cannot Find Collect2 Ld Returned 1 Exit Status more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed No new replies allowed. How is the correct air speed for fuel combustion obtained at the inlet of the combustor?
Also, please note that software in universe WILL NOT receive any ## review or updates from the Ubuntu security team. OK, I fixed it. Centos Ld Cannot Find -lmysqlclient How good should one be to participate in PS? Usr Bin Ld Cannot Find Collect2 FAQ Forum Quick Links Unanswered Posts New Posts View Forum Leaders FAQ Contact an Admin Forum Community Forum Council FC Agenda Forum Governance Forum Staff Ubuntu Forums Code of Conduct Forum
Thanks for your time, Tony aa2bi View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by aa2bi 06-08-2004, 05:50 PM #2 m_yates Senior have a peek at these guys linux make share|improve this question asked Oct 9 '12 at 17:46 Mike Thompson 132 add a comment| 1 Answer 1 active oldest votes up vote 3 down vote accepted Try the Since you stated you are on CentOS, you should be able to accomplish this with yum install glibc-static. c gcc makefile share|improve this question asked Apr 15 '13 at 21:26 SealCuadrado 1641116 ar rcs lib/libevento.a event.o <- typo here or in the actual makefile? –Daniel Fischer Apr "/usr/bin/ld: Cannot Find -lm"
Is there a way to compiling this without installing anything? Done Building dependency tree Reading state information... Can I download it and install it manually from somewhere? http://rinfix.com/cannot-find/usr-bin-ld-cannot-find-lgl.html Best app ever: Easystroke Adv Reply Page 1 of 2 12 Last Jump to page: Quick Navigation Installation & Upgrades Top Site Areas Settings Private Messages Subscriptions Who's Online Search
It turns out that BEDOPS is compiled statically: mkdir -p ../bin && g++ -o ../bin/bedmap -static -s -Wall -pedantic -O3 -std=c++11 objects/NaN.o objects/starchConstants.o objects/starchFileHelpers.o objects/starchHelpers.o objects/starchMetadataHelpers.o objects/unstarchHelpers.o objects/starchSha1Digest.o objects/starchBase64Coding.o -L/bedops/applications/bed/bedmap/src/../../../../third-party/jansson/lib -L/bedops/applications/bed/bedmap/src/../../../../third-party/bzip2 Cannot Find Collect2 Error Ld Returned 1 Exit Status Anyway,before compiling run Code: sudo apt-get build-dep gcc which installs all dependencies for compiling gcc. What is the common, normally open, normally closed?
I cannot disable multilib becase shared libraries support is required On Fri, Feb 1, 2013 at 12:03 PM, Ian Lance Taylor
no, do not subscribeyes, replies to my commentyes, all comments/replies instantlyhourly digestdaily digestweekly digest Or, you can subscribe without commenting. linwhwylb View Public Profile Find all posts by linwhwylb #4 30th October 2011, 02:18 AM tkkg1001 Offline Registered User Join Date: Oct 2011 Posts: 7 Re: Error: /usr/bin/ld: