Bug #67353 [NEW]: LDAP compile faling
| From: | garrod dot alwood at gmail dot com | Date: | Wed, 28 May 2014 16:37:08 +0000 |
| Subject: | Bug #67353 [NEW]: LDAP compile faling | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-185954@lists.php.net to get a copy of this message | ||
From: garrod dot alwood at gmail dot com
Operating system: Debian 7.5.0
PHP version: 5.6.0beta3
Package: Compile Failure
Bug Type: Bug
Bug description:LDAP compile faling
Description:
------------
During compiling with the --with-ldap flag the compile fails when it
gets to compiling the ldap modules in debian 7.5.0.
Test script:
---------------
'./configure' '--disable-debug' '--enable-inline-optimization'
'--disable-all' '--enable-libxml' '--enable-session'
'--enable-xml'
'--enable-hash' '--with-pear'
'--with-apxs2=/usr/local/apache2/bin/apxs'
'--with-layout=GNU' '--enable-filter' '--with-pcre-regex'
'--with-zlib'
'--enable-simplexml' '--enable-xmlwriter' '--enable-dom'
'--with-openssl=/usr/local/ssl/' '--enable-pdo' '--with-pdo-sqlite'
'--with-readline' '--with-sqlite3' '--disable-phar'
'--with-libedit'
'--enable-exif' '--with-bz2' '--with-gettext'
'--with-mcrypt'
'--with-mhash' '--with-gd' '--with-jpeg-dir'
'--with-png-dir'
'--with-zlib-dir' '--with-xpm-dir' '--with-xsl'
'--with-tidy'
'--with-freetype-dir' '--enable-gd-native-ttf' '--enable-mbstring'
'--enable-sockets' '--enable-dom' '--enable-xml'
'--enable-soap'
'--enable-libxml' '--enable-session' '--enable-simplexml'
--with-kerberos --with-curl '--with-mysql-sock' '--with-mysql=mysqlnd'
'--with-mysqli=mysqlnd' '--with-pdo-mysql=mysqlnd'
'--with-config-file-path=/usr/local/etc' --with-ldap --enable-ctype
--enable-bcmath --enable-fpm --enable-zip --enable-fileinfo --enable-ftp
--enable-opcache
Expected result:
----------------
The compile finishes with please run make test.
Actual result:
--------------
/usr/bin/ld: ext/ldap/.libs/ldap.o: undefined reference to symbol
'ber_scanf@@OPENLDAP_2.4_2'
/usr/bin/ld: note: 'ber_scanf@@OPENLDAP_2.4_2' is defined in DSO
/usr/lib/i386-linux-gnu/liblber-2.4.so.2 so try adding it to the linker
command line
/usr/lib/i386-linux-gnu/liblber-2.4.so.2: could not read symbols:
Invalid operation
collect2: error: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
--
Edit bug report at https://bugs.php.net/bug.php?id=67353&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=67353&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=67353&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=67353&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=67353&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=67353&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=67353&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=67353&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=67353&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=67353&r=support
Expected behavior: https://bugs.php.net/fix.php?id=67353&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=67353&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=67353&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=67353&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=67353&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=67353&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=67353&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=67353&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=67353&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=67353&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=67353&r=mysqlcfg