Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 722

Summary: Proftpd fails compilation with ldap USE flag and openldap v2.x
Product: Gentoo Linux Reporter: Tim Hobbs <rectrix>
Component: [OLD] ServerAssignee: Donny Davies (RETIRED) <woodchip>
Status: RESOLVED FIXED    
Severity: minor    
Priority: Low    
Version: 1.0 RC6 r14   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Tim Hobbs 2002-02-16 23:50:45 UTC
This may affect more than just proftpd, but that's where I found it.

This is a known issue.  The error message is similar to: undefined reference to 
__dn_expand __res_query

the resolution is to set the LDFLAGS, ie. export LDFLAGS="-lresolv"

Then all is well.
Comment 1 Donny Davies (RETIRED) gentoo-dev 2002-03-18 11:53:18 UTC
thanks for the report, sorry it took so long to fix.