Thanks Ed,

It clearly explain my confuse.

Thx & Rgds,

Wong


----- Original Message ----- From: "Ed Kasky" <e...@esson.net>
To: "ClamAV users ML" <clamav-users@lists.clamav.net>
Sent: Monday, June 29, 2009 12:56
Subject: Re: [Clamav-users] Error libclamav.so.6


When you rebooted, it created the necessary link. You could have just run ldconfig and it more than likely would have solved the problem. From the man page:

ldconfig creates the necessary links and cache to the most recent shared libraries found in the directories specified on the command line, in the file /etc/ld.so.conf, and in the trusted directories (/lib and /usr/lib). The cache is used by the run-time linker, ld.so or ld-linux.so. ldconfig checks the header and filenames of the libraries it encounters when determining which versions should have their links updated.

Ed
At 09:03 PM Sunday, 6/28/2009, you wrote -=>
Hi Dennis,

Here what I found

Clambox:~ # ldd /usr/local/bin/freshclam
       linux-gate.so.1 =>  (0xffffe000)
       libclamav.so.6 => /usr/local/lib/libclamav.so.6 (0xb7ed7000)
       libdl.so.2 => /lib/libdl.so.2 (0xb7ed2000)
       libz.so.1 => /lib/libz.so.1 (0xb7ebd000)
       libresolv.so.2 => /lib/libresolv.so.2 (0xb7ea7000)
       libpthread.so.0 => /lib/libpthread.so.0 (0xb7e8c000)
       libc.so.6 => /lib/libc.so.6 (0xb7d30000)
       /lib/ld-linux.so.2 (0xb7fa2000)
Clambox:~ # ls /usr/local/lib/libclamav.so.6
/usr/local/lib/libclamav.so.6

FYI, after restarting SuSE the problem has gone by itself. Good result but makes me confuse.... :(

Wong


----- Original Message ----- From: "Dennis Peterson" <denni...@inetnw.com>
To: "ClamAV users ML" <clamav-users@lists.clamav.net>
Sent: Monday, June 29, 2009 11:43
Subject: Re: [Clamav-users] Error libclamav.so.6


Wong wrote:
Yes Jim, it is in /usr/local/lib

Thx & Rgds,

Wong

In a terminal window go to the directory where the application is (freshclam) and run the ldd (list dynamic dependancies) command:

ldd freshclam

This will tell you what libraries are needed and where freshclam is looking for them. It may be necessary to use LD_LIBRARY_PATH or ldconfig to help freshclam find the needed libraries.

dp
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml


_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

...........................................................................

Randomly Generated Quote (810 of 1543):
It depends on what the meaning of the word "is" is.
  - President Clinton, during his grand jusry testimony

_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml



_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to