when i run recomended binary as per the instruction i have the following error,
I have set the path as follows under my solaris 8 bash-2.03# echo $LD_LIBRAY_PATH /usr/local/lib bash-2.03# echo $PATH /usr/ccs/bin:/usr/local/bin:/usr/local/sbin:/usr/local/lib:/usr/bin:/usr/sbin:/usr/local/include bash-2.03# tar xvf clamav-0.91rc1.sol8.tar x ., 0 bytes, 0 tape blocks x usr, 0 bytes, 0 tape blocks x usr/local, 0 bytes, 0 tape blocks x usr/local/share, 0 bytes, 0 tape blocks x usr/local/share/clamav, 0 bytes, 0 tape blocks x usr/local/share/clamav/test, 0 bytes, 0 tape blocks x usr/local/share/clamav/test/pe, 0 bytes, 0 tape blocks x usr/local/share/clamav/test/pe/debugpe.c, 5233 bytes, 11 tape blocks x usr/local/share/clamav/test/farm, 0 bytes, 0 tape blocks x usr/local/share/clamav/test/farm/farm.c, 8356 bytes, 17 tape blocks x usr/local/share/clamav/test/mbox, 0 bytes, 0 tape blocks x usr/local/share/clamav/test/mbox/debugm.c, 1713 bytes, 4 tape blocks x usr/local/share/clamav/test/clam-v2.rar, 350 bytes, 1 tape blocks x usr/local/share/clamav/test/clam-v3.rar, 364 bytes, 1 tape blocks x usr/local/share/clamav/test/README, 170 bytes, 1 tape blocks x usr/local/share/clamav/test/clam.cab, 621 bytes, 2 tape blocks x usr/local/share/clamav/test/clam.exe, 544 bytes, 2 tape blocks x usr/local/share/clamav/test/clam.zip, 404 bytes, 1 tape blocks x usr/local/share/clamav/test/clam.exe.bz2, 348 bytes, 1 tape blocks x usr/local/share/clamav/test/libclamav, 0 bytes, 0 tape blocks x usr/local/share/clamav/test/libclamav/libclamav.c, 6650 bytes, 13 tape blocks x usr/local/share/man, 0 bytes, 0 tape blocks x usr/local/share/man/man1, 0 bytes, 0 tape blocks x usr/local/share/man/man1/clamscan.1, 8005 bytes, 16 tape blocks x usr/local/share/man/man1/freshclam.1, 3622 bytes, 8 tape blocks x usr/local/share/man/man1/sigtool.1, 2346 bytes, 5 tape blocks x usr/local/share/man/man1/clamdscan.1, 1690 bytes, 4 tape blocks x usr/local/share/man/man1/clamconf.1, 731 bytes, 2 tape blocks x usr/local/share/man/man5, 0 bytes, 0 tape blocks x usr/local/share/man/man5/clamd.conf.5, 9401 bytes, 19 tape blocks x usr/local/share/man/man5/freshclam.conf.5, 4840 bytes, 10 tape blocks x usr/local/share/man/man8, 0 bytes, 0 tape blocks x usr/local/share/man/man8/clamd.8, 2294 bytes, 5 tape blocks x usr/local/share/man/man8/clamav-milter.8, 13862 bytes, 28 tape blocks x usr/local/lib, 0 bytes, 0 tape blocks x usr/local/lib/pkgconfig, 0 bytes, 0 tape blocks x usr/local/lib/pkgconfig/libclamav.pc, 275 bytes, 1 tape blocks x usr/local/lib/libclamav.so.2.0.4, 1145449 bytes, 2238 tape blocks x usr/local/lib/libclamav.so.2 symbolic link to libclamav.so.2.0.4 x usr/local/lib/libclamav.so symbolic link to libclamav.so.2.0.4 x usr/local/lib/libclamav.la, 977 bytes, 2 tape blocks x usr/local/lib/libclamav.a, 1245030 bytes, 2432 tape blocks x usr/local/include, 0 bytes, 0 tape blocks x usr/local/include/clamav.h, 7363 bytes, 15 tape blocks x usr/local/bin, 0 bytes, 0 tape blocks x usr/local/bin/clamscan, 80522 bytes, 158 tape blocks x usr/local/bin/clamdscan, 58094 bytes, 114 tape blocks x usr/local/bin/freshclam, 111395 bytes, 218 tape blocks x usr/local/bin/sigtool, 125245 bytes, 245 tape blocks x usr/local/bin/clamconf, 36752 bytes, 72 tape blocks x usr/local/bin/clamav-config, 1086 bytes, 3 tape blocks x usr/local/sbin, 0 bytes, 0 tape blocks x usr/local/sbin/clamd, 87937 bytes, 172 tape blocks x usr/local/sbin/clamav-milter, 152536 bytes, 298 tape blocks x usr/local/etc, 0 bytes, 0 tape blocks x usr/local/etc/freshclam.conf.example, 3620 bytes, 8 tape blocks x usr/local/etc/clamd.conf.sol8, 3025 bytes, 6 tape blocks x usr/local/etc/clamd.conf.example, 9093 bytes, 18 tape blocks x usr/local/etc/freshclam.conf.sol8, 352 bytes, 1 tape blocks bash-2.03# pwd /export/home/mg1/test bash-2.03# ls clamav-0.91rc1.sol8.tar usr bash-2.03# usr/local/bin/freshclam ld.so.1: usr/local/bin/freshclam: fatal: libclamav.so.2: open failed: No such file or directory Killed bash-2.03# usr/local/bin/freshclam ld.so.1: usr/local/bin/freshclam: fatal: libclamav.so.2: open failed: No such file or directory Killed bash-2.03# ----- Original Message ----- From: "Jose Alf." <[EMAIL PROTECTED]> To: "ClamAV users ML" <clamav-users@lists.clamav.net> Sent: Wednesday, June 06, 2007 2:27 PM Subject: Re: [Clamav-users] Please help me > Mohammed, > > Most likely the binaries were not linked properly > using the -R flag in Solaris. The following thread has > more information about this > http://www.dbforums.com/showthread.php?t=848174 > > You can check where the new binaries are looking for > the libclamav.so.1 library running the command > > ldd /path/to/clamd > > After that, you can create a link from the actual path > to the path the program expects, like so: > > ln -s /usr/local/lib/libclamav.so.1 > /usr/lib/libclamav.so.1 > > Regards, > Jose > > --- Mohammed Ejaz <[EMAIL PROTECTED]> wrote: > >> Many thanks for u r answer,, >> >> When i run ldconfig follwoing message appeared, Let >> me tell you my setup >> Postfix+Amavisd-new+clamav+spamassasin in solrais 8 >> >> bash-2.03# ldconfig >> bash: ldconfig: command not foun >> >> >> ----- Original Message ----- >> From: "Rob Sterenborg" <[EMAIL PROTECTED]> >> To: "ClamAV users ML" >> <clamav-users@lists.clamav.net> >> Sent: Wednesday, June 06, 2007 9:54 AM >> Subject: Re: [Clamav-users] Please help me >> >> >> >> So I decided to upgrade to 0.90.2, from the >> old source directory I >> >> did a make uninstall. I then did a "find / >> -name clamav" and >> >> deleted all the files >> >> located in all the clamav directories. >> >> >> >> I went into the 09.90.2 directory and did the >> following: >> >> >> >> /configure >> >> make >> >> make install >> >> >> >> When ever i did the "make install" i got an >> follwowing error >> >> >> >> "error while loading shared libraries: >> libclamav.so.1: >> >> cannot open shared object file: No such file or >> directory" >> > >> > Run ldconfig, see if that solves your problem. You >> might also check if >> > your ld.so.conf file is still correct (before >> running ldconfig). >> > >> > >> > Grts, >> > Rob >> > _______________________________________________ >> > 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 >> > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > _______________________________________________ > 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