Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: ClamAV: users

Error libclamav.so.6

 

 

ClamAV users RSS feed   Index | Next | Previous | View Threaded


wongclamav at telkom

Jun 28, 2009, 7:58 PM

Post #1 of 9 (2535 views)
Permalink
Error libclamav.so.6

Dear all,

I tried to install ClamAV to OpenSuSE 11.1. Installation progress was OK,
but got error while running :

Clambox:/usr/src # freshclam
freshclam: error while loading shared libraries: libclamav.so.6: cannot open
shared object file: No such file or directory
Clambox:/usr/src # clamd
clamd: error while loading shared libraries: libclamav.so.6: cannot open
shared object file: No such file or directory

Would you advise me why the libclamav.so.6 unable to be accessed?

Thank you very much for your help

wong



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


jimlinux at commspeed

Jun 28, 2009, 8:26 PM

Post #2 of 9 (2470 views)
Permalink
Re: Error libclamav.so.6 [In reply to]

Wong wrote:
> Dear all,
>
> I tried to install ClamAV to OpenSuSE 11.1. Installation progress was
> OK, but got error while running :
>
> Clambox:/usr/src # freshclam
> freshclam: error while loading shared libraries: libclamav.so.6:
> cannot open shared object file: No such file or directory
> Clambox:/usr/src # clamd
> clamd: error while loading shared libraries: libclamav.so.6: cannot
> open shared object file: No such file or directory
>
> Would you advise me why the libclamav.so.6 unable to be accessed?
>
> Thank you very much for your help
>
> wong
Did you check that libclamav.so.6 exists?

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


wongclamav at telkom

Jun 28, 2009, 8:34 PM

Post #3 of 9 (2457 views)
Permalink
Re: Error libclamav.so.6 [In reply to]

Yes Jim, it is in /usr/local/lib

Thx & Rgds,

Wong


----- Original Message -----
From: "Jim Preston" <jimlinux [at] commspeed>
To: "ClamAV users ML" <clamav-users [at] lists>
Sent: Monday, June 29, 2009 11:26
Subject: Re: [Clamav-users] Error libclamav.so.6


> Wong wrote:
>> Dear all,
>>
>> I tried to install ClamAV to OpenSuSE 11.1. Installation progress was
>> OK, but got error while running :
>>
>> Clambox:/usr/src # freshclam
>> freshclam: error while loading shared libraries: libclamav.so.6:
>> cannot open shared object file: No such file or directory
>> Clambox:/usr/src # clamd
>> clamd: error while loading shared libraries: libclamav.so.6: cannot
>> open shared object file: No such file or directory
>>
>> Would you advise me why the libclamav.so.6 unable to be accessed?
>>
>> Thank you very much for your help
>>
>> wong
> Did you check that libclamav.so.6 exists?
>
> Jim
> _______________________________________________
> 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


dennispe at inetnw

Jun 28, 2009, 8:43 PM

Post #4 of 9 (2470 views)
Permalink
Re: Error libclamav.so.6 [In reply to]

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


ed at esson

Jun 28, 2009, 8:56 PM

Post #5 of 9 (2463 views)
Permalink
Re: Error libclamav.so.6 [In reply to]

At 07:58 PM Sunday, 6/28/2009, you wrote -=>
>Dear all,
>
>I tried to install ClamAV to OpenSuSE 11.1. Installation progress
>was OK, but got error while running :
>
>Clambox:/usr/src # freshclam
>freshclam: error while loading shared libraries: libclamav.so.6:
>cannot open shared object file: No such file or directory
>Clambox:/usr/src # clamd
>clamd: error while loading shared libraries: libclamav.so.6: cannot
>open shared object file: No such file or directory
>
>Would you advise me why the libclamav.so.6 unable to be accessed?
>
>Thank you very much for your help
>
>wong

I had to run ldconfig after the latest install. Whenever you see
that error, first see if the lib file exists and then run ldconfig -
et voila....

HTH,

Ed

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

Randomly Generated Quote (213 of 1543):
"To climb steep hills requires slow pace at first."
- William Shakespeare

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


wongclamav at telkom

Jun 28, 2009, 9:03 PM

Post #6 of 9 (2457 views)
Permalink
Re: Error libclamav.so.6 [In reply to]

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" <dennispe [at] inetnw>
To: "ClamAV users ML" <clamav-users [at] lists>
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


wongclamav at telkom

Jun 28, 2009, 9:42 PM

Post #7 of 9 (2457 views)
Permalink
Re: Error libclamav.so.6 [In reply to]

Thanks Ed.

Wong


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


> At 07:58 PM Sunday, 6/28/2009, you wrote -=>
>>Dear all,
>>
>>I tried to install ClamAV to OpenSuSE 11.1. Installation progress was OK,
>>but got error while running :
>>
>>Clambox:/usr/src # freshclam
>>freshclam: error while loading shared libraries: libclamav.so.6: cannot
>>open shared object file: No such file or directory
>>Clambox:/usr/src # clamd
>>clamd: error while loading shared libraries: libclamav.so.6: cannot open
>>shared object file: No such file or directory
>>
>>Would you advise me why the libclamav.so.6 unable to be accessed?
>>
>>Thank you very much for your help
>>
>>wong
>
> I had to run ldconfig after the latest install. Whenever you see that
> error, first see if the lib file exists and then run ldconfig - et
> voila....
>
> HTH,
>
> Ed
>
> ...........................................................................
>
> Randomly Generated Quote (213 of 1543):
> "To climb steep hills requires slow pace at first."
> - William Shakespeare
>
> _______________________________________________
> 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


ed at esson

Jun 28, 2009, 9:56 PM

Post #8 of 9 (2463 views)
Permalink
Re: Error libclamav.so.6 [In reply to]

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" <dennispe [at] inetnw>
>To: "ClamAV users ML" <clamav-users [at] lists>
>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


wongclamav at telkom

Jun 28, 2009, 10:05 PM

Post #9 of 9 (2456 views)
Permalink
Re: Error libclamav.so.6 [In reply to]

Thanks Ed,

It clearly explain my confuse.

Thx & Rgds,

Wong


----- Original Message -----
From: "Ed Kasky" <ed [at] esson>
To: "ClamAV users ML" <clamav-users [at] lists>
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" <dennispe [at] inetnw>
>>To: "ClamAV users ML" <clamav-users [at] lists>
>>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

ClamAV users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.