On Fri, Sep 29, 2006 at 09:36:58PM -0400, marius wrote:
> On 9/29/06, Joachim Schipper <[EMAIL PROTECTED]> wrote:
> >On Fri, Sep 29, 2006 at 01:56:50AM -0400, D0ra the Network Expl0rer! wrote:
> >> # pkg_add php5-curl-5.1.4-hardened
> >> Can't install php5-curl-5.1.4-hardened: lib not found curl.3.4
> >> Even by looking in the dependency tree:
> >> gettext-0.14.5p1, expat-1.95.6p1, curl-7.15.1, libiconv-
> >> 1.9.2p3, libxml-2.6.26, php5-core-5.1.4p1-hardened
> >> Maybe it's in a dependent package, but not tagged with @lib ?
> >> (check with pkg_info -K -L)
> >> If you are still running 3.6 packages, update them.
> >> # pkg_info -K -L php5-curl-5.1.4-hardened
> >> Information for php5-curl-5.1.4-hardened
> >>
> >> Files:
> >> @file /var/www/lib/php/modules/curl.so
> >>
> >> I'm running a recent snapshot. Does anyone know what the problem
> >> or solution is? Thanks in advance.
> >
> >Try pkg_info -L curl | grep so; my guess would be that you are running a
> >version of curl that does not correspond with the version of php5-curl
> >you are trying to install. (net/curl/Makefile lists libcurl as 4.0 on my
> >-current box.)
> >
> >pkg_add -ui would solve this.
>
> The most recent binary package for curl is 7.15.4, with
> libcurl.so.3.4, whereas the port tree has curl 7.15.5 with
> libcurl.so.4.0 . It looks like you have the latter installed, yet PHP
> is expecting the former.
Don't you mean "the former (3.4) installed, yet PHP is expecting the
latter (4.0)"?
Anyway, you could always compile net/curl yourself; just 'make install'.
Joachim