发信人: stevensli() 
整理人: hackerbay(2002-09-06 16:48:51), 站内信件
 | 
 
 
以下内容摘自 FreeBSD mail list
 
 1. Just remove -lresolv from the command line, it isn't needed in FreeBSD and it's quite normal that libresolv doesn't exist.
 
 2. Under FreeBSD 'libresolv' is bundled in with libc.  You don't need
 -lresolv to get the resolver functions.
 
 
 【 在 wienne 的大作中提到:】
 :gcc  -g -O2 -Wall  -o vchkpw  vchkpw.o libvpopmail.a -L/usr/local/lib -lldap -llber -lresolv -lcrypt
 :/usr/libexec/elf/ld: cannot open -lresolv: No such file or directory
 :*** Error code 1
 :
 :resolv.h
 :
 :......
  | 
 
 
 |