Hi,
running Ubuntu Server 8.04 LTS. Trying to compile dkim-filter 2.8.3.
First I installed libmilter using:
$ sudo apt-get install libmilter1 libsendmail-pmilter-perl
libmilter1-dbg libmilter1 libmilter-dev
Next I editted the file site.config.m4.dist and uncommented the last two
lines in this section:
dnl libmilter -- Sendmail's milter library
dnl
dnl This must be in the search rules for your compile. If necessary,
dnl adjust the paths below and enable the lines by deleting "dnl" from the
dnl front of them.
APPENDDEF(`bld_dkim_filter_INCDIRS', `-I/usr/include/libmilter ')
APPENDDEF(`bld_dkim_filter_LIBDIRS', `-L/usr/lib/libmilter ')
After running:
$ sh ./Build
I get:
[...]
make[1]: Entering directory
`/home/user/dkim-milter-2.8.3/obj.Linux.2.6.24-16-server.i686/dkim-filter'
cc -o dkim-filter -lpthread config.o dkim-ar.o dkim-arf.o dkim-crypto.o
dkim-db.o dkim-filter.o stats.o test.o util.o -lmilter
/home/user/dkim-milter-2.8.3/obj.Linux.2.6.24-16-server.i686/libdkim/libdkim.a
/home/user/dkim-milter-2.8.3/obj.Linux.2.6.24-16-server.i686/libsm/libsm.a
-ldb -lresolv -lcrypt -lnsl -ldl -lssl -lcrypto
/usr/bin/ld: cannot find -lmilter
collect2: ld returned 1 exit status
make[1]: *** [dkim-filter] Error 1
make[1]: Leaving directory
`/home/user/dkim-milter-2.8.3/obj.Linux.2.6.24-16-server.i686/dkim-filter'
make: *** [all] Error 2
The contents of /usr/include/libmilter:
$ ls -l /usr/include/libmilter/*
-rw-r--r-- 1 root root 16588 2006-11-02 03:44 /usr/include/libmilter/mfapi.h
-rw-r--r-- 1 root root 4727 2007-03-27 20:53 /usr/include/libmilter/mfdef.h
The contents of /usr/lib/libmilter:
$ ls -l /usr/lib/libmilter
total 304
-rw-r--r-- 1 root root 67348 2008-01-24 15:30 libmilter.a
lrwxrwxrwx 1 root root 14 2009-09-17 23:22 libmilter.so ->
libmilter.so.1
lrwxrwxrwx 1 root root 17 2009-09-17 23:22 libmilter.so.1 ->
../libmilter.so.1
-rw-r--r-- 1 root root 209504 2008-01-24 15:30 libsm.a
-rw-r--r-- 1 root root 19612 2008-01-24 15:30 libsmutil.a
$ ls -l /usr/lib/libmilter.so.1
-rw-r--r-- 1 root root 46372 2008-01-24 15:30 libmilter.so.1
What do I do wrong?
/rolf
_______________________________________________
dkim-ops mailing list
dkim-ops(_at_)mipassoc(_dot_)org
http://mipassoc.org/mailman/listinfo/dkim-ops