Re: [clamav-users] Problems compiling 0.102.4 on OLD system
No worries Michael! Yes we're doing traversal from root to avoid that issue. :-) Kevin: Any chance you can upgrade those old systems? We try to support roughly the last 2 LTS releases for major distros / operating systems but don't have time to go out of our way to maintain compatibility with really old systems. If you or someone else wants to craft a patch to maintain compatibility with those older systems and can submit a PR on Github, we'd be happy to test it & integrate it -- provided it doesn't break other things. -Micah On 7/16/20, 4:24 PM, "clamav-users on behalf of Michael Orlitzky via clamav-users" wrote: On 2020-07-16 19:10, Michael Orlitzky via clamav-users wrote: > > Micah: openat() only provides "one level of safety" in that when opening > /foo/bar/baz, it ensures that "baz" is where you think it is. You may > want to investigate whether or not an attacker can replace "bar" by a > symlink in that situation. False alarm, I guess this is the problem that was reported because the fix already traverses the path from the root upwards. ___ clamav-users mailing list clamav-users@lists.clamav.net https://lists.clamav.net/mailman/listinfo/clamav-users Help us build a comprehensive ClamAV guide: https://github.com/vrtadmin/clamav-faq http://www.clamav.net/contact.html#ml ___ clamav-users mailing list clamav-users@lists.clamav.net https://lists.clamav.net/mailman/listinfo/clamav-users Help us build a comprehensive ClamAV guide: https://github.com/vrtadmin/clamav-faq http://www.clamav.net/contact.html#ml
Re: [clamav-users] Problems compiling 0.102.4 on OLD system
Achtung, falscher Empfänger -Ursprüngliche Nachricht- Von: clamav-users Im Auftrag von Mark Fortescue via clamav-users Gesendet: Freitag, 17. Juli 2020 12:46 An: clamav-users@lists.clamav.net Cc: Mark Fortescue Betreff: Re: [clamav-users] Problems compiling 0.102.4 on OLD system Hi Kevin, It looks like you will have to create/enable private versions of the openat(), ranameat() and unlinkat() functions. These can be simulated using regular C functions open(), unlink(), rename(), stat() and readdir(). You will need to get manual pages for openat(), ranameat() and unlinkat() functions to understand the differences with the regular versions. Parsing paths is not always the easiest thing to do but the learning curve can be useful. Regards Mark. On 16/07/2020 22:22, Kevin A. McGrail via clamav-users wrote: > Hi, I have an old system I'm compiling. > > I have 0.102.3 working on it. > > Here's the config line: > > CC=/usr/local/gcc4.2.4/bin/gcc ./configure --prefix=/usr/local/clamav > --with-user=defang --with-group=defang --enable-llvm=no > --with-openssl=/usr/local/ssl --with-pcre=/usr/local/pcre2 > --with-zlib=/usr/local/zlib --with-xml=/usr/local/libxml2 > --disable-clamonacc --disable-unrar > > I believe the relevant error info is below if anyone has advice. It's > an old system and just trying to keep it limping a few more weeks. > > make[2]: Entering directory `/usr/src/clamav-0.102.4/libfreshclam' > CC output.lo > CC optparser.lo > CC getopt.lo > CC misc.lo > In file included from ../libclamav/execs.h:28, > from ../libclamav/matcher.h:30, > from ../libclamav/others.h:22, > from ../shared/output.c:56: > ../libclamav/pe_structs.h:159:7: warning: no newline at end of file In > file included from ../libclamav/execs.h:28, > from ../libclamav/matcher.h:30, > from ../libclamav/others.h:22, > from ../shared/optparser.c:48: > ../libclamav/pe_structs.h:159:7: warning: no newline at end of file > CC cdiff.lo > In file included from ../libclamav/execs.h:28, > from ../libclamav/matcher.h:30, > from ../libclamav/others.h:22, > from ../shared/misc.c:48: > ../libclamav/pe_structs.h:159:7: warning: no newline at end of file > CC tar.lo > CC cert_util.lo > In file included from ../libclamav/execs.h:28, > from ../libclamav/matcher.h:30, > from ../libclamav/others.h:22, > from ../shared/cdiff.c:40: > ../libclamav/pe_structs.h:159:7: warning: no newline at end of file > CC libfreshclam.lo > In file included from ../shared/cert_util.c:30: > ../shared/cert_util.h:121:7: warning: no newline at end of file > CC libfreshclam_internal.lo > CC dns.lo > In file included from libfreshclam.c:61: > ../shared/cert_util.h:121:7: warning: no newline at end of file In > file included from ../libclamav/execs.h:28, > from ../libclamav/matcher.h:30, > from ../libclamav/others.h:22, > from libfreshclam.c:65: > ../libclamav/pe_structs.h:159:7: warning: no newline at end of file > CC cert_util_linux.lo > In file included from libfreshclam_internal.c:85: > ../shared/cert_util.h:121:7: warning: no newline at end of file In > file included from ../libclamav/execs.h:28, > from ../libclamav/matcher.h:30, > from ../libclamav/others.h:22, > from libfreshclam_internal.c:88: > ../libclamav/pe_structs.h:159:7: warning: no newline at end of file In > file included from ../shared/linux/cert_util_linux.c:32: > ../shared/cert_util.h:121:7: warning: no newline at end of file > OBJCLD libfreshclam.la > make[2]: Leaving directory `/usr/src/clamav-0.102.4/libfreshclam' > Making all in clamscan > make[2]: Entering directory `/usr/src/clamav-0.102.4/clamscan' > CC output.o > CC optparser.o > CC getopt.o > In file included from ../libclamav/execs.h:28, > from ../libclamav/matcher.h:30, > from ../libclamav/others.h:22, > from ../shared/optparser.c:48: > ../libclamav/pe_structs.h:159:7: warning: no newline at end of file > CC actions.o > In file included from ../libclamav/execs.h:28, > from ../libclamav/matcher.h:30, > from ../libclamav/others.h:22, > from ../shared/actions.c:51: > ../libclamav/pe_structs.h:159:7: warning: no newline at end of file In > file included from ../libclamav/execs.h:28, >
Re: [clamav-users] Problems compiling 0.102.4 on OLD system
Hi Kevin, It looks like you will have to create/enable private versions of the openat(), ranameat() and unlinkat() functions. These can be simulated using regular C functions open(), unlink(), rename(), stat() and readdir(). You will need to get manual pages for openat(), ranameat() and unlinkat() functions to understand the differences with the regular versions. Parsing paths is not always the easiest thing to do but the learning curve can be useful. Regards Mark. On 16/07/2020 22:22, Kevin A. McGrail via clamav-users wrote: Hi, I have an old system I'm compiling. I have 0.102.3 working on it. Here's the config line: CC=/usr/local/gcc4.2.4/bin/gcc ./configure --prefix=/usr/local/clamav --with-user=defang --with-group=defang --enable-llvm=no --with-openssl=/usr/local/ssl --with-pcre=/usr/local/pcre2 --with-zlib=/usr/local/zlib --with-xml=/usr/local/libxml2 --disable-clamonacc --disable-unrar I believe the relevant error info is below if anyone has advice. It's an old system and just trying to keep it limping a few more weeks. make[2]: Entering directory `/usr/src/clamav-0.102.4/libfreshclam' CC output.lo CC optparser.lo CC getopt.lo CC misc.lo In file included from ../libclamav/execs.h:28, from ../libclamav/matcher.h:30, from ../libclamav/others.h:22, from ../shared/output.c:56: ../libclamav/pe_structs.h:159:7: warning: no newline at end of file In file included from ../libclamav/execs.h:28, from ../libclamav/matcher.h:30, from ../libclamav/others.h:22, from ../shared/optparser.c:48: ../libclamav/pe_structs.h:159:7: warning: no newline at end of file CC cdiff.lo In file included from ../libclamav/execs.h:28, from ../libclamav/matcher.h:30, from ../libclamav/others.h:22, from ../shared/misc.c:48: ../libclamav/pe_structs.h:159:7: warning: no newline at end of file CC tar.lo CC cert_util.lo In file included from ../libclamav/execs.h:28, from ../libclamav/matcher.h:30, from ../libclamav/others.h:22, from ../shared/cdiff.c:40: ../libclamav/pe_structs.h:159:7: warning: no newline at end of file CC libfreshclam.lo In file included from ../shared/cert_util.c:30: ../shared/cert_util.h:121:7: warning: no newline at end of file CC libfreshclam_internal.lo CC dns.lo In file included from libfreshclam.c:61: ../shared/cert_util.h:121:7: warning: no newline at end of file In file included from ../libclamav/execs.h:28, from ../libclamav/matcher.h:30, from ../libclamav/others.h:22, from libfreshclam.c:65: ../libclamav/pe_structs.h:159:7: warning: no newline at end of file CC cert_util_linux.lo In file included from libfreshclam_internal.c:85: ../shared/cert_util.h:121:7: warning: no newline at end of file In file included from ../libclamav/execs.h:28, from ../libclamav/matcher.h:30, from ../libclamav/others.h:22, from libfreshclam_internal.c:88: ../libclamav/pe_structs.h:159:7: warning: no newline at end of file In file included from ../shared/linux/cert_util_linux.c:32: ../shared/cert_util.h:121:7: warning: no newline at end of file OBJCLD libfreshclam.la make[2]: Leaving directory `/usr/src/clamav-0.102.4/libfreshclam' Making all in clamscan make[2]: Entering directory `/usr/src/clamav-0.102.4/clamscan' CC output.o CC optparser.o CC getopt.o In file included from ../libclamav/execs.h:28, from ../libclamav/matcher.h:30, from ../libclamav/others.h:22, from ../shared/optparser.c:48: ../libclamav/pe_structs.h:159:7: warning: no newline at end of file CC actions.o In file included from ../libclamav/execs.h:28, from ../libclamav/matcher.h:30, from ../libclamav/others.h:22, from ../shared/actions.c:51: ../libclamav/pe_structs.h:159:7: warning: no newline at end of file In file included from ../libclamav/execs.h:28, from ../libclamav/matcher.h:30, from ../libclamav/others.h:22, from ../shared/output.c:56: ../libclamav/pe_structs.h:159:7: warning: no newline at end of file CC misc.o In file included from ../libclamav/execs.h:28, from ../libclamav/matcher.h:30, from ../libclamav/others.h:22, from ../shared/misc.c:48: ../libclamav/pe_structs.h:159:7: warning: no newline at end of file CC clamscan.o CC manager.o In file included from ../libclamav/execs.h:28, from ../libclamav/matcher.h:30, from ../libclamav/others.h:22, from clamscan.c:42:
Re: [clamav-users] Problems compiling 0.102.4 on OLD system
On 2020-07-16 19:10, Michael Orlitzky via clamav-users wrote: > > Micah: openat() only provides "one level of safety" in that when opening > /foo/bar/baz, it ensures that "baz" is where you think it is. You may > want to investigate whether or not an attacker can replace "bar" by a > symlink in that situation. False alarm, I guess this is the problem that was reported because the fix already traverses the path from the root upwards. ___ clamav-users mailing list clamav-users@lists.clamav.net https://lists.clamav.net/mailman/listinfo/clamav-users Help us build a comprehensive ClamAV guide: https://github.com/vrtadmin/clamav-faq http://www.clamav.net/contact.html#ml
Re: [clamav-users] Problems compiling 0.102.4 on OLD system
On 2020-07-16 17:22, Kevin A. McGrail via clamav-users wrote: > Hi, I have an old system I'm compiling. > > I have 0.102.3 working on it. > > Here's the config line: > > ... > CCLD clamscan > actions.o: In function `traverse_to': > ../shared/actions.c:328: undefined reference to `openat' > actions.o: In function `traverse_unlink': > ../shared/actions.c:568: undefined reference to `unlinkat' > actions.o: In function `action_move': > ../shared/actions.c:455: undefined reference to `renameat' This is from the fix for CVE-2020-3350. The "at" system calls are POSIX.1-2008 and are more or less necessary to handle links safely. ClamAV have gone out of their way to provide a compatibility function on Windows, though, so maybe you're not totally out of luck. Micah: openat() only provides "one level of safety" in that when opening /foo/bar/baz, it ensures that "baz" is where you think it is. You may want to investigate whether or not an attacker can replace "bar" by a symlink in that situation. Other programs address this same problem by running openat() on /, /foo, /foo/bar, and then /foo/bar/baz all in succession to ensure that everything is trustworthy (the root is assumed to be sacred). See http://michael.orlitzky.com/cves/cve-2018-6954.xhtml. ___ clamav-users mailing list clamav-users@lists.clamav.net https://lists.clamav.net/mailman/listinfo/clamav-users Help us build a comprehensive ClamAV guide: https://github.com/vrtadmin/clamav-faq http://www.clamav.net/contact.html#ml
[clamav-users] Problems compiling 0.102.4 on OLD system
Hi, I have an old system I'm compiling. I have 0.102.3 working on it. Here's the config line: CC=/usr/local/gcc4.2.4/bin/gcc ./configure --prefix=/usr/local/clamav --with-user=defang --with-group=defang --enable-llvm=no --with-openssl=/usr/local/ssl --with-pcre=/usr/local/pcre2 --with-zlib=/usr/local/zlib --with-xml=/usr/local/libxml2 --disable-clamonacc --disable-unrar I believe the relevant error info is below if anyone has advice. It's an old system and just trying to keep it limping a few more weeks. make[2]: Entering directory `/usr/src/clamav-0.102.4/libfreshclam' CC output.lo CC optparser.lo CC getopt.lo CC misc.lo In file included from ../libclamav/execs.h:28, from ../libclamav/matcher.h:30, from ../libclamav/others.h:22, from ../shared/output.c:56: ../libclamav/pe_structs.h:159:7: warning: no newline at end of file In file included from ../libclamav/execs.h:28, from ../libclamav/matcher.h:30, from ../libclamav/others.h:22, from ../shared/optparser.c:48: ../libclamav/pe_structs.h:159:7: warning: no newline at end of file CC cdiff.lo In file included from ../libclamav/execs.h:28, from ../libclamav/matcher.h:30, from ../libclamav/others.h:22, from ../shared/misc.c:48: ../libclamav/pe_structs.h:159:7: warning: no newline at end of file CC tar.lo CC cert_util.lo In file included from ../libclamav/execs.h:28, from ../libclamav/matcher.h:30, from ../libclamav/others.h:22, from ../shared/cdiff.c:40: ../libclamav/pe_structs.h:159:7: warning: no newline at end of file CC libfreshclam.lo In file included from ../shared/cert_util.c:30: ../shared/cert_util.h:121:7: warning: no newline at end of file CC libfreshclam_internal.lo CC dns.lo In file included from libfreshclam.c:61: ../shared/cert_util.h:121:7: warning: no newline at end of file In file included from ../libclamav/execs.h:28, from ../libclamav/matcher.h:30, from ../libclamav/others.h:22, from libfreshclam.c:65: ../libclamav/pe_structs.h:159:7: warning: no newline at end of file CC cert_util_linux.lo In file included from libfreshclam_internal.c:85: ../shared/cert_util.h:121:7: warning: no newline at end of file In file included from ../libclamav/execs.h:28, from ../libclamav/matcher.h:30, from ../libclamav/others.h:22, from libfreshclam_internal.c:88: ../libclamav/pe_structs.h:159:7: warning: no newline at end of file In file included from ../shared/linux/cert_util_linux.c:32: ../shared/cert_util.h:121:7: warning: no newline at end of file OBJCLD libfreshclam.la make[2]: Leaving directory `/usr/src/clamav-0.102.4/libfreshclam' Making all in clamscan make[2]: Entering directory `/usr/src/clamav-0.102.4/clamscan' CC output.o CC optparser.o CC getopt.o In file included from ../libclamav/execs.h:28, from ../libclamav/matcher.h:30, from ../libclamav/others.h:22, from ../shared/optparser.c:48: ../libclamav/pe_structs.h:159:7: warning: no newline at end of file CC actions.o In file included from ../libclamav/execs.h:28, from ../libclamav/matcher.h:30, from ../libclamav/others.h:22, from ../shared/actions.c:51: ../libclamav/pe_structs.h:159:7: warning: no newline at end of file In file included from ../libclamav/execs.h:28, from ../libclamav/matcher.h:30, from ../libclamav/others.h:22, from ../shared/output.c:56: ../libclamav/pe_structs.h:159:7: warning: no newline at end of file CC misc.o In file included from ../libclamav/execs.h:28, from ../libclamav/matcher.h:30, from ../libclamav/others.h:22, from ../shared/misc.c:48: ../libclamav/pe_structs.h:159:7: warning: no newline at end of file CC clamscan.o CC manager.o In file included from ../libclamav/execs.h:28, from ../libclamav/matcher.h:30, from ../libclamav/others.h:22, from clamscan.c:42: ../libclamav/pe_structs.h:159:7: warning: no newline at end of file In file included from ../libclamav/execs.h:28, from ../libclamav/matcher.h:30, from ../libclamav/others.h:22, from manager.c:61: ../libclamav/pe_structs.h:159:7: warning: no newline at end of file CCLD clamscan actions.o: In function `traverse_to': ../shared/actions.c:328: undefined reference to `openat' actions.o: In function `traverse_unlink': ../shared/actions.c:568: undefined reference to `unlinkat' actions.o: In function `action_move': ../shared/actions.c:455: undefined reference to
[clamav-users] Problems compiling 0.97.2 on Solaris 9
Hi, I'm attempting to compile a 64 bit version of 0.97.2 on Solaris 9, and running into some issues. Version 0.96.4 compiled fine in the same environment that we're using now, but both this version and 0.97.1 did not seem to compile correctly. The configure does not come out with any errors, but upon trying to run make, standard error starts spewing a bunch of messages like this: bytecode_api.h, line 63: warning: enumerator value overflows INT_MAX (2147483647) CC libclamav_la-readdb.lo A make check results in failed clamdscan and clamd checks as well. Any idea why this might be going on? Any information I can provide that might help? Thanks, -- Tom Goerger University of Minnesota - Internet Services ___ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml
Re: [clamav-users] Problems compiling 0.97.2 on Solaris 9
Hi-- On Aug 19, 2011, at 12:40 PM, Tom Goerger wrote: I'm attempting to compile a 64 bit version of 0.97.2 on Solaris 9, and running into some issues. Version 0.96.4 compiled fine in the same environment that we're using now, but both this version and 0.97.1 did not seem to compile correctly. The configure does not come out with any errors, but upon trying to run make, standard error starts spewing a bunch of messages like this: bytecode_api.h, line 63: warning: enumerator value overflows INT_MAX (2147483647) CC libclamav_la-readdb.lo A make check results in failed clamdscan and clamd checks as well. Any idea why this might be going on? Any information I can provide that might help? I wonder if your platform is LP64 rather than ILP64? The output from: http://homepages.cwi.nl/~steven/enquire.html ...is likely to be informative. Taking a closer look at libclamav/bytecode_api.h, however, it looks like it is assuming you can put an unsigned int value into an enum, but I don't believe there is a requirement in ANSI / C89 that an enum can hold anything bigger than a normal (ie, signed) int: enum { /** Invalid RVA specified */ PE_INVALID_RVA = 0x }; Are you compiling with gcc? I believe there is a GNU compiler extension which does do the enum type swizzling to permit such usage, but it's not a portable assumption AFAIK Regards, -- -Chuck ___ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml
Re: [clamav-users] Problems compiling 0.97.2 on Solaris 9
On 8/19/2011 2:40 PM, Tom Goerger wrote: I'm attempting to compile a 64 bit version of 0.97.2 on Solaris 9, and running into some issues. Version 0.96.4 compiled fine in the same environment that we're using now, but both this version and 0.97.1 did not seem to compile correctly. The configure does not come out with any errors, but upon trying to run make, standard error starts spewing a bunch of messages like this: bytecode_api.h, line 63: warning: enumerator value overflows INT_MAX (2147483647) CC libclamav_la-readdb.lo Warnings are not errors ;-) A make check results in failed clamdscan and clamd checks as well. Any idea why this might be going on? Any information I can provide that might help? I have an unresolved bug report about 'make check' not working on Solaris 9 SPARC. With older versions it used to work the 2nd time around, but with 0.97.x it fails. The actual program used, clamd, works fine (24/7 scanning mail). The others, clamdscan and clamscan, work fine when used for testing. My build uses gcc 4.4.5, which I built just to get the 64-bit part working (no real performance improvement, SPARC processors work the same with both ABIs) and the configure command: ./configure --enable-check --sysconfdir=/etc --libdir=/usr/local/lib/sparcv9--enable-id-check --enable-bigstack --disable-clamuko --with-dbdir=/usr/local/share/clamav CC=gcc-4 CXX=g++-4 CFLAGS=-m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9 -O3 -pipe CXXFLAGS=-m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9 -O3 -pipe LDFLAGS=-m64 -L/usr/local/lib/sparcv9 Hope this helps. -- René Berber ___ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml
[Clamav-users] problems compiling scannedonly
Hello Clamav, I'm trying to compile scannedonly-0.11 with calmav-0.94.2 and samba-3.2.4 on debian etch. I get the following error when trying to compile scannedonly: scannedonly-0.11# make make[1]: Entering directory `/usr/local/src/scannedonly-0.11/man' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/usr/local/src/scannedonly-0.11/man' make[1]: Entering directory `/usr/local/src//scannedonly-0.11/src' gcc -g -O2 -Wall -pipe -c -o scannedonlyd_clamav.o scannedonlyd_clamav.c scannedonlyd_clamav.c: In function 'main': scannedonlyd_clamav.c:748: error: 'struct cl_limits' has no member named 'maxmailrec' scannedonlyd_clamav.c:749: error: 'struct cl_limits' has no member named 'maxratio' make[1]: *** [scannedonlyd_clamav] Error 1 make[1]: Leaving directory `/usr/local/src/scannedonly-0.11/src' make: *** [all] Error 2 Could someone please help? thanks, Ryan ___ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml
Re: [Clamav-users] problems compiling scannedonly
On 2009-01-29 21:48, Ryan Suarez wrote: Hello Clamav, I'm trying to compile scannedonly-0.11 with calmav-0.94.2 and samba-3.2.4 on debian etch. I get the following error when trying to compile scannedonly: scannedonly-0.11# make make[1]: Entering directory `/usr/local/src/scannedonly-0.11/man' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/usr/local/src/scannedonly-0.11/man' make[1]: Entering directory `/usr/local/src//scannedonly-0.11/src' gcc -g -O2 -Wall -pipe -c -o scannedonlyd_clamav.o scannedonlyd_clamav.c scannedonlyd_clamav.c: In function 'main': scannedonlyd_clamav.c:748: error: 'struct cl_limits' has no member named 'maxmailrec' scannedonlyd_clamav.c:749: error: 'struct cl_limits' has no member named 'maxratio' make[1]: *** [scannedonlyd_clamav] Error 1 make[1]: Leaving directory `/usr/local/src/scannedonly-0.11/src' make: *** [all] Error 2 Could someone please help? MaxRatio was dropped, and instead of MaxMailRec MaxRecursion is used in clamd.conf. So you can delete the code related to maxratio, and maxmailrec, and try compiling again. Best regards, --Edwin ___ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml
Re: [Clamav-users] Problems compiling clamav 0.93 on a Macintosh 10.4.11.
On Mon, Apr 14, 2008 at 11:39 PM, fchan [EMAIL PROTECTED] wrote: Thank you Edwin! That worked. Frank Similar issue here when upgrading (MacPorts install) Removing old libclam* stuff from /opt/local/lib fixed it. Patrick Sneyers Belgium ___ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://lurker.clamav.net/list/clamav-users.html
[Clamav-users] Problems compiling clamav 0.93 on a Macintosh 10.4.11.
Hi, I just download clamav 0.93 and attempted to compiled this on my Apple Macintosh 10.4.11 on a Apple MacBook Pro Core2 Duo. Here is my error message I got: Extracting /Applications/Utilities/clamav/clamav-0.93/libclamav/lzma/.libs/liblzma.a (cd .libs/libclamav.lax/liblzma.a ar x /Applications/Utilities/clamav/clamav-0.93/libclamav/lzma/.libs/liblzma.a) gcc -dynamiclib -o .libs/libclamav.4.0.1.dylib .libs/matcher-ac.o .libs/matcher-bm.o .libs/matcher.o .libs/md5.o .libs/others.o .libs/readdb.o .libs/cvd.o .libs/dsig.o .libs/str.o .libs/scanners.o .libs/textdet.o .libs/filetypes.o .libs/rtf.o .libs/blob.o .libs/mbox.o .libs/message.o .libs/table.o .libs/text.o .libs/ole2_extract.o .libs/vba_extract.o .libs/msexpand.o .libs/pe.o .libs/upx.o .libs/htmlnorm.o .libs/chmunpack.o .libs/rebuildpe.o .libs/petite.o .libs/wwunpack.o .libs/unsp.o .libs/aspack.o .libs/packlibs.o .libs/fsg.o .libs/mew.o .libs/upack.o .libs/line.o .libs/untar.o .libs/unzip.o .libs/inflate64.o .libs/special.o .libs/binhex.o .libs/is_tar.o .libs/tnef.o .libs/autoit.o .libs/strlcpy.o .libs/regcomp.o .libs/regerror.o .libs/regexec.o .libs/regfree.o .libs/unarj.o .libs/bzlib.o .libs/nulsft.o .libs/infblock.o .libs/pdf.o .libs/spin.o .libs/yc.o .libs/elf.o .libs/sis.o .libs/uuencode.o .libs/phishcheck.o .libs/phish_domaincheck_db.o .libs/phish_whitelist.o .libs/regex_list.o .libs/mspack.o .libs/cab.o .libs/entconv.o .libs/hashtab.o .libs/dconf.o .libs/lzma_iface.o .libs/explode.o .libs/textnorm.o .libs/libclamav.lax/liblzma.a/LzmaStateDecode.o -lz -lbz2 /usr/local/lib/libgmp.dylib /usr/lib/libiconv.dylib ../libclamunrar_iface/.libs/libclamunrar_iface.dylib /usr/local/clamXav/lib/libclamunrar.dylib -install_name /usr/local/clamXav/lib/libclamav.4.dylib -compatibility_version 5 -current_version 5.1 -Wl,-single_module ld: warning can't open dynamic library: /usr/local/clamXav/lib/libclamunrar.4.dylib referenced from: ../libclamunrar_iface/.libs/libclamunrar_iface.dylib (checking for undefined symbols may be affected) (No such file or directory, errno = 2) ld: Undefined symbols: _ppm_constructor referenced from libclamunrar expected to be defined in /usr/local/clamXav/lib/libclamunrar.4.dylib _ppm_destructor referenced from libclamunrar expected to be defined in /usr/local/clamXav/lib/libclamunrar.4.dylib _rar_init_filters referenced from libclamunrar expected to be defined in /usr/local/clamXav/lib/libclamunrar.4.dylib _rar_unpack referenced from libclamunrar expected to be defined in /usr/local/clamXav/lib/libclamunrar.4.dylib _rarvm_free referenced from libclamunrar expected to be defined in /usr/local/clamXav/lib/libclamunrar.4.dylib /usr/libexec/gcc/i686-apple-darwin8/4.0.1/libtool: internal link edit command failed make[3]: *** [libclamav.la] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 It appears the ../libclamunrar_iface/.libs/libclamunrar_iface.dylib is incorrectly defined so that /usr/local/clamXav/lib/libclamunrar.4.dylib in the prefix directory. Correct me if I'm wrong. Regards, Frank ___ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://lurker.clamav.net/list/clamav-users.html
Re: [Clamav-users] Problems compiling clamav 0.93 on a Macintosh 10.4.11.
fchan wrote: Hi, I just download clamav 0.93 and attempted to compiled this on my Apple Macintosh 10.4.11 on a Apple MacBook Pro Core2 Duo. Here is my error message I got: Extracting /Applications/Utilities/clamav/clamav-0.93/libclamav/lzma/.libs/liblzma.a (cd .libs/libclamav.lax/liblzma.a ar x /Applications/Utilities/clamav/clamav-0.93/libclamav/lzma/.libs/liblzma.a) gcc -dynamiclib -o .libs/libclamav.4.0.1.dylib .libs/matcher-ac.o .libs/matcher-bm.o .libs/matcher.o .libs/md5.o .libs/others.o .libs/readdb.o .libs/cvd.o .libs/dsig.o .libs/str.o .libs/scanners.o .libs/textdet.o .libs/filetypes.o .libs/rtf.o .libs/blob.o .libs/mbox.o .libs/message.o .libs/table.o .libs/text.o .libs/ole2_extract.o .libs/vba_extract.o .libs/msexpand.o .libs/pe.o .libs/upx.o .libs/htmlnorm.o .libs/chmunpack.o .libs/rebuildpe.o .libs/petite.o .libs/wwunpack.o .libs/unsp.o .libs/aspack.o .libs/packlibs.o .libs/fsg.o .libs/mew.o .libs/upack.o .libs/line.o .libs/untar.o .libs/unzip.o .libs/inflate64.o .libs/special.o .libs/binhex.o .libs/is_tar.o .libs/tnef.o .libs/autoit.o .libs/strlcpy.o .libs/regcomp.o .libs/regerror.o .libs/regexec.o .libs/regfree.o .libs/unarj.o .libs/bzlib.o .libs/nulsft.o .libs/infblock.o .libs/pdf.o .libs/spin.o .libs/yc.o .libs/elf.o .libs/sis.o .libs/uuencode.o .libs/phishcheck.o .libs/phish_domaincheck_db.o .libs/phish_whitelist.o .libs/regex_list.o .libs/mspack.o .libs/cab.o .libs/entconv.o .libs/hashtab.o .libs/dconf.o .libs/lzma_iface.o .libs/explode.o .libs/textnorm.o .libs/libclamav.lax/liblzma.a/LzmaStateDecode.o -lz -lbz2 /usr/local/lib/libgmp.dylib /usr/lib/libiconv.dylib ../libclamunrar_iface/.libs/libclamunrar_iface.dylib /usr/local/clamXav/lib/libclamunrar.dylib -install_name /usr/local/clamXav/lib/libclamav.4.dylib -compatibility_version 5 -current_version 5.1 -Wl,-single_module ld: warning can't open dynamic library: /usr/local/clamXav/lib/libclamunrar.4.dylib referenced from: ../libclamunrar_iface/.libs/libclamunrar_iface.dylib (checking for undefined symbols may be affected) (No such file or directory, errno = 2) ld: Undefined symbols: _ppm_constructor referenced from libclamunrar expected to be defined in /usr/local/clamXav/lib/libclamunrar.4.dylib _ppm_destructor referenced from libclamunrar expected to be defined in /usr/local/clamXav/lib/libclamunrar.4.dylib _rar_init_filters referenced from libclamunrar expected to be defined in /usr/local/clamXav/lib/libclamunrar.4.dylib _rar_unpack referenced from libclamunrar expected to be defined in /usr/local/clamXav/lib/libclamunrar.4.dylib _rarvm_free referenced from libclamunrar expected to be defined in /usr/local/clamXav/lib/libclamunrar.4.dylib /usr/libexec/gcc/i686-apple-darwin8/4.0.1/libtool: internal link edit command failed make[3]: *** [libclamav.la] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 It appears the ../libclamunrar_iface/.libs/libclamunrar_iface.dylib is incorrectly defined so that /usr/local/clamXav/lib/libclamunrar.4.dylib in the prefix directory. Correct me if I'm wrong. Can you remove old libclam* files from /usr/local/clamXav/lib and try again please? ___ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://lurker.clamav.net/list/clamav-users.html
Re: [Clamav-users] Problems compiling clamav 0.93 on a Macintosh 10.4.11.
Thank you Edwin! That worked. Frank fchan wrote: Hi, I just download clamav 0.93 and attempted to compiled this on my Apple Macintosh 10.4.11 on a Apple MacBook Pro Core2 Duo. Here is my error message I got: Extracting /Applications/Utilities/clamav/clamav-0.93/libclamav/lzma/.libs/liblzma.a (cd .libs/libclamav.lax/liblzma.a ar x /Applications/Utilities/clamav/clamav-0.93/libclamav/lzma/.libs/liblzma.a) gcc -dynamiclib -o .libs/libclamav.4.0.1.dylib .libs/matcher-ac.o .libs/matcher-bm.o .libs/matcher.o .libs/md5.o .libs/others.o .libs/readdb.o .libs/cvd.o .libs/dsig.o .libs/str.o .libs/scanners.o .libs/textdet.o .libs/filetypes.o .libs/rtf.o .libs/blob.o .libs/mbox.o .libs/message.o .libs/table.o .libs/text.o .libs/ole2_extract.o .libs/vba_extract.o .libs/msexpand.o .libs/pe.o .libs/upx.o .libs/htmlnorm.o .libs/chmunpack.o .libs/rebuildpe.o .libs/petite.o .libs/wwunpack.o .libs/unsp.o .libs/aspack.o .libs/packlibs.o .libs/fsg.o .libs/mew.o .libs/upack.o .libs/line.o .libs/untar.o .libs/unzip.o .libs/inflate64.o .libs/special.o .libs/binhex.o .libs/is_tar.o .libs/tnef.o .libs/autoit.o .libs/strlcpy.o .libs/regcomp.o .libs/regerror.o .libs/regexec.o .libs/regfree.o .libs/unarj.o .libs/bzlib.o .libs/nulsft.o .libs/infblock.o .libs/pdf.o .libs/spin.o .libs/yc.o .libs/elf.o .libs/sis.o .libs/uuencode.o .libs/phishcheck.o .libs/phish_domaincheck_db.o .libs/phish_whitelist.o .libs/regex_list.o .libs/mspack.o .libs/cab.o .libs/entconv.o .libs/hashtab.o .libs/dconf.o .libs/lzma_iface.o .libs/explode.o .libs/textnorm.o .libs/libclamav.lax/liblzma.a/LzmaStateDecode.o -lz -lbz2 /usr/local/lib/libgmp.dylib /usr/lib/libiconv.dylib ../libclamunrar_iface/.libs/libclamunrar_iface.dylib /usr/local/clamXav/lib/libclamunrar.dylib -install_name /usr/local/clamXav/lib/libclamav.4.dylib -compatibility_version 5 -current_version 5.1 -Wl,-single_module ld: warning can't open dynamic library: /usr/local/clamXav/lib/libclamunrar.4.dylib referenced from: ../libclamunrar_iface/.libs/libclamunrar_iface.dylib (checking for undefined symbols may be affected) (No such file or directory, errno = 2) ld: Undefined symbols: _ppm_constructor referenced from libclamunrar expected to be defined in /usr/local/clamXav/lib/libclamunrar.4.dylib _ppm_destructor referenced from libclamunrar expected to be defined in /usr/local/clamXav/lib/libclamunrar.4.dylib _rar_init_filters referenced from libclamunrar expected to be defined in /usr/local/clamXav/lib/libclamunrar.4.dylib _rar_unpack referenced from libclamunrar expected to be defined in /usr/local/clamXav/lib/libclamunrar.4.dylib _rarvm_free referenced from libclamunrar expected to be defined in /usr/local/clamXav/lib/libclamunrar.4.dylib /usr/libexec/gcc/i686-apple-darwin8/4.0.1/libtool: internal link edit command failed make[3]: *** [libclamav.la] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 It appears the ../libclamunrar_iface/.libs/libclamunrar_iface.dylib is incorrectly defined so that /usr/local/clamXav/lib/libclamunrar.4.dylib in the prefix directory. Correct me if I'm wrong. Can you remove old libclam* files from /usr/local/clamXav/lib and try again please? ___ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://lurker.clamav.net/list/clamav-users.html ___ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://lurker.clamav.net/list/clamav-users.html
Re: [Clamav-users] problems compiling
On Thursday 20 Jan 2005 04:58, John Alexander wrote: Hi, gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./zziplib -I./mspack -g -O2 -c mbox.c -Wp,-MD,.deps/mbox.TPlo -o mbox.o mbox.c:568: curl/curl.h: No such file or directory *** Error code 1 Try: make distclean configure --disable-libcurl your-other-options make John Alexander -Nigel well.. different issues now. I ran it with --disable-libcurl and got the same error. I ran it with --without-libcurl and got this .. please pardon the amount of stuff... mkdir .libs gcc -g -O2 -o clamscan output.o getopt.o memory.o cfgparser.o misc.o clamscan.o options.o others.o manager.o treewalk.o ../libclamav/.libs/libclamav.a -lz -lbz2 ../shared/output.c:83: Undefined symbol `_pthread_mutex_lock' referenced from text segment ../shared/output.c:90: Undefined symbol `_pthread_mutex_unlock' referenced from text segment //and more of the same// scanners.c:98: Undefined symbol `_pthread_mutex_unlock' referenced from text segment scanners.c:116: Undefined symbol `_pthread_cleanup_push' referenced from text segment scanners.c:117: Undefined symbol `_pthread_mutex_lock' referenced from text segment scanners.c:0: More undefined symbol _pthread_mutex_unlock refs follow scanners.c:254: Undefined symbol `_pthread_cleanup_pop' referenced from text segment mbox.c:776: Undefined symbol `_pthread_mutex_lock' referenced from text segment message.c:508: Undefined symbol `_pthread_mutex_lock' referenced from text segment collect2: ld returned 1 exit status *** Error code 1 Sorry.. but I'm pretty lost now. John Alexander This message was sent using IMP, the Internet Messaging Program. ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] problems compiling
On Thu, 2005-01-20 at 16:18, John Alexander wrote: well.. different issues now. I ran it with --disable-libcurl and got the same error. I ran it with --without-libcurl and got this .. please pardon the amount of stuff... mkdir .libs gcc -g -O2 -o clamscan output.o getopt.o memory.o cfgparser.o misc.o clamscan.o options.o others.o manager.o treewalk.o ../libclamav/.libs/libclamav.a -lz -lbz2 ../shared/output.c:83: Undefined symbol `_pthread_mutex_lock' referenced from text segment ../shared/output.c:90: Undefined symbol `_pthread_mutex_unlock' referenced from text segment What platform are you on, and what was your full configure line? -trog signature.asc Description: This is a digitally signed message part ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] problems compiling
Quoting Trog [EMAIL PROTECTED]: On Thu, 2005-01-20 at 16:18, John Alexander wrote: well.. different issues now. I ran it with --disable-libcurl and got the same error. I ran it with --without-libcurl and got this .. please pardon the amount of stuff... mkdir .libs gcc -g -O2 -o clamscan output.o getopt.o memory.o cfgparser.o misc.o clamscan.o options.o others.o manager.o treewalk.o ../libclamav/.libs/libclamav.a -lz -lbz2 ../shared/output.c:83: Undefined symbol `_pthread_mutex_lock' referenced from text segment ../shared/output.c:90: Undefined symbol `_pthread_mutex_unlock' referenced from text segment What platform are you on, and what was your full configure line? -trog I'm running OpenBSD 3.1 ./configure --without-libcurl John This message was sent using IMP, the Internet Messaging Program. ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] problems compiling
On Thu, 2005-01-20 at 16:30, John Alexander wrote: mkdir .libs gcc -g -O2 -o clamscan output.o getopt.o memory.o cfgparser.o misc.o clamscan.o options.o others.o manager.o treewalk.o ../libclamav/.libs/libclamav.a -lz -lbz2 ../shared/output.c:83: Undefined symbol `_pthread_mutex_lock' referenced from text segment ../shared/output.c:90: Undefined symbol `_pthread_mutex_unlock' referenced from text segment What platform are you on, and what was your full configure line? -trog I'm running OpenBSD 3.1 ./configure --without-libcurl Thats quite an old version. I don't have any OpenBSD. Looks like something is wrong with the build process, it't not trying to link in pthread support or a bunch of other libraries. -trog signature.asc Description: This is a digitally signed message part ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] problems compiling
Quoting Trog [EMAIL PROTECTED]: I'm running OpenBSD 3.1 ./configure --without-libcurl Thats quite an old version. I don't have any OpenBSD. Looks like something is wrong with the build process, it't not trying to link in pthread support or a bunch of other libraries. -trog I've greatly desired to upgrade that box for some time, but for a number of reasons, can't. Do you have any ideas or recommendations? John This message was sent using IMP, the Internet Messaging Program. ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] problems compiling
On Thu, 2005-01-20 at 16:51, John Alexander wrote: Quoting Trog [EMAIL PROTECTED]: I'm running OpenBSD 3.1 ./configure --without-libcurl Thats quite an old version. I don't have any OpenBSD. Looks like something is wrong with the build process, it't not trying to link in pthread support or a bunch of other libraries. I've greatly desired to upgrade that box for some time, but for a number of reasons, can't. Do you have any ideas or recommendations? I compiled it on my FreeBSD 4.5 box OK. The libclamav build step gets linked with -lpthread, which should then get built into clamscan as well. All I can suggest at the moment is you try and link it by hand, with something like: cd clamscan gcc -g -O2 -o clamscan output.o getopt.o memory.o cfgparser.o misc.o clamscan.o options.o others.o manager.o treewalk.o ../libclamav/.libs/libclamav.a -lz -lbz2 -pthread maybe an OpenBSD guru will have a better suggestion. -trog signature.asc Description: This is a digitally signed message part ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] problems compiling
Quoting Nigel Horne [EMAIL PROTECTED]: ../shared/output.c:90: Undefined symbol `_pthread_mutex_unlock' referenced from text segment Try configure --disable-pthreads -- That seems to have done the trick. It built and installed. After I correctly edited freshclam.conf and clamd.conf all seems to be working properly. My configure line was: ./configure --disable-pthreads --without-libcurl Thanks much, Nigel. John Alexander This message was sent using IMP, the Internet Messaging Program. ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] problems compiling
On Thu, 2005-01-20 at 18:30, John Alexander wrote: That seems to have done the trick. It built and installed. After I correctly edited freshclam.conf and clamd.conf all seems to be working properly. My configure line was: ./configure --disable-pthreads --without-libcurl Thanks much, Nigel. One final piece of advice, without libcurl I would advise that you don't enable MailFollowUrls in clamd.conf John Alexander -Nigel ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] problems compiling
The libclamav build step gets linked with -lpthread, which should then get built into clamscan as well. All I can suggest at the moment is you try and link it by hand, with something like: cd clamscan gcc -g -O2 -o clamscan output.o getopt.o memory.o cfgparser.o misc.o clamscan.o options.o others.o manager.o treewalk.o ../libclamav/.libs/libclamav.a -lz -lbz2 -pthread Back in the 3.1 days, IIRC, pthreads were not so stable on OpenBSD. I would try without pthreads first. Benny -- I'm on the Zoloft to keep from killing y'all. -- Mike Tyson ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
[Clamav-users] problems compiling
Hi, This evidently has been covered before, but I couldn't find a resolution. I'm running OpenBSD 3.1 and have ClamAV 0.60 - should have upgraded long ago... I can't get ClamAV 0.80 to compile with the following error: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./zziplib -I./mspack -g -O2 -c mbox.c -Wp,-MD,.deps/mbox.TPlo -o mbox.o mbox.c:568: curl/curl.h: No such file or directory *** Error code 1 Stop in /var/downloads/clamav-0.80/libclamav. *** Error code 1 Stop in /var/downloads/clamav-0.80 (line 351 of Makefile). *** Error code 1 Stop in /var/downloads/clamav-0.80 (line 216 of Makefile). Curl is installed in /usr/local/include/curl Any thoughts or resolutions? -- John Alexander This message was sent using IMP, the Internet Messaging Program. ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] problems compiling
I'm running OpenBSD 3.1 and have ClamAV 0.60 - should have upgraded long ago... Yes. Both ClamAV _and_ the OS. They're working on 3.7 now. ;) I can't get ClamAV 0.80 to compile with the following error: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./zziplib -I./mspack -g -O2 -c mbox.c -Wp,-MD,.deps/mbox.TPlo -o mbox.o mbox.c:568: curl/curl.h: No such file or directory *** Error code 1 Install curl? It's in the ports tree. :) Benny -- I'm on the Zoloft to keep from killing y'all. -- Mike Tyson ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] problems compiling
On Thursday 20 Jan 2005 04:58, John Alexander wrote: Hi, gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./zziplib -I./mspack -g -O2 -c mbox.c -Wp,-MD,.deps/mbox.TPlo -o mbox.o mbox.c:568: curl/curl.h: No such file or directory *** Error code 1 Try: make distclean configure --disable-libcurl your-other-options make John Alexander -Nigel ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
[Clamav-users] Problems Compiling on Solaris X86 Box
All, I have been having problems compiling on a Solaris 8 X86 box since the release of 80rc series. Undefined first referenced symbol in file BZ2_bzRead scanners.lo BZ2_bzReadOpen scanners.lo BZ2_bzReadClose scanners.lo ld: fatal: Symbol referencing errors. No output written to .libs/libclamav.so.1.0.4 I can unzip / untar / configure and compile 75.1 and earlier without trouble. With the 80 series, the above error occurs. Same environment settings Thanks -- Ken Jones [EMAIL PROTECTED] ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] Problems Compiling on Solaris X86 Box
On Mon, 18 Oct 2004 11:58:18 -0500 (CDT) Ken Jones [EMAIL PROTECTED] wrote: All, I have been having problems compiling on a Solaris 8 X86 box since the release of 80rc series. Undefined first referenced symbol in file BZ2_bzRead scanners.lo BZ2_bzReadOpen scanners.lo BZ2_bzReadClose scanners.lo ld: fatal: Symbol referencing errors. No output written to .libs/libclamav.so.1.0.4 As a workaround try to configure it with --disable-bzip2 -- oo. Tomasz Kojm [EMAIL PROTECTED] (\/)\. http://www.ClamAV.net/gpg/tkojm.gpg \..._ 0DCA5A08407D5288279DB43454822DC8985A444B //\ /\ Mon Oct 18 19:38:21 CEST 2004 pgpV5oE9MeKyS.pgp Description: PGP signature ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] Problems Compiling on Solaris X86 Box
Ken Jones wrote: All, I have been having problems compiling on a Solaris 8 X86 box since the release of 80rc series. Undefined first referenced symbol in file BZ2_bzRead scanners.lo BZ2_bzReadOpen scanners.lo BZ2_bzReadClose scanners.lo ld: fatal: Symbol referencing errors. No output written to .libs/libclamav.so.1.0.4 ClamAV 0.80 (and the rc versions) compiles fine for me on Solaris 10 B63 x86, so it is not a general Solaris x86 problem. -- James Lick -- -- [EMAIL PROTECTED] -- http://jameslick.com/ ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] Problems Compiling on Solaris X86 Box
James Lick wrote: Ken Jones wrote: All, I have been having problems compiling on a Solaris 8 X86 box since the release of 80rc series. Undefined first referenced symbol in file BZ2_bzRead scanners.lo BZ2_bzReadOpen scanners.lo BZ2_bzReadClose scanners.lo ld: fatal: Symbol referencing errors. No output written to .libs/libclamav.so.1.0.4 ClamAV 0.80 (and the rc versions) compiles fine for me on Solaris 10 B63 x86, so it is not a general Solaris x86 problem. I'm not sure if this is related, but on a RedHat box I had problems compiling .80 until I installed the bzip2-devel rpm. -- _/_/_/_/ _/ _/ _/_/ _/ _/ _/ _/_/_/_/ _/ _/_/ _/ _/ _/ _/_/_/_/ _/ _/ _/ Bill Maidment Maidment Enterprises Pty Ltd Unless you are named Alfred E. Newman, you may read only the odd numbered words (every other word beginning with the first) of the message above. If you have violated that, then you hereby owe the sender AU$10 for each even numbered word you have read. Adapted from Stupid Email Disclaimers (see http://www.goldmark.org/jeff/stupid-disclaimers/) ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
RE: [Clamav-users] Problems compiling 0.80rc3
Todd Lyons wrote: Kevin Old wanted us to know: /usr/bin/ld: cannot find -lgssapi_krb5 ... The weird part is, I've checked my /etc/ld.so.conf file and it lists: /usr/kerberos/lib /usr/X11R6/lib /usr/lib That is for runtime. The issue you're having is that it cannot find the libgssapi_krb5.so file. ... It build just fine for me, but mine is in /usr/lib instead of /usr/kerberos/lib. Try ln -s /usr/lib/kerberos/libgssapi_krb5.so /usr/lib/libgssapi_krb5.so ... [EMAIL PROTECTED] 805.964.4554 x902 Hispanic Business Inc./HireDiversity.com Software Engineer perl -emap{y/a-z/l-za-k/;print}shift Jjhi pcdiwtg Ptga wprztg, ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] Problems compiling 0.80rc3
On Thu, 30 Sep 2004 09:38:45 -0700, Todd Lyons [EMAIL PROTECTED] wrote: Kevin Old wanted us to know: I'm running a RH9 server with clamav-0.75 and am trying to build the 0.80rc3 but am getting the following error: /usr/bin/ld: cannot find -lgssapi_krb5 collect2: ld returned 1 exit status make[2]: *** [libclamav.la] Error 1 make[2]: Leaving directory `/tmp/clamav-0.80rc3/libclamav' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/tmp/clamav-0.80rc3' make: *** [all] Error 2 If I do locate gssapi_krb5 I get: /usr/kerberos/lib/libgssapi_krb5.so.2.2 /usr/kerberos/lib/libgssapi_krb5.so.2 Pass to gcc -L/usr/kerberos/lib. Sorry, for the basic question, but which line in the Makefile should I put this on? Thanks, Kevin -- Kevin Old [EMAIL PROTECTED] ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] Problems compiling 0.80rc3
On Thu, 30 Sep 2004, Kevin Old wrote: On Thu, 30 Sep 2004 10:04:28 -0700, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Todd Lyons wrote: Kevin Old wanted us to know: /usr/bin/ld: cannot find -lgssapi_krb5 ... The weird part is, I've checked my /etc/ld.so.conf file and it lists: /usr/kerberos/lib /usr/X11R6/lib /usr/lib That is for runtime. The issue you're having is that it cannot find the libgssapi_krb5.so file. ... It build just fine for me, but mine is in /usr/lib instead of /usr/kerberos/lib. Try ln -s /usr/lib/kerberos/libgssapi_krb5.so /usr/lib/libgssapi_krb5.so ... But, I don't have libgssapi_krb5.so in /usr/kerberos/lib, I have libgssapi_krb5.so.2 and libgssapi_krb5.so.2.2 Can I just link libgssapi_krb5.so to libgssapi_krb5.so.2 in /usr/kerberos/lib? I did rpm -qa | grep krb5 and it returned: pam_krb5-1.60-1 krb5-libs-1.2.7-14 Any other ideas? Here's a wild and crazy idea! One which might actually work! WHOOOT Are you ready for it? Are you? (You sure?) Ok here it comes. drum roll Try reading the email I posted to the list in response to your question a few hours ago, rather than breaking your system by adding broken links and playing with config files. [Sorry for the flame, but people that can't follow simple instructions and then flood mailing lists with messages requesting help (which was already given) tend to piss me off. Consider this second response an act of kindness. Realistically, I should just ignore you and let you screw your system over.] Damian Menscher -- -=#| Physics Grad Student SysAdmin @ U Illinois Urbana-Champaign |#=- -=#| 488 LLP, 1110 W. Green St, Urbana, IL 61801 Ofc:(217)333-0038 |#=- -=#| 4602 Beckman, VMIL/MS, Imaging Technology Group:(217)244-3074 |#=- -=#| [EMAIL PROTECTED] www.uiuc.edu/~menscher/ Fax:(217)333-9819 |#=- -=#| The above opinions are not necessarily those of my employers. |#=- ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] Problems compiling 0.80rc3
Kevin Old wanted us to know: Pass to gcc -L/usr/kerberos/lib. Sorry, for the basic question, but which line in the Makefile should I put this on? None. Read Damien Menscher's reply to you that states exactly what the problem is and then install the rpm that he told you to. That will fix all problems. -- Regards... Todd We should not be building surveillance technology into standards. Law enforcement was not supposed to be easy. Where it is easy, it's called a police state. -- Jeff Schiller on NANOG Linux kernel 2.6.3-16mdkenterprise 2 users, load average: 0.00, 0.05, 0.03 ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
[Clamav-users] Problems compiling 0.80rc3
Hello everyone, I'm running a RH9 server with clamav-0.75 and am trying to build the 0.80rc3 but am getting the following error: /usr/bin/ld: cannot find -lgssapi_krb5 collect2: ld returned 1 exit status make[2]: *** [libclamav.la] Error 1 make[2]: Leaving directory `/tmp/clamav-0.80rc3/libclamav' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/tmp/clamav-0.80rc3' make: *** [all] Error 2 If I do locate gssapi_krb5 I get: /usr/kerberos/lib/libgssapi_krb5.so.2.2 /usr/kerberos/lib/libgssapi_krb5.so.2 The weird part is, I've checked my /etc/ld.so.conf file and it lists: /usr/kerberos/lib /usr/X11R6/lib /usr/lib I ran ldconfig just to make sure it was up to date. Anyone else have this problem or any suggestions on building the 0.80rc3 version? Thanks, Kevin -- Kevin Old [EMAIL PROTECTED] --- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl ___ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users
Re: [Clamav-users] Problems compiling 0.80rc3
Kevin Old wanted us to know: I'm running a RH9 server with clamav-0.75 and am trying to build the 0.80rc3 but am getting the following error: /usr/bin/ld: cannot find -lgssapi_krb5 collect2: ld returned 1 exit status make[2]: *** [libclamav.la] Error 1 make[2]: Leaving directory `/tmp/clamav-0.80rc3/libclamav' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/tmp/clamav-0.80rc3' make: *** [all] Error 2 If I do locate gssapi_krb5 I get: /usr/kerberos/lib/libgssapi_krb5.so.2.2 /usr/kerberos/lib/libgssapi_krb5.so.2 Pass to gcc -L/usr/kerberos/lib. The weird part is, I've checked my /etc/ld.so.conf file and it lists: /usr/kerberos/lib /usr/X11R6/lib /usr/lib That is for runtime. The issue you're having is that it cannot find the libgssapi_krb5.so file. Anyone else have this problem or any suggestions on building the 0.80rc3 version? It build just fine for me, but mine is in /usr/lib instead of /usr/kerberos/lib. -- Regards... Todd We should not be building surveillance technology into standards. Law enforcement was not supposed to be easy. Where it is easy, it's called a police state. -- Jeff Schiller on NANOG Linux kernel 2.6.3-16mdkenterprise 2 users, load average: 0.06, 0.06, 0.20 --- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl ___ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users
[Clamav-users] Problems Compiling clamav-devel-20040506
Hi When I compile clamav-devel-20040506 I obtain: undefined reference to `messageAddLineAtTop' If I compile clamav-devel-20040505 version everything works fine. Is a clamav-devel-20040506 error or I am doing something wrong. Regards Germán González --- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 ___ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users
Re: [Clamav-users] Problems Compiling clamav-devel-20040506
On Thursday 06 May 2004 6:38 pm, Ing. Germán González B. wrote: When I compile clamav-devel-20040506 I obtain: undefined reference to `messageAddLineAtTop' Fixed in CVS. Germán González -Nigel -- Nigel Horne. Arranger, Composer, Typesetter. NJH Music, Barnsley, UK. ICQ#20252325 [EMAIL PROTECTED] http://www.bandsman.co.uk --- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 ___ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users
Re: [Clamav-users] problems compiling on rh7.3
On Monday 03 May 2004 10:21 pm, Raul Elizondo wrote: main.o(.text+0x74): undefined reference to `strlcpy' Try the latest version of clamav from CVS. -Nigel -- Nigel Horne. Arranger, Composer, Typesetter. NJH Music, Barnsley, UK. ICQ#20252325 [EMAIL PROTECTED] http://www.bandsman.co.uk --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users
RE: [Clamav-users] problems compiling on rh7.3
Hi Te problems is that you don´t have strlcpy function. You can resolve it adding it to ./clamav-0.70/clamav-milter/clamav-milter.c size_t strlcpy(char *dst, const char *src, size_t dstsize) { if (strlen(src) dstsize) { strcpy(dst,src); } else { strncpy(dst,src,dstsize-1); dst[dstsize-1] = '\0'; } return strlen(src); } Roberto Yup! it work! Thanks Roberto -=Raul=- --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id149alloc_id66op=click ___ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users
[Clamav-users] problems compiling on rh7.3
Hi Te problems is that you don´t have strlcpy function. You can resolve it adding it to ./clamav-0.70/clamav-milter/clamav-milter.c size_t strlcpy(char *dst, const char *src, size_t dstsize) { if (strlen(src) dstsize) { strcpy(dst,src); } else { strncpy(dst,src,dstsize-1); dst[dstsize-1] = '\0'; } return strlen(src); } Roberto --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id149alloc_id66op=click ___ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users
Re: [Clamav-users] problems compiling on rh7.3
looks like libsm from sendmail Try downloading and installing the sendmail-devel kit Or downloading and compiling libmilter from sendmail source distribution and using that path to the configure script Raul Elizondo wrote: Hi, I am having this problem to compile clamav, the problem comes when i do --enable-milter in the ./configure then make. If i dont use that, it compile with no problem. Any hint or help? Regards... -=Raul=- gcc -DHAVE_CONFIG_H -DSENDMAIL_BIN=\/usr/sbin/sendmail\ -I. -I. -I.. -I../ clam d -I../libclamav -I../shared-g -O2 -c `test -f 'clamav-milter.c' || echo './ '`clamav-milter.c /bin/sh ../libtool --mode=link gcc -g -O2 -o clamav-milter cfgparser.o getop t.o memory.o clamav-milter.o -L../libclamav -lclamav -L/usr/lib/libmilter -lmil ter -lwrap -lpthread gcc -g -O2 -o .libs/clamav-milter cfgparser.o getopt.o memory.o clamav-milter.o -L/usr/local/src/clamav-0.70/libclamav /usr/local/src/clamav-0.70/libclamav/.li bs/libclamav.so -lz -lbz2 -lgmp -lnsl -L/usr/lib/libmilter -lmilter -lwrap - lpth read /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libmilter.a(main.o): In functio n `smfi_register': main.o(.text+0x74): undefined reference to `strlcpy' /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libmilter.a(main.o): In functio n `smfi_setconn': main.o(.text+0x12f): undefined reference to `strlcpy' /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libmilter.a(listener.o): In fun ction `mi_milteropen': listener.o(.text+0x184): undefined reference to `strlcpy' /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libmilter.a(engine.o): In funct ion `st_connectinfo': engine.o(.text+0x83a): undefined reference to `strlcpy' collect2: ld returned 1 exit status make[2]: *** [clamav-milter] Error 1 make[2]: Leaving directory `/usr/local/src/clamav-0.70/clamav-milter' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/clamav-0.70' make: *** [all] Error 2 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users
[Clamav-users] problems compiling on rh7.3
Hi, I am having this problem to compile clamav, the problem comes when i do --enable-milter in the ./configure then make. If i dont use that, it compile with no problem. Any hint or help? Regards... -=Raul=- gcc -DHAVE_CONFIG_H -DSENDMAIL_BIN=\/usr/sbin/sendmail\ -I. -I. -I.. -I../ clam d -I../libclamav -I../shared-g -O2 -c `test -f 'clamav-milter.c' || echo './ '`clamav-milter.c /bin/sh ../libtool --mode=link gcc -g -O2 -o clamav-milter cfgparser.o getop t.o memory.o clamav-milter.o -L../libclamav -lclamav -L/usr/lib/libmilter -lmil ter -lwrap -lpthread gcc -g -O2 -o .libs/clamav-milter cfgparser.o getopt.o memory.o clamav-milter.o -L/usr/local/src/clamav-0.70/libclamav /usr/local/src/clamav-0.70/libclamav/.li bs/libclamav.so -lz -lbz2 -lgmp -lnsl -L/usr/lib/libmilter -lmilter -lwrap - lpth read /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libmilter.a(main.o): In functio n `smfi_register': main.o(.text+0x74): undefined reference to `strlcpy' /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libmilter.a(main.o): In functio n `smfi_setconn': main.o(.text+0x12f): undefined reference to `strlcpy' /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libmilter.a(listener.o): In fun ction `mi_milteropen': listener.o(.text+0x184): undefined reference to `strlcpy' /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libmilter.a(engine.o): In funct ion `st_connectinfo': engine.o(.text+0x83a): undefined reference to `strlcpy' collect2: ld returned 1 exit status make[2]: *** [clamav-milter] Error 1 make[2]: Leaving directory `/usr/local/src/clamav-0.70/clamav-milter' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/clamav-0.70' make: *** [all] Error 2 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users
Re: [Clamav-users] problems compiling on rh7.3
On Monday 03 May 2004 7:27 pm, Raul Elizondo wrote: I am having this problem to compile clamav, the problem comes when i do --enable-milter in the ./configure then make. If i dont use that, it compile with no problem. Have you followed the instructions in the INSTALL document, including installing the sendmail-devel RPM? -=Raul=- -- Nigel Horne. Arranger, Composer, Typesetter. NJH Music, Barnsley, UK. ICQ#20252325 [EMAIL PROTECTED] http://www.bandsman.co.uk --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users
RE: [Clamav-users] problems compiling on rh7.3
Sent: Monday, May 03, 2004 1:19 PM looks like libsm from sendmail Try downloading and installing the sendmail-devel kit Or downloading and compiling libmilter from sendmail source distribution and using that path to the configure script Hi again, Sendmail-devel for this distro/version is already installed and updated, however, i downloaded sendmail-8.12.11 from sendmail (next version of the one i got installed in that box which is 8.11.6-27.73), and i get the same error even i re-ran the configure with new paths. the line for configure was: ./configure --enable-milter --prefix=/usr --sysconfdir=/etc -libdir=/usr/loc al/src/sendmail-8.12.11/obj.Linux.2.4.20-18.7.i686/sendmail -includedir=/usr /local/src/sendmail-8.12.11/libmilter/ and the errors compiling are almost the same: Making all in clamav-milter make[2]: Entering directory `/usr/local/src/clamav-0.70/clamav-milter' /bin/sh ../libtool --mode=link gcc -g -O2 -o clamav-milter cfgparser.o getopt.o memory.o clamav-milter.o -L../libclamav -lclamav -L/usr/lib/libmilter -lmilter -lwr ap -lpthread gcc -g -O2 -o .libs/clamav-milter cfgparser.o getopt.o memory.o clamav-milter.o -L/usr/local/src/clamav-0.70/libclamav /usr/local/src/clamav-0.70/libclamav/.libs/libclamav.so -lz -lbz2 -lgmp -lns l -L/usr/lib/libmilter -lmilter -lwrap -lpthread -Wl,--rpath -Wl,/usr/local/ src/sendmail-8.12.11/obj.Linux.2.4.20-18.7.i686/sendmail /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libmilter.a(main.o): In function `smfi_register': main.o(.text+0x74): undefined reference to `strlcpy' /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libmilter.a(main.o): In function `smfi_setconn': main.o(.text+0x12f): undefined reference to `strlcpy' /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libmilter.a(listener.o): In function `mi_milteropen': listener.o(.text+0x184): undefined reference to `strlcpy' /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libmilter.a(engine.o): In function `st_connectinfo': engine.o(.text+0x83a): undefined reference to `strlcpy' collect2: ld returned 1 exit status make[2]: *** [clamav-milter] Error 1 make[2]: Leaving directory `/usr/local/src/clamav-0.70/clamav-milter' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/clamav-0.70' make: *** [all] Error 2 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Joe Maimon Sent: Monday, May 03, 2004 1:19 PM To: [EMAIL PROTECTED] Subject: Re: [Clamav-users] problems compiling on rh7.3 looks like libsm from sendmail Try downloading and installing the sendmail-devel kit Or downloading and compiling libmilter from sendmail source distribution and using that path to the configure script Raul Elizondo wrote: Hi, I am having this problem to compile clamav, the problem comes when i do --enable-milter in the ./configure then make. If i dont use that, it compile with no problem. Any hint or help? Regards... -=Raul=- gcc -DHAVE_CONFIG_H -DSENDMAIL_BIN=\/usr/sbin/sendmail\ -I. -I. -I.. -I.. / clam d -I../libclamav -I../shared-g -O2 -c `test -f 'clamav-milter.c' || echo './ '`clamav-milter.c /bin/sh ../libtool --mode=link gcc -g -O2 -o clamav-milter cfgparser.o getop t.o memory.o clamav-milter.o -L../libclamav -lclamav -L/usr/lib/libmilter -lmil ter -lwrap -lpthread gcc -g -O2 -o .libs/clamav-milter cfgparser.o getopt.o memory.o clamav-milter.o -L/usr/local/src/clamav-0.70/libclamav /usr/local/src/clamav-0.70/libclamav/.li bs/libclamav.so -lz -lbz2 -lgmp -lnsl -L/usr/lib/libmilter -lmilter -lwrap - lpth read /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libmilter.a(main.o): In functio n `smfi_register': main.o(.text+0x74): undefined reference to `strlcpy' /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libmilter.a(main.o): In functio n `smfi_setconn': main.o(.text+0x12f): undefined reference to `strlcpy' /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libmilter.a(listener.o): In fun ction `mi_milteropen': listener.o(.text+0x184): undefined reference to `strlcpy' /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libmilter.a(engine.o): In funct ion `st_connectinfo': engine.o(.text+0x83a): undefined reference to `strlcpy' collect2: ld returned 1 exit status make[2]: *** [clamav-milter] Error 1 make[2]: Leaving directory `/usr/local/src/clamav-0.70/clamav-milter' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/clamav-0.70' make: *** [all] Error 2 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users --- This SF.Net email is sponsored
Re: [Clamav-users] problems compiling on rh7.3
Hi Te problems is that you don´t have strlcpy function. You can resolve it adding it to ./clamav-0.70/clamav-milter/clamav-milter.c size_t strlcpy(char *dst, const char *src, size_t dstsize) { if (strlen(src) dstsize) { strcpy(dst,src); } else { strncpy(dst,src,dstsize-1); dst[dstsize-1] = '\0'; } return strlen(src); } Roberto - Original Message - From: Raul Elizondo [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, May 03, 2004 1:27 PM Subject: [Clamav-users] problems compiling on rh7.3 Hi, I am having this problem to compile clamav, the problem comes when i do --enable-milter in the ./configure then make. If i dont use that, it compile with no problem. Any hint or help? Regards... -=Raul=- gcc -DHAVE_CONFIG_H -DSENDMAIL_BIN=\/usr/sbin/sendmail\ -I. -I. -I.. -I../ clam d -I../libclamav -I../shared-g -O2 -c `test -f 'clamav-milter.c' || echo './ '`clamav-milter.c /bin/sh ../libtool --mode=link gcc -g -O2 -o clamav-milter cfgparser.o getop t.o memory.o clamav-milter.o -L../libclamav -lclamav -L/usr/lib/libmilter -lmil ter -lwrap -lpthread gcc -g -O2 -o .libs/clamav-milter cfgparser.o getopt.o memory.o clamav-milter.o -L/usr/local/src/clamav-0.70/libclamav /usr/local/src/clamav-0.70/libclamav/.li bs/libclamav.so -lz -lbz2 -lgmp -lnsl -L/usr/lib/libmilter -lmilter -lwrap - lpth read /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libmilter.a(main.o): In functio n `smfi_register': main.o(.text+0x74): undefined reference to `strlcpy' /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libmilter.a(main.o): In functio n `smfi_setconn': main.o(.text+0x12f): undefined reference to `strlcpy' /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libmilter.a(listener.o): In fun ction `mi_milteropen': listener.o(.text+0x184): undefined reference to `strlcpy' /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libmilter.a(engine.o): In funct ion `st_connectinfo': engine.o(.text+0x83a): undefined reference to `strlcpy' collect2: ld returned 1 exit status make[2]: *** [clamav-milter] Error 1 make[2]: Leaving directory `/usr/local/src/clamav-0.70/clamav-milter' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/clamav-0.70' make: *** [all] Error 2 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id149alloc_id66op=click ___ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users
[Clamav-users] Problems compiling clamav-milter on cobalt RAQ3
Hello all, I am trying to get clamav compiled on a cobalt RAQ3. Everything works except the compile of clamav-milter. It throws up the following errors: clamav-milter.c:322: parse error before `tcpSocket' clamav-milter.c:322: warning: data definition has no type or storage class clamav-milter.c: In function `main': clamav-milter.c:572: `in_port_t' undeclared (first use in this function) clamav-milter.c:572: (Each undeclared identifier is reported only once clamav-milter.c:572: for each function it appears in.) clamav-milter.c:572: parse error before `cpt' make[1]: *** [clamav-milter.o] Error 1 I have installed sendmail 8.12.10 and have two other milters working fine. Any help or pointers appreciated. TIA TUSC Computer Systems - www.tusc.com.au John Stevens - MIS Manager, Senior Project Engineer Mobile: 0419840411 Direct: 03 9840 4428 --- This message (and any associated files) is intended only for the use of the individual or entity to which it is addressed and may contain information that is confidential, subject to copyright or constitutes a trade secret. If you are not the intended recipient you are hereby notified that any dissemination, copying or distribution of this message, or files associated with this message, is strictly prohibited. If you have received this message in error, please notify us immediately by replying to the message and deleting it from your computer. Messages sent to and from us may be monitored. Internet communications cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Therefore, we do not accept responsibility for any errors or omissions that are present in this message, or any attachment, that have arisen as a result of e-mail transmission. If verification is required, please request a hard-copy version. Any views or opinions presented are solely those of the author and do not necessarily represent those of the company. TUSC Computer Systems, ABN 44 005 815 752 ä 5ë^¨¥Ë)¢{(ç[ÈG% öÓNé¢z·¢wÞéÜzÎ¥éÓ¢l ëÞfz{ZÒ'µè+jب'¶æ¶Éb¦ÇrØ¯Ü yºîj¼·æ)À¨^`Ûiÿü0Áç%rè®è±Ù©¾ë®ÉX§X¬´)Z«î±êì+-²Ê.Ç¢¸ëa¶Úlÿùb²Û,¢êÜyú+éÞ·ùb²Û?+-wèýÉZ«î±êì
[Clamav-users] Problems compiling ClamAV 20031104
On Tue, 4 Nov 2003, Tomasz Kojm wrote: Could you please report that errors with your compiler ? First problem trying to compile the snapshot with Sun's Forte compiler (cc) on Solaris 9 is that the following files have ^M (carriage returns) in them and cc's preprocessor doesn't like them: ./libclamav/zziplib/zzip-conf.h ./libclamav/zziplib/zzip-err.c ./libclamav/zziplib/zzip-file.h ./libclamav/zziplib/zzip-stdint.h I reported this in Dec 2002... guess you never got around to stripping them. Then the compile went on to get a fatal error and the compile failed. So for now I'm try to use gcc... When I use gcc 3.3.2, I get further but end up with the following error: gcc -DPACKAGE_NAME=\\ -DPACKAGE_TARNAME=\\ -DPACKAGE_VERSION=\\ -DPACKAGE_STRING=\\ -DPACKAGE_BUGREPORT=\\ -DPACKAGE=\clamav\ -DVERSION=\devel-20031104\ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DBUFFSIZE=131072 -DFBUFFSIZE=16384 -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_INT_TYPES_H=1 -DHAVE_DLFCN_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_SYS_INTTYPES_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRINGS_H=1 -DHAVE_STRING_H=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_MALLOC_H=1 -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=4 -DHAVE_ZLIB_H=1 -DHAVE_BZLIB_H=1 -DNOBZ2PREFIX=1 -DCLAMD_USE_SYSLOG=1 -DCLAMAVUSER=\clamav\ -DCLAMAVGROUP=\clamav\ -DDB1NAME=\main.cvd\ -DDB2NAME=\daily.cvd\ -DDATADIR=\/opt/clamav-20031104/share/clamav\ -DCONFDIR=\/opt/clamav-20031104/etc\ -DC_URANDOM=1 -DCL_THREAD_SAFE=1 -DC_SOLARIS=1 -DBUILD_CLAMD=1 -DWORDS_BIGENDIAN=1 -DWORDS_BIGENDIAN=1 -I. -I. -I../clamscan -I../libclamav -g -O2 -c `test -f 'server.c' || echo './'`server.c server.c: In function `threadwatcher': server.c:325: error: `virnum' undeclared (first use in this function) server.c:325: error: (Each undeclared identifier is reported only once server.c:325: error: for each function it appears in.) *** Error code 1 make: Fatal error: Command failed for target `server.o' Current working directory /home/polycut.nss/usra/ed/clam/clamav-devel-20031104/clamd *** Error code 1 make: Fatal error: Command failed for target `all-recursive' Is there going to be a new snapshot version that will compile on Solaris with gcc? Cheers, Ed Ed Phillips [EMAIL PROTECTED] University of Delaware (302) 831-6082 Systems Programmer III, Network and Systems Services --- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ ___ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users
[Clamav-users] Problems compiling 0.60 under Solaris 2.6
I'm trying to compile 0.60 under Solaris 2.6, and I'm stuck: - Make gives me: ld: fatal: library -lz: not found - I can't seem to find zlib-devel (I've got zlib). I'm assuming this is related to the first problem. Thanks, Steve Pfister // [EMAIL PROTECTED] --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users
Re: [Clamav-users] problems compiling clamav-milter for solaris
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wednesday 20 Aug 2003 4:03 pm, Jeff Wasilko wrote: Has anyone gotten the milter to compile on solaris? I hope to start work on Solaris 9 soon. As supplied Solaris 8 doesn't support milters. - -Nigel - -- Nigel Horne. Arranger, Composer, Conductor, Typesetter. Owner of the brass band group of the Internet. ICQ#20252325 [EMAIL PROTECTED] http://www.bandsman.co.uk/music.htm -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE/RIZZOv/MqfDWaY8RAq+pAKC2b7d0nTO2z3UJuYWCCGWUFNf5ZwCcCPRr KRRUwHwoOFBYiRZADqw4KsY= =aT8n -END PGP SIGNATURE- --- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0 ___ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users
Re: [Clamav-users] Problems compiling clamav-milter
i am trying to compile clamav 0.60 and clamav-20030806 on a sun solaris SPARC box. the make-process went fine with one exeption. trying to compile clamav-milter produces some errors which prevent code-generation. configure options were: ./configure --prefix=/usr/local --sysconfdir=/etc --enable-milter make uses: gcc -g -O2 -Dstrerror_r=strerror -o clamav-milter clamav-milter.o ../clamd/cfgfile.o ../clamd/others.o -L/export/home/nwicker/Solaris-Softwar e/ClamAV/clamav-20030806/libclamav -L/usr/lib/libmilter -lmilter -lpthread -lsocket -lnsl -lresolv I had on RH 7.3 (but i386) similar problem. Sendmail is compiled with libraries libmilter and libsmutil. I resolve problem with adding -lsmutil to clamav source dir/clamav-milter/Makefile. I changed line: LIBS = -L../libclamav -L/usr/lib/libmilter -lclamav -lmilter -lpthread this way: LIBS = -L../libclamav -L/usr/lib/libmilter -lclamav -lmilter -lsmutil -lpthread I hope this can help Luf --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users
[Clamav-users] Problems compiling clamav-milter
hallo list, i am trying to compile clamav 0.60 and clamav-20030806 on a sun solaris SPARC box. the make-process went fine with one exeption. trying to compile clamav-milter produces some errors which prevent code-generation. configure options were: ./configure --prefix=/usr/local --sysconfdir=/etc --enable-milter make uses: gcc -g -O2 -Dstrerror_r=strerror -o clamav-milter clamav-milter.o ../clamd/cfgfile.o ../clamd/others.o -L/export/home/nwicker/Solaris-Softwar e/ClamAV/clamav-20030806/libclamav -L/usr/lib/libmilter -lmilter -lpthread -lsocket -lnsl -lresolv the errors produced were: Undefined first referenced symbol in file strerror_r clamav-milter.o getopt_long clamav-milter.o ld: fatal: Symbol referencing errors. No output written to clamav-milter collect2: ld returned 1 exit status use of -Dstrerror_r=strerror option didn' t work and i've got no idea how to fix the getopt_long problem. any help appreciated. Nikolaj Wicker -- Nikolaj Wicker fon +49-(0)7248/9150-0 cnk networks gmbh fax +49-(0)7248/9150-50 becker-goering-strasse 26/1 [EMAIL PROTECTED] Germany, 76307 karlsbad --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users