On Thu, Sep 22, 2005 at 09:15:27PM -0700, doei said:
> before edit:
> ============
> 
> [EMAIL PROTECTED] lib]# ls -al libcurl*
> libcurl.a
> libcurl.so -> libcurl.so.3.0.0
> libcurl.so.3 -> libcurl.so.3.0.0
> libcurl.so.3.0.0
> 
> After edit:
> ===========
> 
> [EMAIL PROTECTED] lib]# ls -al libcurl*
> libcurl.a
> libcurl.so -> libcurl.so.2.0.2
> libcurl.so.2 -> libcurl.so.2.0.2
> libcurl.so.2.0.2
> 
> [EMAIL PROTECTED] clamav]# rpm -Uhv clamav-0.87-1.i386.rpm
>         libcurl.so.2 is needed by clamav-0.87-1
> 
> [EMAIL PROTECTED] lib]# /sbin/service httpd start
> Starting httpd: Syntax error on line 6 of
> /etc/httpd/conf/php.conf:
> Cannot load /etc/httpd/modules/libphp4.so into server:
> /usr/lib/libcurl.so.3: file too short
> 
> 
> Backup libcurl.so for first step:
> =================================
> 
> [EMAIL PROTECTED] lib]# ls -la libcurl.*
> libcurl.a
> libcurl.so -> libcurl.so.3.0.0
> libcurl.so.2.0.2
> libcurl.so.3 -> libcurl.so.3.0.0
> libcurl.so.3.0.0
> 
> [EMAIL PROTECTED] clamav]# /sbin/service httpd reload
> Reloading httpd:                                      
>     [  OK  ]
> 
> Why, when i'm use --> ln -s /usr/lib/libcurl.so
> /usr/lib/libcurl.so.2
> 
> my apache FAILED to start ?? 
>
> error: Failed dependencies:
>         libcurl.so.2 is needed by clamav-0.87-1
> 
> Why still error ???
> 
> Thanks before for ur all support ...

Not to be mean, but I think you are missing some fundamentals about
libraries and linking here.  It is not just a filename that is being
looked for - changing the name of the file alone will not fix the
problem (and will cause you more problems, as you found out).  Restore
your curl libraries to the way they were - get rid of the other things
you have done, and go find an rpm for libcurl2 (the curl library,
soname 2).  This is what is need by clamav on your system, not a renamed
libcurl3.

Take care,
-- 
 --------------------------------------------------------------------------
|  Stephen Gran                  | As you will see, I told them, in no     |
|  [EMAIL PROTECTED]             | uncertain terms, to see Figure one.   - |
|  http://www.lobefin.net/~steve | - Dave "First Strike" Pare              |
 --------------------------------------------------------------------------

Attachment: signature.asc
Description: Digital signature

_______________________________________________
http://lurker.clamav.net/list/clamav-users.html

Reply via email to