when FPM is enable, php-cli is linked against libevent (it shouldn't)

Bug #52498 when FPM is enable, php-cli is linked against libevent (it shouldn't)
Submitted: 2010-07-30 13:33 UTC Modified: 2010-09-07 23:13 UTC
From: fat@php.net Assigned: fat (profile)
Status: Closed Package: FPM related
PHP Version: 5.3.3 OS: linux
Private report: No CVE-ID: None

 [2010-07-30 13:33 UTC] fat@php.net

Description:
------------
root@wild # ldd sapi/fpm/php-fpm
...
        libevent-1.4.so.2 => /usr/local/libevent-1.4.13/lib/libevent-1.4.so.2 
(0xb7d98000)
...

root@wild # ldd sapi/cli/php
...
        libevent-1.4.so.2 => /usr/local/libevent-1.4.13/lib/libevent-1.4.so.2 
(0xb8030000)
...

libevent is linked by sapi/cli/php when it shouldn't

Test script:
---------------
compile PHP with --enable-fpm

Expected result:
----------------
root@wild # ldd sapi/fpm/php-fpm
...
        libevent-1.4.so.2 => /usr/local/libevent-1.4.13/lib/libevent-1.4.so.2 
(0xb7d98000)
...

root@wild # ldd sapi/cli/php
...
...


Actual result:
--------------
root@wild # ldd sapi/fpm/php-fpm
...
        libevent-1.4.so.2 => /usr/local/libevent-1.4.13/lib/libevent-1.4.so.2 
(0xb7d98000)
...

root@wild # ldd sapi/cli/php
...
        libevent-1.4.so.2 => /usr/local/libevent-1.4.13/lib/libevent-1.4.so.2 
(0xb8030000)
...


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports

 [2010-07-30 13:34 UTC] fat@php.net

-Status: Open +Status: Assigned -Assigned To: +Assigned To: fat

 [2010-09-07 23:13 UTC] fat@php.net

-Status: Assigned +Status: Closed

 [2010-09-07 23:13 UTC] fat@php.net

This bug has been fixed in SVN.

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/.
 
Thank you for the report, and for helping us make PHP better.