php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #44375 LDAP extension load failed
Submitted: 2008-03-08 14:44 UTC Modified: 2008-03-13 11:47 UTC
From: petr at hroch dot info Assigned:
Status: Not a bug Package: LDAP related
PHP Version: 5.3CVS-2008-03-08 (CVS) OS: Linux Debian Etch 4.0
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: petr at hroch dot info
New email:
PHP Version: OS:

 

 [2008-03-08 14:44 UTC] petr at hroch dot info
Description:
------------
LDAP extension load failed, compiled from latest cvs snapshot

Actual result:
--------------
php -m
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/php/lib/php/extensions/mbstring.so' - /usr/local/php/lib/php/extensions/mbstring.so: undefined symbol: second_arg_force_ref in Unknown on line 0

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-03-08 14:49 UTC] petr at hroch dot info
Correction for my previous post:
php -m
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/php/lib/php/extensions/ldap.so' - /usr/local/php/lib/php/extensions/ldap.so: undefined symbol: third_arg_force_ref in Unknown on line 0
 [2008-03-08 20:49 UTC] felipe@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php5.3-latest.tar.gz
 
For Windows (zip):
 
  http://snaps.php.net/win32/php5.3-win32-latest.zip

For Windows (installer):

  http://snaps.php.net/win32/php5.3-win32-installer-latest.msi

Hello, with a new checkout it works fine for me.
 [2008-03-10 09:19 UTC] petr at hroch dot info
Hi,
problem still remains.
Compiled PHP from source http://snaps.php.net/php5.3-latest.tar.gz

php -m
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/php/lib/php/extensions/ldap.so' - /usr/local/php/lib/php/extensions/ldap.so: undefined symbol: third_arg_force_ref in Unknown on line 0
[PHP Modules]
calendar
ctype
date
dom
ereg
filter
hash
iconv
json
libxml
openssl
pcntl
pcre
PDO
pdo_sqlite
posix
Reflection
session
SimpleXML
sockets
SPL
SQLite
standard
sysvmsg
sysvsem
sysvshm
tokenizer
xml
xmlreader
xmlwriter
zlib

[Zend Modules]


In PHP 5.2.5 everything works fine.

Regards 
Petr
 [2008-03-10 12:01 UTC] felipe@php.net
Odd... Compile with success here.
 [2008-03-10 12:17 UTC] petr at hroch dot info
I've found that this problem occures only if LDAP extension is compiled externaly using phpize.
If it's compiled together with php core using general configure script,
extension works fine.
I don't know where might be a problem.

Petr
 [2008-03-11 21:40 UTC] jani@php.net
Did you 'make install' before re-phpizing the ldap module? And why do do you phpize ldap anyway, it's stock extension, just build it as static into the PHP..
 [2008-03-12 19:42 UTC] petr at hroch dot info
'make install' of what?
I usualy build and install PHP core from source 
using configure, make, make install
and than I externaly compile only usable extensions found in ext directory or from pecl source using phpize, configure, make, make install.
Rebuilding fixed extensions separately It's faster for me then rebuild the whole source tree.

Regards
Petr
 [2008-03-13 11:47 UTC] jani@php.net
So you're doing something we don't support and never will. If you want to build shared extensions, use the proper configure options. phpize is not meant for building extension under ext/ directory.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed May 01 15:01:30 2024 UTC