【发布时间】:2013-07-31 04:35:53
【问题描述】:
在进行链接时出现以下错误。
/usr/bin/ld: cannot find -lfl
======
cc -g .//obj/add.o .//obj/append.o .//obj/check.o .//obj/compare.o .//obj/free_mem.o
.//obj/output.o .//obj/postmosy.o .//obj/premosyy.o .//obj/premosyl.o .//obj/process.o
.//obj/store.o -o v2comp -lfl
/usr/bin/ld: cannot find -lfl
collect2: ld returned 1 exit status
make: *** [v2comp] Error 1
谢谢 拉杰什库马尔 V
【问题讨论】:
-
它不知道“fl”库是什么。确保你把
-L\location\to\.so -
...可能是因为没有安装该库,至少没有安装在链接器搜索路径中的目录之一中。