Hi Emmanuel, > Michael Mansour <mic@...> wrote: > > > I checked this but it didn't make much sense to me. What do you think? > > > > configure:7173: checking for dkim_init in -ldkim -lsm -lcrypto > > configure:7208: gcc -o conftest -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 > > -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 > > -mtune=generic -fasynchronous-unwind-tables -Wall -Iyes/include -DUSE_GEOIP > > -Iyes/include -Iyes/include -Lyes/lib -Wl,--rpath=yes/lib -Lyes/lib > > -Wl,--rpath=yes/lib -Lyes/lib -Wl,--rpath=yes/lib conftest.c -ldkim -lsm > > -lcrypto -lGeoIP -lpthread -lspf2 >&5 > > /tmp/ccfEv56s.o: In function `main': > > /usr/src/redhat/BUILD/milter-greylist-4.3.4/conftest.c:68: undefined reference > > to `dkim_init' > > Now the question is: where is it? Please run this: > > for i in /usr/lib/libdkim* ; do echo $i; nm $i|grep dkim_init ; done # for i in /usr/lib/libdkim* ; do echo $i; nm $i|grep dkim_init ; done /usr/lib/libdkim.a Some other info: # file /usr/lib/libdkim.a /usr/lib/libdkim.a: current ar archive # rpm -qf /usr/lib/libdkim.a libdkim-1.0.19-2.el5.i386 # rpm -qil libdkim Name : libdkim Relocations: (not relocatable) Version : 1.0.19 Vendor: ATrpms.net Release : 2.el5 Build Date: Tue 19 Aug 2008 06:00:54 AM EST Install Date: Fri 26 Feb 2010 12:35:12 AM EST Build Host: junior.atrpms.net Group : System Environment/Libraries Source RPM: libdkim-1.0.19-2.el5.src.rpm Size : 125344 License: Apache Software License Signature : DSA/SHA1, Tue 19 Aug 2008 06:00:54 AM EST, Key ID 508ce5e666534c2b Packager : ATrpms <http://ATrpms.net/> URL : http://libdkim.sourceforge.net/ Summary : Alt-N Technologies DKIM Project Description : This project is a C++ library which allows incorporating DKIM into an existing MTA or other application. It provides full support for signing, verifying, and SSP. It is compliant with the allman-01 set of base and ssp drafts. /usr/include/dkim.h /usr/lib/libdkim.a /usr/share/doc/libdkim-1.0.19 /usr/share/doc/libdkim-1.0.19/LICENSE /usr/share/doc/libdkim-1.0.19/README After I installed the libdkim RPM from ATrpms.net, I ran "ldconfig" and then tried the compile on milter-greylist. Thanks for your assistance with this. Michael.
Message
Re: [milter-greylist] Compiling milter-greylist 4.3.4 with DKIM ?
2010-02-26 by Michael Mansour
Attachments
- No local attachments were found for this message.