php.net |  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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
37 + 14 = ?
Subscribe to this entry?

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

Reference saying that debian are phasing out .la files
http://wiki.debian.org/ReleaseGoals/LAFileRemoval

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

Reproduce code:
---------------
pecl install channel://pecl.php.net/gearman-0.7.0


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 
php_gearman.lo
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 
.libs/php_gearman.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 gearman.la -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/libgearman.so    -pthread -Wl,-soname -
Wl,gearman.so -o .libs/gearman.so
/bin/sed: can't read /usr/lib/libuuid.la: No such file or 
directory
libtool: link: `/usr/lib/libuuid.la' is not a valid libtool 
archive
make: *** [gearman.la] Error 1
ERROR: `make' failed


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

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

Does this still happen on newer versions of Ubuntu?
 [2011-08-20 07:44 UTC] hradtke@php.net
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: Sun Oct 17 07:03:33 2021 UTC