> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Gerard Seibert
> Sent: vrijdag 15 december 2006 14:38
> To: clamav-users@lists.clamav.net
> Subject: [Clamav-users] Re: Curl-trouble on for clamav-0.88.7_1
>
> On Friday December 15, 2006 at 06:49:42 (AM) Mark wrote:
>
> > I'm having trouble with curl on FreeBSD 4.11 and clamav-0.88.7_1:
> >
> > ===>   Compressing manual pages for curl-7.15.5_1
> > ===>   Running ldconfig
> > /sbin/ldconfig -m /usr/local/lib
> > ===>   Registering installation for curl-7.15.5_1
> > readlink: not found
> > ===>   Returning to build of clamav-0.88.7_1
> > Error: shared library "curl.4" does not exist
> > *** Error code 1
> >
> > Stop in /usr/ports/security/clamav.
> >
> > Pretty self-explanatory: there is no curl.4 library.
> curl-7.15.5_1 creates
> > a new /usr/local/lib/libcurl.so.3, but not .4 version.
>
> FreeBSD 4.11 is extremely old. I have never heard of this
> problem existing on and FreeBSD 5+ installation. With version 6.2
> due out any day now, perhaps it is time to consider updating.

I knew someone would say that. :)

I made a symlink for the .4 library (to the new libcurl.so.3); and that
makes it install just fine. In fact, libcurl.so.3 is not even required it
seems:

ldd /usr/local/bin/freshclam
/usr/local/bin/freshclam:
    libclamav.so.1 => /usr/local/lib/libclamav.so.1 (0x28070000)
    libbz2.so.1 => /usr/lib/libbz2.so.1 (0x280bc000)
    libgmp.so.7 => /usr/local/lib/libgmp.so.7 (0x280cc000)
    libcurl.so.3 => /usr/local/lib/libcurl.so.3 (0x280fb000)
    libcares.so.1 => /usr/local/lib/libcares.so.1 (0x2812f000)
    libidn.so.16 => /usr/local/lib/libidn.so.16 (0x28138000)
    libssl.so.4 => /usr/local/lib/libssl.so.4 (0x28169000)
    libcrypto.so.4 => /usr/local/lib/libcrypto.so.4 (0x281a2000)
    libz.so.2 => /usr/lib/libz.so.2 (0x282b8000)
    libc_r.so.4 => /usr/lib/libc_r.so.4 (0x282c5000)
    libgnugetopt.so.1 => /usr/local/lib/libgnugetopt.so.1 (0x2837b000)
    libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x2837e000)
    libintl.so.6 => /usr/local/lib/libintl.so.6 (0x2846c000)

It's just that, somewhere along the line, the clamav port seems to think
it needs libcurl.so.4, whereas .3 is what it appears compiled against
anyway (after I made a symlink to get it to compile).

- Mark

_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html

Reply via email to