Yelp/dumb-init

Make giving error as /usr/bin/ld: cannot find -lc

sawashar opened this issue · 3 comments

Hi,
Iam trying to install dumb-init on centos but it is giving me following error while building it from source code:
cc -std=gnu99 -static -s -Wall -Werror -O3 -o dumb-init dumb-init.c
/usr/bin/ld: cannot find -lc
collect2: error: ld returned 1 exit status
make: *** [build] Error 1
Any help here?

I'd suggest googling "/usr/bin/ld: cannot find -lc" -- this isn't a problem with dumb-init but with missing packages on your system

I'd suggest googling "/usr/bin/ld: cannot find -lc" -- this isn't a problem with dumb-init but with missing packages on your system

I have glibc installed and tried things mentioned in the google search . Can you point me to a certain package missing.

I'd suggest googling "/usr/bin/ld: cannot find -lc" -- this isn't a problem with dumb-init but with missing packages on your system

I have glibc installed and tried things mentioned in the google search . Can you point me to a certain package missing.

I can't, it would require someone sitting at your machine and trying each of the things google suggests for your particular OS (which you haven't even told us what version it is or what packages or what you've tried)

this also isn't a generic support forum for centos / gcc and isn't a dumb-init specific problem