Bug #69021 [NEW]: failing when compiling extensions
| From: | jfha73 at gmail dot com | Date: | Tue, 10 Feb 2015 00:59:15 +0000 |
| Subject: | Bug #69021 [NEW]: failing when compiling extensions | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-190556@lists.php.net to get a copy of this message | ||
From: jfha73 at gmail dot com
Operating system: Ubuntu14.04
PHP version: 5.6.5
Package: Compile Failure
Bug Type: Bug
Bug description:failing when compiling extensions
Description:
------------
It fails at BZ2, LDAP, mysqlnd and I don't know how many more, I don't
know if this is an Ubuntu thing, but I have been having tons of problems
compiling PHP 5.6 and master on Ubuntu, any ideas?
Expected result:
----------------
compile
Actual result:
--------------
MySQLnd
/usr/bin/ld: ext/mysqlnd/.libs/mysqlnd_net.o: undefined reference to
symbol 'uncompress'
//lib/x86_64-linux-gnu/libz.so.1: error adding symbols: DSO missing from
command line
collect2: error: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
BZ2
php-5.6.5/modules ext/bz2/bz2.lo ext/bz2/bz2_filter.lo -lbz2
/usr/bin/ld:
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libbz2.a(bzlib.o):
relocation R_X86_64_32S against `BZ2_crc32Table' can not be used when
making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libbz2.a: error adding
symbols: Bad value
collect2: error: ld returned 1 exit status
make: *** [ext/bz2/bz2.la] Error 1
LDAP (when compiled with others)
checking for LDAP support... yes, shared
checking for LDAP Cyrus SASL support... no
checking size of long int... 8
checking for 3 arg ldap_set_rebind_proc... no
checking for ldap_parse_result... no
checking for ldap_parse_reference... no
checking for ldap_start_tls_s... no
checking for ldap_bind_s... no
--
Edit bug report at https://bugs.php.net/bug.php?id=69021&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=69021&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=69021&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=69021&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=69021&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=69021&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=69021&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=69021&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=69021&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=69021&r=support
Expected behavior: https://bugs.php.net/fix.php?id=69021&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=69021&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=69021&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=69021&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=69021&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=69021&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=69021&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=69021&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=69021&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=69021&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=69021&r=mysqlcfg