0

我正在尝试编译 iproute2 并在运行 make 命令后出现以下错误:

gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -DLIBDIR=\"/usr/lib/\" -I/usr//usr/include  -o arpd arpd.c ../lib/libnetlink.a ../lib/libutil.a -ldb -lpthread
/usr/bin/ld: cannot find -ldb
collect2: error: ld returned 1 exit status
make[1]: *** [arpd] Error 1
make[1]: Leaving directory `/home/Desktop/iproute/iproute2-3.1.0/misc'
make: *** [all] Error 2

我去了我的/usr/bin目录,我找不到文件夹 ld 本身。

我从 packages.ubuntu.com/hu/trusty/i386/ldb-tools/download 安装了包 ldbtools 但它没有任何区别

4

0 回答 0