Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Nov 2012 09:56:43 GMT
From:      Spil <spil.oss@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/173385: [www/pecl-http] Missing libevent dependency
Message-ID:  <201211050956.qA59uhjh066281@red.freebsd.org>
Resent-Message-ID: <201211051000.qA5A011l093146@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         173385
>Category:       ports
>Synopsis:       [www/pecl-http] Missing libevent dependency
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov 05 10:00:01 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Spil
>Release:        FreeBSD 9.0-p4
>Organization:
n/a
>Environment:
FreeBSD 9.0-p4
>Description:
The PECL-module fails to load with message:
Warning: dl(): Unable to load dynamic library '/usr/local/lib/php/20100525-zts/http.so' - Shared object "libevent-1.4.so.4" not found, required by "http.so" in ...
>How-To-Repeat:
pkg_delete 'libevent-*'
cd  /usr/ports/www/pecl-http
make
make install


>Fix:
Add dependency on libevent-1 to the port

--- Makefile.orig       2012-11-05 10:52:02.000000000 +0100
+++ Makefile    2012-11-05 10:52:31.000000000 +0100
@@ -17,6 +17,7 @@
 COMMENT=       Extended HTTP Support

 LIB_DEPENDS=   curl.6:${PORTSDIR}/ftp/curl
+LIB_DEPENDS+=  event-1:${PORTSDIR}/devel/libevent

 USE_PHP=       yes
 USE_PHPEXT=    yes


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211050956.qA59uhjh066281>