|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #59210 Compliation fails referencing a .la library file
Submitted: 2010-05-13 00:17 UTC Modified: 2011-08-20 07:44 UTC
From: chris dot smith at mightyape dot co dot nz Assigned:
Status: No Feedback Package: gearman (PECL)
PHP Version: 5.3.2 OS: Ubuntu 10.04 LTS
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: chris dot smith at mightyape dot co dot nz
New email:
PHP Version: OS:


 [2010-05-13 00:17 UTC] chris dot smith at mightyape dot co dot nz
Compiling gearman php extension via pecl fails because it's 
referencing "/usr/lib/" which is apparently no 
longer included on debian-like systems.

Reference saying that debian are phasing out .la files

I'm compiling against libgearman 0.11-1~lucid0 from the 
Gearman Developers PPA

Reproduce code:
pecl install channel://

Actual result:
running: make
/bin/bash /var/tmp/pear-build-root/gearman-0.7.0/libtool --
mode=compile cc  -I. -I/tmp/pear/temp/gearman -DPHP_ATOM_INC 
-I/var/tmp/pear-build-root/gearman-0.7.0/include -
I/var/tmp/pear-build-root/gearman-0.7.0/main -
I/tmp/pear/temp/gearman -I/usr/include/php5 -
I/usr/include/php5/main -I/usr/include/php5/TSRM -
I/usr/include/php5/Zend -I/usr/include/php5/ext -
I/usr/include/php5/ext/date/lib  -DHAVE_CONFIG_H  -g -O2 -
Wall   -c /tmp/pear/temp/gearman/php_gearman.c -o 
libtool: compile:  cc -I. -I/tmp/pear/temp/gearman -
DPHP_ATOM_INC -I/var/tmp/pear-build-root/gearman-
0.7.0/include -I/var/tmp/pear-build-root/gearman-0.7.0/main 
-I/tmp/pear/temp/gearman -I/usr/include/php5 -
I/usr/include/php5/main -I/usr/include/php5/TSRM -
I/usr/include/php5/Zend -I/usr/include/php5/ext -
I/usr/include/php5/ext/date/lib -DHAVE_CONFIG_H -g -O2 -Wall 
-c /tmp/pear/temp/gearman/php_gearman.c  -fPIC -DPIC -o 
/bin/bash /var/tmp/pear-build-root/gearman-0.7.0/libtool --
mode=link cc -DPHP_ATOM_INC -I/var/tmp/pear-build-
root/gearman-0.7.0/include -I/var/tmp/pear-build-
root/gearman-0.7.0/main -I/tmp/pear/temp/gearman -
I/usr/include/php5 -I/usr/include/php5/main -
I/usr/include/php5/TSRM -I/usr/include/php5/Zend -
I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib  -
DHAVE_CONFIG_H  -g -O2 -Wall   -o -export-dynamic 
-avoid-version -prefer-pic -module -rpath /var/tmp/pear-
build-root/gearman-0.7.0/modules  php_gearman.lo -lgearman
libtool: link: cc -shared  .libs/php_gearman.o   
/usr/lib/    -pthread -Wl,-soname -
Wl, -o .libs/
/bin/sed: can't read /usr/lib/ No such file or 
libtool: link: `/usr/lib/' is not a valid libtool 
make: *** [] Error 1
ERROR: `make' failed


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2011-05-15 14:23 UTC]
This might listed as dependency in libgearman?

Does this still happen on newer versions of Ubuntu?
 [2011-08-20 07:44 UTC]
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.

PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Mon Oct 18 21:03:39 2021 UTC