Cheng Guangyao wrote:
> ld.so.1:clamd:fatal:libgmp.so.3:open failed:No such file or directory killed
> i implement /usr/local/bin/clamdscan,clamconf.......also happend the same 
> thing.
> which file didn't exist?
>
>   
perhaps libgmp.so.3? :)
Try "pkg-get -i libgmp"
See http://www.blastwave.org/howto.html on how to install pkg-get

If you already have libgmp.so.3 somewhere, but ld can't seem to find it,
try one of the following :
- create a link from that file to /usr/local/lib
for example, ln -s /opt/csw/lib/libgmp.so.3 /usr/local/lib/
- use crle to modify your system's library search path
- use LD_LIBRARY_PATH system variable (not recommended)

My binary should automatically uses libraries on /opt/csw/lib when available
As for configuration, copying clamd.conf.sol10 to clamd.conf and
freshclam.conf.sol10 to freshclam.conf on /usr/local/etc SHOULD be
enough for most cases. If you want to tweak more settings, see
clamd.conf.example and freshclam.conf.example
Regards,

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

Reply via email to