出現"/usr/bin/ld: cannot find -lc" - Linux

By David
at 2015-10-25T13:52
at 2015-10-25T13:52
Table of Contents
我編譯程式時, 輸入的編譯指令如下:
cc -Wall -g -static -o myFile myFile.c
結果出現這個錯誤訊息:
/usr/bin/ld: cannot find -lc
我上網查一下,
/usr/bin/ld: cannot find -lXXX
似乎是因為我沒有安裝特定的套件.
不好意思請問...
/usr/bin/ld: cannot find -lc
會出現"-lc", 是因為我少安裝了什麼套件嗎?
謝謝指教~~
--
Tags:
Linux
All Comments

By Elizabeth
at 2015-10-29T03:49
at 2015-10-29T03:49

By Puput
at 2015-11-02T17:10
at 2015-11-02T17:10

By Frederica
at 2015-11-06T11:20
at 2015-11-06T11:20

By Gary
at 2015-11-10T20:20
at 2015-11-10T20:20

By Rae
at 2015-11-14T02:25
at 2015-11-14T02:25

By Olga
at 2015-11-18T03:36
at 2015-11-18T03:36

By Quintina
at 2015-11-18T06:00
at 2015-11-18T06:00

By Donna
at 2015-11-18T13:44
at 2015-11-18T13:44

By Hedda
at 2015-11-21T23:24
at 2015-11-21T23:24
Related Posts
bitbucket被攻擊

By Sandy
at 2015-10-23T22:31
at 2015-10-23T22:31
編譯時遇到boost函式庫的問題

By Anthony
at 2015-10-23T21:21
at 2015-10-23T21:21
vm workstation環境移至vSphere client

By Necoo
at 2015-10-23T16:31
at 2015-10-23T16:31
Virtualbox guest處理file io很慢

By Olga
at 2015-10-23T15:55
at 2015-10-23T15:55
徵System Engineer/Server Application Pr

By Rosalind
at 2015-10-23T13:36
at 2015-10-23T13:36