Compiling wu-ftpd (no -lresolv ?)

eastsider

Registered
I struggled to compile wu-ftpd for a few hours last night trying to get a more featureful server than the ftpd included with OS X. Eventually I found that, on the good side, the lastest version of wu-ftpd http://www.wu-ftpd.org/ has a customized makefile for OS X. On the down side though, it doesn't quite work. It fails to link the executables with an error "-lresolv not found" (approximately). Now I know that OS X doesn't use a traditional resolv daemon (or whatever) because it has snazzy netinfo, but there HAS to be something for a poor little program like wu-ftpd to link to to do name lookups. Any ideas how I can fix this?
 
Hi,

unfortunatly i can't help you with your specufic problem, but if you can live with 2.6 there is a precompiled binary at Stepwise.

HTH

cu:Stray

P.S.

The build in ftpd has a lot more to give than most people think ;)
 
BIND parts are integrated into libc; it is a BSD system, after all. Just delete -lresolv part from the makefile, and it should "just work".
 
Back
Top