RE: [Clamav-users] Undefined symbol _deny_severity

2004-02-18 Thread Lynn Duerksen
I'm not using milter.  Why does this affect an install with postfix?

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:clamav-users-
 [EMAIL PROTECTED] On Behalf Of Igor Brezac
 Sent: Wednesday, February 18, 2004 3:15 PM
 To: [EMAIL PROTECTED]
 Subject: Re: [Clamav-users] Undefined symbol _deny_severity
 
 
 Clamav assumes that everyone uses a static verison of libwrap.
 
 Here is a patch for clamav-milter.c.  A similar patch needs to be
applied
 to configure script for the tcpwrappers detection and libwrap needs to
be
 linked against the clamav-milter binary only.
 
 --- clamav-milter.c.origWed Feb 18 15:56:29 2004
 +++ clamav-milter.c Mon Feb 16 07:32:02 2004
 @@ -401,6 +401,10 @@
 
  #ifdef WITH_TCPWRAP
  #include tcpd.h
 +
 +int allow_severity = LOG_DEBUG;
 +int deny_severity = LOG_ERR;
 +
  #endif
 
  #if defined(CL_DEBUG)  defined(C_LINUX)
 
 -Igor
 
 On Wed, 18 Feb 2004, Lynn Duerksen wrote:
 
  Just update a system running .65 to .67-1
 
  /usr/libexec/ld.so: Undefined symbol _deny_severity in
  clamd:/usr/lib/libwrap.so.3.0
 
  I tried the OpenBSD port as well as the stable code.  Same results
 
  Any suggestions?
 
 
  Lynn Duerksen
  Technical Manager
  Futureware Distributing, Inc
  OpenBSD 3.3
  Amavisd-new
 
 
 
 
 
  ---
  SF.Net is sponsored by: Speed Start Your Linux Apps Now.
  Build and deploy apps  Web services for Linux with
  a free DVD software kit from IBM. Click Now!
  http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
  ___
  Clamav-users mailing list
  [EMAIL PROTECTED]
  https://lists.sourceforge.net/lists/listinfo/clamav-users
 
 
 --
 Igor
 
 
 ---
 SF.Net is sponsored by: Speed Start Your Linux Apps Now.
 Build and deploy apps  Web services for Linux with
 a free DVD software kit from IBM. Click Now!
 http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
 ___
 Clamav-users mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/clamav-users



---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


RE: [Clamav-users] Undefined symbol _deny_severity

2004-02-18 Thread Igor Brezac

My guess is that your clamd/clam*scan is linked with libwrap.  What does
'ldd clamd' say?

-Igor

On Wed, 18 Feb 2004, Lynn Duerksen wrote:

 I'm not using milter.  Why does this affect an install with postfix?

  -Original Message-
  From: [EMAIL PROTECTED] [mailto:clamav-users-
  [EMAIL PROTECTED] On Behalf Of Igor Brezac
  Sent: Wednesday, February 18, 2004 3:15 PM
  To: [EMAIL PROTECTED]
  Subject: Re: [Clamav-users] Undefined symbol _deny_severity
 
 
  Clamav assumes that everyone uses a static verison of libwrap.
 
  Here is a patch for clamav-milter.c.  A similar patch needs to be
 applied
  to configure script for the tcpwrappers detection and libwrap needs to
 be
  linked against the clamav-milter binary only.
 
  --- clamav-milter.c.origWed Feb 18 15:56:29 2004
  +++ clamav-milter.c Mon Feb 16 07:32:02 2004
  @@ -401,6 +401,10 @@
 
   #ifdef WITH_TCPWRAP
   #include tcpd.h
  +
  +int allow_severity = LOG_DEBUG;
  +int deny_severity = LOG_ERR;
  +
   #endif
 
   #if defined(CL_DEBUG)  defined(C_LINUX)
 
  -Igor
 
  On Wed, 18 Feb 2004, Lynn Duerksen wrote:
 
   Just update a system running .65 to .67-1
  
   /usr/libexec/ld.so: Undefined symbol _deny_severity in
   clamd:/usr/lib/libwrap.so.3.0
  
   I tried the OpenBSD port as well as the stable code.  Same results
  
   Any suggestions?
  
  
   Lynn Duerksen
   Technical Manager
   Futureware Distributing, Inc
   OpenBSD 3.3
   Amavisd-new
  
  
  
  
  
   ---
   SF.Net is sponsored by: Speed Start Your Linux Apps Now.
   Build and deploy apps  Web services for Linux with
   a free DVD software kit from IBM. Click Now!
   http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
   ___
   Clamav-users mailing list
   [EMAIL PROTECTED]
   https://lists.sourceforge.net/lists/listinfo/clamav-users
  
 
  --
  Igor
 
 
  ---
  SF.Net is sponsored by: Speed Start Your Linux Apps Now.
  Build and deploy apps  Web services for Linux with
  a free DVD software kit from IBM. Click Now!
  http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
  ___
  Clamav-users mailing list
  [EMAIL PROTECTED]
  https://lists.sourceforge.net/lists/listinfo/clamav-users



 ---
 SF.Net is sponsored by: Speed Start Your Linux Apps Now.
 Build and deploy apps  Web services for Linux with
 a free DVD software kit from IBM. Click Now!
 http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
 ___
 Clamav-users mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/clamav-users


-- 
Igor


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


RE: [Clamav-users] Undefined symbol _deny_severity

2004-02-18 Thread Lynn Duerksen


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:clamav-users-
 [EMAIL PROTECTED] On Behalf Of Igor Brezac
 Sent: Wednesday, February 18, 2004 3:57 PM
 To: [EMAIL PROTECTED]
 Subject: RE: [Clamav-users] Undefined symbol _deny_severity
 
 
 My guess is that your clamd/clam*scan is linked with libwrap.  What
does
 'ldd clamd' say?
 

/usr/local/sbin/clamd:
-lclamav.1 = /usr/local/lib/libclamav.so.1.3 (0x40025000)
-lz.2 = /usr/lib/libz.so.2.0 (0x4003d000)
-lbz2.10 = /usr/local/lib/libbz2.so.10.2 (0x4004a000)
-lgmp.6 = /usr/local/lib/libgmp.so.6.2 (0x40059000)
-lpthread.1 = /usr/lib/libpthread.so.1.0 (0x40083000)
-lc.29 = /usr/lib/libc.so.29.0 (0x4009a000)


 -Igor
 
 On Wed, 18 Feb 2004, Lynn Duerksen wrote:
 
  I'm not using milter.  Why does this affect an install with postfix?



---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


Re: [Clamav-users] Undefined symbol _deny_severity

2004-02-18 Thread Nigel Horne
On Wednesday 18 Feb 2004 9:15 pm, Igor Brezac wrote:
 Clamav assumes that everyone uses a static verison of libwrap.

 Here is a patch for clamav-milter.c.  A similar patch needs to be applied
 to configure script for the tcpwrappers detection and libwrap needs to be
 linked against the clamav-milter binary only.

Thank you for this, I'll look into it.
For future reference please do not send patches to clamav-users, either send
them directly to me or to clamav-devel.

 -Igor

-Nigel

-- 
Nigel Horne. Arranger, Composer, Typesetter.
NJH Music, Barnsley, UK.  ICQ#20252325
[EMAIL PROTECTED] http://www.bandsman.co.uk



---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


RE: [Clamav-users] Undefined symbol _deny_severity

2004-02-18 Thread Igor Brezac

On Wed, 18 Feb 2004, Lynn Duerksen wrote:



  -Original Message-
  From: [EMAIL PROTECTED] [mailto:clamav-users-
  [EMAIL PROTECTED] On Behalf Of Igor Brezac
  Sent: Wednesday, February 18, 2004 3:57 PM
  To: [EMAIL PROTECTED]
  Subject: RE: [Clamav-users] Undefined symbol _deny_severity
 
 
  My guess is that your clamd/clam*scan is linked with libwrap.  What
 does
  'ldd clamd' say?
 

 /usr/local/sbin/clamd:
 -lclamav.1 = /usr/local/lib/libclamav.so.1.3 (0x40025000)
 -lz.2 = /usr/lib/libz.so.2.0 (0x4003d000)
 -lbz2.10 = /usr/local/lib/libbz2.so.10.2 (0x4004a000)
 -lgmp.6 = /usr/local/lib/libgmp.so.6.2 (0x40059000)
 -lpthread.1 = /usr/lib/libpthread.so.1.0 (0x40083000)
 -lc.29 = /usr/lib/libc.so.29.0 (0x4009a000)


Based on your runtime error, I expected libwrap in this output.

I just checked the build process and libwrap should be linked with
libclamav.so.1.3.  This is were the undefined symbol is coming from.

-- 
Igor


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users