On Fri, Feb 19, 2010 at 02:03:28PM -0800, Murray S. Kucherawy <msk_at_blackops.org> wrote:
> On Fri, 19 Feb 2010, Mike Markley wrote:
> >>For extra credit: Does the new opendkim-genzone tool work for the
> >>sample key you put in LDAP?
> >
> >Actually, it doesn't compile on my system. Now that I've got LDAP
> >tested, I plan to go see why that, Lua, etc. all cause build failures
> >here. Seems to all come down to missing dependencies, since the failures
> >are almost universally unresolved symbols.
>
> You may need the Makefile.in I sent to opendkim-users this morning. I had
> forgotten to make opendkim-genzone link against the external database
> libraries.
It still won't build with ldap enabled:
libtool: link: gcc -std=gnu99 -I/usr/include -g -O2 -o .libs/opendkim-genzone opendkim_genzone-opendkim-db.o opendkim_genzone-opendkim-genzone.o opendkim_genzone-util.o -L/usr/lib ../libopendkim/.libs/libopendkim.so -lresolv /home/madhack/src/opendkim/testrel/opendkim-2.0.0-pre/libar/.libs/libar.so -lssl -lcrypto -ldb -lldap -pthread -Wl,-rpath -Wl,/usr/local/lib
opendkim_genzone-opendkim-db.o: In function `dkimf_db_saslinteract':
/home/madhack/src/opendkim/testrel/opendkim-2.0.0-pre/opendkim/opendkim-db.c:223: undefined reference to `dkimf_get_ldap_param'
... and several more of that same kind. dkimf_get_ldap_param() seems to
be in opendkim.c, not opendkim-db.c, which isn't linked in to genzone.
Does it belong in that file or in opendkim-db.c?
--
Mike Markley <mike_at_markley.org>
Actual war is a very messy business. Very, very messy business.
- Kirk, "A Taste of Armageddon", stardate 3193.0
Received on Fri Feb 19 2010 - 22:56:29 PST