php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #65847 Issue with old libevent2
Submitted: 2013-10-06 16:50 UTC Modified: 2013-10-07 07:22 UTC
From: remi@php.net Assigned: remi (profile)
Status: Closed Package: event (PECL)
PHP Version: 5.5.4 OS: GNU/Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: remi@php.net
New email:
PHP Version: OS:

 

 [2013-10-06 16:50 UTC] remi@php.net
Description:
------------
Hi

When build with libevent >= 2.0.18 all works correctly
When build with libevent <= 2.0.10 if doesn't work because of "evhttp_connection_get_bufferevent" not available

Sorry, but I don't know exactly in which version this function have been added.

If this function is really mandatory (can't be condionally used), I think a check for it in the config.m4 will be usefull (don't allowed build)

Test script:
---------------
php -m



Expected result:
----------------
...
event
...

Actual result:
--------------
PHP Warning:  PHP Startup: Unable to load dynamic library '/builddir/build/BUILD/php-pecl-event-1.8.0/event-1.8.0/modules/event.so' - /builddir/build/BUILD/php-pecl-event-1.8.0/event-1.8.0/modules/event.so: undefined symbol: evhttp_connection_get_bufferevent in Unknown on line 0


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-10-06 16:56 UTC] remi@php.net
From : http://sourceforge.net/p/levent/code/ci/master/tree/ChangeLog-2.0

Changes in version 2.0.17-stable (10 Feb 2012)

NEW APIS:
 o Backport evhttp_connection_get_bufferevent to Libevent 2.0 (da70fa7 Arno Bakker)
 [2013-10-07 06:56 UTC] remi@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: remi
 [2013-10-07 06:56 UTC] remi@php.net
The fix for this bug has been committed.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.


 [2013-10-07 07:22 UTC] osmanov@php.net
Fixed in 1.8.1.

Thanks.
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Thu May 23 15:01:32 2019 UTC