Re: [Clamav-users] (no subject)

2004-12-08 Thread Nigel Horne
On Tue, 2004-12-07 at 20:02 -0600, James wrote:
 I am having the same issues too:
 
 Undefined   first referenced
  symbol in file
 __eprintf   strrcpy.lo
 ld: fatal: Symbol referencing errors. No output written to
 .libs/libclamav.so.1.0.4
 make[2]: *** [libclamav.la] Error 1
 make[2]: Leaving directory `/space/src/clamav-0.80/libclamav'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory `/space/src/clamav-0.80'
 make: *** [all] Error 2
 
 I am running Solaris 8 x86.  I also have to disable bzip2 (otherwise I get the
 bzip compile errors) although I have the latest version installed and
 referenced out of /usr/bin and /usr/local/bin.
 .

What options have you given to configure?
 
 James

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

___
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


[Clamav-users] [synalist] [ANN] ClamMail source and binary Beta 3 available

2004-12-08 Thread Bogusaw Brandys

Hi,


ClamMail - GPL POP3 proxy for Windows with tight integrated ClamAV 
engine support , is now available for download.

This is Beta 3 release , only NT service support. Win98 support will be 
available in next RC1 version.

ClamMail is based on 0.80 CVS version of ClamAV - GPL antivirus 
(www.clamav.net).
ClamMail is using Delphi and Synapse library as main component for POP3 
support (http://www.ararat.cz/synapse)



Features:
- created as Windows N/XP service (Win98 'simple' service will be 
included in RC1 version)
- clean e-mails from malwares using ClamAV with highly configurable options
- automatically updates ClamAV signatures database in background using 
efficient DNS method


ClamMail SourceForge page: http://sourceforge.net/projects/clammail


ClamMail official home page (not working yet): www.bransoft.com


I appreciate any help and bug-report. Co-developers and documentation 
maintainers are also welcome (in fact there is no documentation today :-( )


P.S. If Your e-mail provider is not using any antivirus or You are not 
satisfied with current antivirus , please support this project.However 
if Your e-mail provider is using ClamAV currently there is probably no 
need to have separate personal POP3 proxy.

Best Regards
Boguslaw Brandys
BranSoft


 Yahoo! Groups Sponsor ~-- 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/9rHolB/TM
~- 

 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/synalist/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 



___
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


AW: [Clamav-users] clamd segfaults

2004-12-08 Thread Steffen Heil
Hi

 Assuming that that is the pdf accessible at
http://www.pressedienst.saarland.de/prd/anhaenge/anhang_6781.pdf, it does
not crash clam here.  Using 0.80.

It is not the pdf that crashes clamav, it's the eml file that contains it.
It has incorrect mime headers.

Regards,
  Steffen


smime.p7s
Description: S/MIME cryptographic signature
___
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


Re: [Clamav-users] Re: Problem compiling clamav-0.80 - Solaris x86

2004-12-08 Thread Ken Jones
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


 Quoting Dennis Peterson [EMAIL PROTECTED]:

 James wrote:
  Let's try with a searchable subject...  ;-)
 
  I am having the same issues too:
 
  Undefined   first referenced
   symbol in file
  __eprintf   strrcpy.lo
  ld: fatal: Symbol referencing errors. No output written to
  .libs/libclamav.so.1.0.4
  make[2]: *** [libclamav.la] Error 1
  make[2]: Leaving directory `/space/src/clamav-0.80/libclamav'
  make[1]: *** [all-recursive] Error 1
  make[1]: Leaving directory `/space/src/clamav-0.80'
  make: *** [all] Error 2
 
  I am running Solaris 8 x86.  I also have to disable bzip2 (otherwise I
 get
 the
  bzip compile errors) although I have the latest version of bzip2
 installed
 and
  referenced out of /usr/bin and /usr/local/bin.
 
  Anyone have any new ideas?  FYI, I can compile .80rc3...
 
  James

 Is it possible the build is referencing a lib file that itself
 references
 another missing lib? I recall having problems with this when migrating
 binaries
 between systems that had inconsistant library versions. Any more I just
 upgrade
 everything everywhere (Perl, Apache, Berkeley DB, pcre, openssl,
 openssh,
 blah
 blah blah, etc) at the same time and the problem's gone - rsync
 /usr/local
 can be your friend if you do it right.

 Perhaps...  But my build environment is pretty stable.  When making a new
 system, I start off with a clean install of Solaris 8, then have a
 reliable
 cpio of my latest /usr/local/.  Most everything in there has been recently
 compiled and I usually don't run into many problems - other than getting
 stuff
 to compile on Solaris x86 is quite difficult sometimes... ;-)


Try this environment ;)

== Start ==

PATH=/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/etc:/opt/SUNWspro/bin:/usr/ccs/bin:/usr/dt/bin:/usr/local/ssl/bin:/usr/openwin/bin:$HOME/bin:.

#
LD_LIBRARY_PATH=/lib:/usr/lib:/opt/SUNWspro/lib:/opt/schily:/opt/schily/lib:/usr/ccs/lib:/usr/j2se/jre/lib:/usr/j2se/lib:/usr/java
1.2/lib:/usr/local/lib:/usr/local/mysql/lib:/usr/local/netpbm/lib:/usr/local/ssl/lib:/usr/openwin/lib:/usr/share/lib

LD_LIBRARY_PATH=/lib:/usr/lib:/opt/SUNWspro/lib:/usr/ccs/lib:/usr/j2se/jre/lib:/usr/j2se/lib:/usr/java1.2/lib:/usr/local/lib:/usr/lo
cal/mysql/lib:/usr/local/ssl/lib:/usr/openwin/lib:/usr/share/lib

LDFLAGS=-R/usr/local/lib -R/usr/local/ssl/lib 

CPPFLAGS=-I/usr/local/include -I/usr/local/ssl/include 

LD_RUN_PATH=$LD_LIBRARY_PATH

export PATH LD_LIBRARY_PATH LD_RUN_PATH LDFLAGS CPPFLAGS

== END ==

It has more paths than you probably need, but should resolve the compiling
problem ;)




 
 This mail sent through jkm.NET secure webmail server
 ___
 http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users



- --
Ken Jones
[EMAIL PROTECTED]


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.6 (SunOS)

iD8DBQFBtvywhmzY3eSPw9ERAiuEAJ9Y6wK0wONWVNRKjseunM/v9wH6QQCgxNhB
mCRC5GmiO/0OvhTKNwFeskY=
=/WXc
-END PGP SIGNATURE-

___
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


Re: [Clamav-users] Re: Problem compiling clamav-0.80 - Solaris x86

2004-12-08 Thread Alex S Moore
On Wed, 2004-12-08 at 07:08 -0600, Ken Jones wrote:

 It has more paths than you probably need, but should resolve the compiling
 problem ;)

I think that he said he was on Solaris 8 or 9.  If so, he could just use
Fajar's package or the www.blastwave.org clamav package and forget all
of these headaches :

Alex

___
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


Re: [Clamav-users] Re: Problem compiling clamav-0.80 - Solaris x86

2004-12-08 Thread Alex S Moore
On Tue, 2004-12-07 at 23:03 -0600, James wrote:
 libgcc_s.so.1 is right where it should be - in /usr/local/lib.  I usually
 compile stuff with LDFLAGS=-R /usr/local/lib.  Changing to -L doesn't change
 anything.  Compile statement, you mean ./configure, make?
 

Exactly where is the output that you posted coming from?  config.log?
Usually, and it depends on the package, you should export
LDFLAGS='-L/usr/local/lib' and LD_OPTIONS='-R/usr/local/lib'.  Note, no
space after the -x

Alex

___
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


Re: [Clamav-users] /root/clamav-0.80: Access denied. ERROR while testing clamav

2004-12-08 Thread ads nat
 
Fair enough, I meant to say _at least_ 666
  
   a) 666 wouldn't allow to enter the directory
   b) 777 would allow all users to remove files
 owned by others
  
   Only 1777 is proper for _public_ temporary
 directories.
 
 OK, I've just re-read the chown man page and I'll
 agree with you, I was
 incorrect in my previous comment.

I reinstalled Redhat 9.0, sendmail 8.13,
bzip2-devel-1.0.2-8.i386.rpm and
sendmail-devel-8.12.8-
9.90.i386.rpm followed instructions from docs at web
site 

I changed permissions :
chmod 777 /root/clamav-0.80
chown clamav /root/clamav-0.80

and now it is working fine.
It has detected virus mails from www.testvirus.org
.

Now facing new problem:
I tried to installed exactly same softwares and
configuration on other Linux Redhat 9.0 box having
sendmail running perfectly as per instructions of
howto:
I installed 
bzip2-devel-1.0.2-8.i386.rpm
sendmail-devel-8.12.8-9.90.i386.rpm
compiled clamav with ./configure --sysconfdir=/etc
--enable-milter
I forgot to create clamav user and group so I got
error while compiling.
I created clamav user and group and once again
compiled clamav.

Now when I use command /usr/local/sbin/clamav-milter
-lo /var/run/clmilter.sock

I get error :
[EMAIL PROTECTED] root]# /usr/local/sbin/clamav-milter -lo
/var/run/clmilter.sock
/var/run/clamd.sock: No such file or directory
Can't talk to clamd server via /var/run/clamd.sock
Check your entry for LocalSocket in /etc/clamd.conf

clamd.conf has line LocalSocket in /etc/clamd.conf

checked for /var/run/clamd.sock file which is not
present in /var/run directory.

Is it mandatory to create clamav user and group before
compiling ./configure --sysconfdir=/etc
--enable-milter

Please guide.
Thanks for support.




__ 
Do you Yahoo!? 
Meet the all-new My Yahoo! - Try it today! 
http://my.yahoo.com 
 

___
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


[Clamav-users] Command line help

2004-12-08 Thread yoloits
I am using Clamscan in a cron job to scan my server but I want it to skip my
quarantine directory.  How do I add that to the clamscan line command?



Thanks




___
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


Re: [Clamav-users] Command line help

2004-12-08 Thread Tomasz Kojm
On Wed, 8 Dec 2004 06:22:22 -0800
yoloits [EMAIL PROTECTED] wrote:

 I am using Clamscan in a cron job to scan my server but I want it to
 skip my quarantine directory.  How do I add that to the clamscan line
 command?

man clamscan

--exclude=/your/quarantine/dir

-- 
   oo. Tomasz Kojm [EMAIL PROTECTED]
  (\/)\. http://www.ClamAV.net/gpg/tkojm.gpg
 \..._ 0DCA5A08407D5288279DB43454822DC8985A444B
   //\   /\  Wed Dec  8 15:37:15 CET 2004


pgpWAPCGmYdiQ.pgp
Description: PGP signature
___
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


Re: [Clamav-users] Command line help

2004-12-08 Thread Guillaume Arcas
yoloits a écrit :
 I am using Clamscan in a cron job to scan my server but I want it to skip
 my quarantine directory.  How do I add that to the clamscan line command?

You cans use the --exclude option to skip it.

$ clamscan -r /home --exclude=/home/quarantine

Excluded files will be marked as... Excluded !

Regards,

Guillaume Arcas


Quiconque saurait le secret usage des mots de tous les jours
aurait un pouvoir illimité, et il ferait peur.
Jean Tardieu.

___
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


Re: [Clamav-users] testing clamav not detecting viruses in mail

2004-12-08 Thread Tomasz Kojm
On Wed, 8 Dec 2004 16:16:55 -
Simon Crowther [EMAIL PROTECTED] wrote:

 I have just installed clamav on Debian, updated and tested it at
 virustest.org. It didn't detect any of the test viruses, even those in
 the message body. I ran clamscan and clamdscan from the command line.
 Clamscan found nothing, clamdscan found them all and also the
 mydoom.gen-1 worm. Can anyone tell me why clamscan doesn't seem to be

Which version of ClamAV?

-- 
   oo. Tomasz Kojm [EMAIL PROTECTED]
  (\/)\. http://www.ClamAV.net/gpg/tkojm.gpg
 \..._ 0DCA5A08407D5288279DB43454822DC8985A444B
   //\   /\  Wed Dec  8 17:18:39 CET 2004


pgpJ8k0OgStLH.pgp
Description: PGP signature
___
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


[Clamav-users] testing clamav not detecting viruses in mail

2004-12-08 Thread Simon Crowther




I have just installed clamav on Debian, 
updatedandtested it at virustest.org. It didn't detect any of the 
test viruses, even those in the message body. I ran clamscan and clamdscan from 
the command line. Clamscan found nothing,clamdscan found them all and also 
the mydoom.gen-1 worm. Can anyone tell mewhy clamscan doesn'tseem to 
be scanning messages or how to set clamdscan to scan messages? I'm also not 
clearwhat action clamav takes on viruses it finds. Is mydoom 
stillthere or has it been deleted? How do I know?

thanks,

Simon
___
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


Re: [Clamav-users] testing clamav not detecting viruses in mail

2004-12-08 Thread John Fleming
On Wed, 8 Dec 2004 16:16:55 -
Simon Crowther [EMAIL PROTECTED] wrote:

 I have just installed clamav on Debian, updated and tested it at
 virustest.org. It didn't detect any of the test viruses, even those in
 the message body. I ran clamscan and clamdscan from the command line.
 Clamscan found nothing, clamdscan found them all and also the
 mydoom.gen-1 worm. Can anyone tell me why clamscan doesn't seem to be
---
Which version of ClamAV?
---

And how are you calling either clamdscan or clamscan?
___
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


Re: [Clamav-users] testing clamav not detecting viruses in mail

2004-12-08 Thread Thomas Lamy
Simon Crowther schrieb:
I have just installed clamav on Debian, updated and tested it at 
virustest.org. It didn't detect any of the test viruses, even those in 
the message body. I ran clamscan and clamdscan from the command line. 
Clamscan found nothing, clamdscan found them all and also the 
mydoom.gen-1 worm. Can anyone tell me why clamscan doesn't seem to be 
scanning messages or how to set clamdscan to scan messages? I'm also not 
clear what action clamav takes on viruses it finds. Is mydoom 
still there or has it been deleted? How do I know?
 
thanks,
 
Simon


Which version of Clamav and Debian? And what 'glue' do you want to use 
between your MTA and ClamAV?

The version in Debian Sarge (aka Testing) is 0.80 and works like a 
charm.
The glue may be clamav-milter if you're using sendmail, or (for 
instance) amavisd-new: I have no personal experience with clamav-milter, 
but use amavisd-new and postfix in over a dozen servers. For this config 
some manual configuration is needed in postfix, but amavisd-new finds 
clamav without intervention.

Thomas
___
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


Re: [Clamav-users] testing clamav not detecting viruses in mail

2004-12-08 Thread John Fleming

- Original Message - 
From: Simon Crowther
To: [EMAIL PROTECTED]
Sent: Wednesday, December 08, 2004 11:16 AM
Subject: [Clamav-users] testing clamav not detecting viruses in mail


 I have just installed clamav on Debian, updated and tested it at
virustest.org. It didn't detect any of the test viruses, even those in the
message body. I ran clamscan and clamdscan from the command line. Clamscan
found nothing, clamdscan found them all and also the mydoom.gen-1 worm. Can
anyone tell me why clamscan doesn't seem to be scanning messages or how to
set clamdscan to scan messages? I'm also not clear what action clamav takes
on viruses it finds. Is mydoom still there or has it been deleted? How do I
know?

Again, it depends on the glue between ClamAV and your MTA.  I just use
procmail to call the Clamassassin script (Google clamassassin) and then
procmail will dispose of the mail according to what I set.  Right now I tell
procmail to send it to /dev/null if a virus is detected.  However, you could
send it to a separate mailbox for later review.  Amavis, Mailscanner and
others can be set up to do what you want.  I think procmail and clamassassin
is the easiest setup for us newbies.

___
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


Re: [Clamav-users] Re: Problem compiling clamav-0.80 - Solaris x86

2004-12-08 Thread James
I have updated and reupdated all the PATH suggestions and tried to recompile
many times - same error.  All the libraries and paths are there...

Checked on the blastwave.org site - lots of cool stuff.  But I don't like that
it relies on all its own CSW libraries and that you have to install a bunch of
dependent software and libraries all over again (in /opt/csw) that you already
have installed...

James

Quoting Ken Jones [EMAIL PROTECTED]:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1


  Quoting Dennis Peterson [EMAIL PROTECTED]:
 
  James wrote:
   Let's try with a searchable subject...  ;-)
  
   I am having the same issues too:
  
   Undefined   first referenced
symbol in file
   __eprintf   strrcpy.lo
   ld: fatal: Symbol referencing errors. No output written to
   .libs/libclamav.so.1.0.4
   make[2]: *** [libclamav.la] Error 1
   make[2]: Leaving directory `/space/src/clamav-0.80/libclamav'
   make[1]: *** [all-recursive] Error 1
   make[1]: Leaving directory `/space/src/clamav-0.80'
   make: *** [all] Error 2
  
   I am running Solaris 8 x86.  I also have to disable bzip2 (otherwise I
  get
  the
   bzip compile errors) although I have the latest version of bzip2
  installed
  and
   referenced out of /usr/bin and /usr/local/bin.
  
   Anyone have any new ideas?  FYI, I can compile .80rc3...
  
   James
 
  Is it possible the build is referencing a lib file that itself
  references
  another missing lib? I recall having problems with this when migrating
  binaries
  between systems that had inconsistant library versions. Any more I just
  upgrade
  everything everywhere (Perl, Apache, Berkeley DB, pcre, openssl,
  openssh,
  blah
  blah blah, etc) at the same time and the problem's gone - rsync
  /usr/local
  can be your friend if you do it right.
 
  Perhaps...  But my build environment is pretty stable.  When making a new
  system, I start off with a clean install of Solaris 8, then have a
  reliable
  cpio of my latest /usr/local/.  Most everything in there has been recently
  compiled and I usually don't run into many problems - other than getting
  stuff
  to compile on Solaris x86 is quite difficult sometimes... ;-)
 
 
 Try this environment ;)

 == Start ==


PATH=/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/etc:/opt/SUNWspro/bin:/usr/ccs/bin:/usr/dt/bin:/usr/local/ssl/bin:/usr/openwin/bin:$HOME/bin:.

 #

LD_LIBRARY_PATH=/lib:/usr/lib:/opt/SUNWspro/lib:/opt/schily:/opt/schily/lib:/usr/ccs/lib:/usr/j2se/jre/lib:/usr/j2se/lib:/usr/java

1.2/lib:/usr/local/lib:/usr/local/mysql/lib:/usr/local/netpbm/lib:/usr/local/ssl/lib:/usr/openwin/lib:/usr/share/lib


LD_LIBRARY_PATH=/lib:/usr/lib:/opt/SUNWspro/lib:/usr/ccs/lib:/usr/j2se/jre/lib:/usr/j2se/lib:/usr/java1.2/lib:/usr/local/lib:/usr/lo
 cal/mysql/lib:/usr/local/ssl/lib:/usr/openwin/lib:/usr/share/lib

 LDFLAGS=-R/usr/local/lib -R/usr/local/ssl/lib 

 CPPFLAGS=-I/usr/local/include -I/usr/local/ssl/include 

 LD_RUN_PATH=$LD_LIBRARY_PATH

 export PATH LD_LIBRARY_PATH LD_RUN_PATH LDFLAGS CPPFLAGS

 == END ==

 It has more paths than you probably need, but should resolve the compiling
 problem ;)

 
 
 
  
  This mail sent through jkm.NET secure webmail server
  ___
  http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
 


 - --
 Ken Jones
 [EMAIL PROTECTED]


 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.2.6 (SunOS)

 iD8DBQFBtvywhmzY3eSPw9ERAiuEAJ9Y6wK0wONWVNRKjseunM/v9wH6QQCgxNhB
 mCRC5GmiO/0OvhTKNwFeskY=
 =/WXc
 -END PGP SIGNATURE-

 ___
 http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users






This mail sent through jkm.NET secure webmail server
___
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


Re: [Clamav-users] Re: Problem compiling clamav-0.80 - Solaris x86

2004-12-08 Thread Nigel Horne
On Wed, 2004-12-08 at 17:57, James wrote:
 I have updated and reupdated all the PATH suggestions and tried to recompile
 many times - same error.  All the libraries and paths are there...
 
 Checked on the blastwave.org site - lots of cool stuff.  But I don't like that
 it relies on all its own CSW libraries and that you have to install a bunch of
 dependent software and libraries all over again (in /opt/csw) that you already
 have installed...

Try the latest daily snapshot from www.clamav.net

 James

-Nigel

___
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


Re: [Clamav-users] Re: Problem compiling clamav-0.80 - Solaris x86

2004-12-08 Thread Ken Jones
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


  James wrote:
   Let's try with a searchable subject...  ;-)
  
   I am having the same issues too:
  
   Undefined   first referenced
symbol in file
   __eprintf   strrcpy.lo
   ld: fatal: Symbol referencing errors. No output written to
   .libs/libclamav.so.1.0.4
   make[2]: *** [libclamav.la] Error 1
   make[2]: Leaving directory `/space/src/clamav-0.80/libclamav'
   make[1]: *** [all-recursive] Error 1
   make[1]: Leaving directory `/space/src/clamav-0.80'
   make: *** [all] Error 2
  
   I am running Solaris 8 x86.  I also have to disable bzip2
 (otherwise I
  get
  the
   bzip compile errors) although I have the latest version of bzip2
  installed
CP from another site ...

Apparently, you tried to link to a library which has been compiled with
gcc to a program compiled with the Sun compiler. __eprintf is an internal
function of the GCC compiler and is linked to every executable you compile
with it (it is used for the assert() macro, for example). As the SUN
compiler does not include that symbol, you get a linking error. Try
compiling your program with the gcc compiler, that should work.

I have the sun compiler and gcc installed, and have had no issued on 8x86
and 9x86.




- --
Ken Jones
[EMAIL PROTECTED]


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.6 (SunOS)

iD8DBQFBt0PLhmzY3eSPw9ERAruYAJ0QCSqfyiM7OQGZbBHhmTTOG0V5pQCbBi6z
Vk9i03oZI/5h0Q+xex1eIAw=
=GY05
-END PGP SIGNATURE-

___
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


Re: [Clamav-users] Re: Problem compiling clamav-0.80 - Solaris x86

2004-12-08 Thread James
FYI, tried compiling a new dev version - same error, but this time it's in the
text.lo file...

Everything I've compiled has been done with gcc.  Even if there were something
old done with Sun's CC, I wouldn't know where to begin to find those hosed
libraries.

James

Quoting Ken Jones [EMAIL PROTECTED]:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1


   James wrote:
Let's try with a searchable subject...  ;-)
   
I am having the same issues too:
   
Undefined   first referenced
 symbol in file
__eprintf   strrcpy.lo
ld: fatal: Symbol referencing errors. No output written to
.libs/libclamav.so.1.0.4
make[2]: *** [libclamav.la] Error 1
make[2]: Leaving directory `/space/src/clamav-0.80/libclamav'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/space/src/clamav-0.80'
make: *** [all] Error 2
   
I am running Solaris 8 x86.  I also have to disable bzip2
  (otherwise I
   get
   the
bzip compile errors) although I have the latest version of bzip2
   installed
 CP from another site ...

 Apparently, you tried to link to a library which has been compiled with
 gcc to a program compiled with the Sun compiler. __eprintf is an internal
 function of the GCC compiler and is linked to every executable you compile
 with it (it is used for the assert() macro, for example). As the SUN
 compiler does not include that symbol, you get a linking error. Try
 compiling your program with the gcc compiler, that should work.

 I have the sun compiler and gcc installed, and have had no issued on 8x86
 and 9x86.




 - --
 Ken Jones
 [EMAIL PROTECTED]


 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.2.6 (SunOS)

 iD8DBQFBt0PLhmzY3eSPw9ERAruYAJ0QCSqfyiM7OQGZbBHhmTTOG0V5pQCbBi6z
 Vk9i03oZI/5h0Q+xex1eIAw=
 =GY05
 -END PGP SIGNATURE-

 ___
 http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users






This mail sent through jkm.NET secure webmail server
___
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


Re: [Clamav-users] Re: Problem compiling clamav-0.80 - Solaris x86

2004-12-08 Thread Nigel Horne
On Wed, 2004-12-08 at 18:50, James wrote:
 FYI, tried compiling a new dev version - same error, but this time it's in the
 text.lo file...

I've just committed a fix - you'll need to give Sourceforge a few
hours for the new text.c to appear on the public server.

 James

-Nigel

___
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


Re: [Clamav-users] Re: Problem compiling clamav-0.80 - Solaris x86

2004-12-08 Thread Dennis Peterson
 
 FYI, tried compiling a new dev version - same error, but this time it's in the
 text.lo file...
 
 Everything I've compiled has been done with gcc.  Even if there were something
 old done with Sun's CC, I wouldn't know where to begin to find those hosed
 libraries.
 
 James
 

Try using the Solaris ldd command. It reports things like missing libraries. I
run it from time to time in /usr/local/bin after refreshing software.

ldd /usr/local/bin/*
ldd /usr/local/lib/*

It will report errors on non-binaries but it's harless.

dp
___
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


[Clamav-users] Re: Problem compiling clamav-0.80 - Solaris x86

2004-12-08 Thread James
Wow, that did the trick!  Taking out #include assert.h and replacing it with
the #define macro code below solved the problem.  I did this to the following
files:

line.c
text.c
strrcpy.c

I am not a programmer (well, I have a few skills...) so that hampers my ability
to solve compilation issues sometimes.  Of course, it does seem Andrey is a bit
familiar with the code!

I did a ldd check on my stuff in /usr/local/lib and bin - nothing missing.

I don't know if these changes are necessary because of my particular compile
environment or if these should go into CVS for other x86 users.  Someone did
say they had no problems compiling on x86 both 8 and 9...  I didn't have any
problems compiling on Sparc 9.

Thanks!

James


Quoting Andrey Melnikoff [EMAIL PROTECTED]:

 In article [EMAIL PROTECTED] you wrote:
  Newsgroups: gmane.comp.security.virus.clamav.user

  FYI, tried compiling a new dev version - same error, but this time it's in
 the
  text.lo file...
 This crap coming from assert() calls.

  Everything I've compiled has been done with gcc.  Even if there were
 something
  old done with Sun's CC, I wouldn't know where to begin to find those hosed
  libraries.
 You choice:

 1) search libgcc.a and add it to configure argument
 eg. ./configure ADDITIONAL_LIBS=path/to/libgcc.a your params

 2) remove all assert code.

 3) grep sources for 'assert.h' and replease #include assert.h
 with this macros:

 #define assert(expr) \
if(!(expr)) { \
cli_errmsg(Assertion failed! %s,%s,%s,line=%d\n,\
#expr,__FILE__,__FUNCTION__,__LINE__);\
abort();  \
}

 4) simply put this macros to libclamav/others.h

 I suggest this method.






This mail sent through jkm.NET secure webmail server
___
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


Re: [Clamav-users] testing clamav not detecting viruses

2004-12-08 Thread Simon Crowther
Thanks for the replies everyone - Debian is Woody, Clamav is 0.80. I am
using Surgemail. In Surgemail I am calling clamdscan and now notice that it
is set to remove files. I didn't realise I needed any glue though, so that
may be the problem! I didn't compile with clamav-milter because I'm not
using Sendmail. Does anyone know what I can use with Surgemail?
Simon 

___
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


Re: [Clamav-users] Re: Problem compiling clamav-0.80 - Solaris x86

2004-12-08 Thread Alex S Moore
On Wed, 2004-12-08 at 14:02 -0600, James wrote:
 Wow, that did the trick!  Taking out #include assert.h and replacing it with
 the #define macro code below solved the problem.  I did this to the following
 files:
 
 line.c
 text.c
 strrcpy.c

Just a quick response since I have to leave in a few minutes.  I built
clamav-devel from cvs on Solaris 8 x86.  The only problem, not really an
error, was libclamav/chmunpack.h.  It is still a dos file and running
dos2unix will fix that.  I will try sparc later, but expect no problems.

I have been intending to run a cvs build, so I will try to finish the
packages tomorrow and see how it runs.

Alex


___
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users