If you have problems compiling clamav-0.92 and
newer is because of gcc bug PR28045 and below is
the line from my previous configure error:
checking for gcc bug PR28045... configure: error:
your compiler has gcc PR28045 bug, use a
different compiler, see
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28045
This part of clamav-0.92 and new fix of a bug.
https://wwws.clamav.net/bugzilla/show_bug.cgi?id=613
And in short we need to get gcc4.1.1 or newer to
get this work on Macintosh 10.4.11 and xcode 2.5
which only has an gcc 4.0.1. However Apple hasn't
released gcc 4.1.1 or newer for the Mac 10.4.11
so we are left to use this an workaround for this
an Japanese clamav user found this and here is
the workaround:
export CFLAGS='-g'
"-g" means debug mode building. Then configure
and make as you have done before.
When you are compiling clamav-0.93 you may run into this error during make:
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
And Trk Edwin said to move or delete the old
clamav/lib directory and after that it the
compile worked for me.
I hope this helps.
Frank
John Rudd wrote:
Nigel Horne wrote:
Roberto Ullfig wrote:
Nigel Horne wrote:
A vulnerability was identified by Secunia in 0.92.1 relating to the
PE module.
We immediately disabled this module about a month ago. Since then we
have been
working on, and produced, a fix which is included in 0.93. 0.93 is
due for release
very soon, and all users are advised to update to this release with
immediate effect.
0.93RC1 does not include the fix.
Regards,
By disabling the module do you mean to say that 0.92.1 is not
vulnerable? Why does CERT say otherwise?
As soon as we found out about the vulnerability we issued a "dconf"
update
to switch off the affected module, upack. All 0.92.1 users are advised to
upgrade to 0.93 immediately.
Oh, and, while we're on the subject, what about 0.88.6? is that version
vulnerable? (don't tell me to upgrade -- I haven't been able to get
newer versions to compile on Mac OS X 10.4.x)
er.. Sorry, I'm using 0.91.2, not 0.88.6, on my Macs.
(using 0.92.1 on my Solaris boxes)
_______________________________________________
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