On Thu, Aug 23, 2001 at 06:06:26PM +0800, qmailldap wrote:
> hi��
> I've troubles compiling qmail-ldap (patch revision 0301) under openlinux
> check.o qldap-ldaplib.o qldap-debug.o sig.a strerr.a getln.a \
> wait.a case.a cdb.a fd.a seek.a open.a env.a stralloc.a alloc.a \
> substdio.a str.a qldap-errno.o error.a fs.a auto_qmail.o \
> auto_uids.o auto_usera.o auto_spawn.o -L/usr/local/openldap/lib -lldap -llber
> /usr/local/openldap/lib/libldap.so: undefined reference to `res_query'
> /usr/local/openldap/lib/libldap.so: undefined reference to `dn_expand'
> make: *** [qmail-lspawn] Error 1
AAAAAAaaargh!! Why can't one do his homework on his own? What exactly did
you not understand in
== cut ==
Edit the Makefile to reflect your setup. You can change the following values:
!block example
LDAPLIBS
Libraries you need for ldap, normally -lldap and -llber. On some systems
-lresolv is needed, too. If you have problems compiling, double check this.
== cut ==
???
I've told you multiple times to read it. You even git hints to look for
LDAPLIBS and -lresolv.
Sure you want to run a public reachable mailserver?
--
* Henning Brauer, [EMAIL PROTECTED], http://www.bsws.de *
* Roedingsmarkt 14, 20459 Hamburg, Germany *
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)