[Date Prev][Date Next] [Chronological] [Thread] [Top]

compile proftpd error



Hello,There:
  I compiled and installed openldap-2.0.3 successfully on linux(slackware
7.1) and it works well.But when compiling proftpd-1.2.0rc2 with mod_ldap,
the proftpd 's make complain like this:
" /usr/local/lib/libldap.so: undefined reference to `res_query'
  /usr/local/lib/libldap.so: undefined reference to `dn_expand'
  collect2: ld returned 1 exit status
  make: *** [proftpd] Error 1              
"

  I check the res_query() manpage and add a -l resolv in the proftpd's
make.rule file.
it stopped complain but still can't run. 
  What does it mean '  /usr/local/lib/libldap.so: undefined reference to
`res_query'  '?

  Thanks in advance.
 
---------------------
					姚锋   yf@cdit.edu.cn
					成都理工学院网络中心
					(028)-4079044