OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Subject: Re: Postfix Snapshot-20000551 Compile Failure with LDAP
From: Wietse Venema (wietseporcupine.org)
Date: Mon Jul 03 2000 - 18:50:43 CDT


Darron Froese:
> Has anyone seen this before? There's no mention of it in the archives.
>
> [error]
> gcc -Wmissing-prototypes -DHAS_LDAP -I/usr/include -DPATH_DB_H='<db_185.h>'
> -g -O -I. -I../include -DLINUX2 -c error.c
> gcc -Wmissing-prototypes -DHAS_LDAP -I/usr/include -DPATH_DB_H='<db_185.h>'
> -g -O -I. -I../include -DLINUX2 -o error error.o ../lib/libmaster.a
> ../lib/libglobal.a ../lib/libutil.a /usr/lib/liblber.a /usr/lib/libldap.a
> -ldb -lnsl -lresolv
> /usr/lib/libldap.a(result.o): In function `read1msg':
> result.o(.text+0x5f0): undefined reference to `ber_init'

Please follow the instructions in the LDAP_README file.
You swapped the order of the object libraries.

        Wietse