[milters] Archive

Lists Index Date Thread Search

Article: 895
From: Jon Rowlan
Date: 2010-07-17 07:23:57 -0400
Subject: milter-ahead with Debian Testing

Hi all,

I am working with Debian Testing (Squeeze) and sendmail 8.14.3 and
milter-ahead 1.1

I am having a problem getting the correct LIBS definition to build
milter-ahead.

The result of ./configure gives ...

LibSnert/1.61.829
Copyright 1996, 2006 by Anthony Howe. All rights reserved.

  Platform..........: Linux gcc
  pthread & mutex...: yes yes
  Semaphore.........: SYSTEMV_API
  Shared Memory.....: SYSTEMV_API
  Time..............: POSIX_API
  Berkeley DB.......: 4.8
  libmilter.........: required
  CFLAGS............: -D_REENTRANT -O2 -Wall -I${top_srcdir}/../../
  LDFLAGS...........: -L${top_srcdir}/../../lib
  LIBS..............: -lpam -lrt -lpthread -ldb-4.8 -ldl

Whereas on a previous build on an earlier platform I get ..

LibSnert/1.61.829
Copyright 1996, 2006 by Anthony Howe. All rights reserved.

  Platform..........: Linux gcc
  pthread & mutex...: yes yes
  Semaphore.........: SYSTEMV_API
  Shared Memory.....: SYSTEMV_API
  Time..............: POSIX_API
  Berkeley DB.......: 4.4
  libmilter.........: yes
  CFLAGS............: -D_REENTRANT -I
/usr/local/BerkeleyDB.4.4/include/. -O2 -Wall
-I${top_srcdir}/../../include
  LDFLAGS...........: -L /usr/local/BerkeleyDB.4.4/lib/.
-L${top_srcdir}/../../lib
  LIBS..............: -lmilter -lpam -lrt -lpthread -ldb-4.4 -ldl

I have, as suggested in a previous article, rebuilt clean and this has
made no difference.

I don't know which part of the configure is failing but comparing my
logs from way back and now, this looks like it may be the cause:

configure:15882: $? = 0
configure:15885: test -s conftest.o
configure:15888: $? = 0
configure:15948: result: yes
configure:16040: checking for smfi_main in -lmilter
configure:16071: gcc -o conftest -D_REENTRANT -O2 -Wall
-I${top_srcdir}/../../include   -L${top_srcdir
}/../../lib  conftest.c -lmilter  -lpam -lrt -lpthread -ldb-4.8 -ldl
>&5
/usr/bin/ld: cannot find -lmilter

Can anyone advise?

Many thanks all,

Regards,

jON



Lists Index Date Thread Search