469,315 Members | 1,609 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,315 developers. It's quick & easy.

pb compiling php (4&5) on debian sarge w/ ldap module


hi, as the subject said I've pb compiling php-4.4.4 and php-5.1.6 with
ldap module activated on linux debian sarge (2.6.8-3-686-smp) :

- for 4.4.4 I've

% /bin/sh /www/src/php-4.4.4/libtool --silent --preserve-dup-deps --mode=compile /www/src/php-4.4.4/meta_ccld -Isapi/cli/ [...]

ext/ldap/ldap.lo(.text+0x26a3): In function `zif_ldap_set_option':
: undefined reference to `ber_pvt_opt_on'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1

* I've those ldap libs installed :
ii libldap2 2.1.30-8
ii libldap2-dev 2.1.30-8
ii libldap-2.2-7 2.2.23-8

/usr/lib/libldap-2.2.so.7
/usr/lib/libldap-2.2.so.7.0.16
/usr/lib/libldap.a
/usr/lib/libldap.so -libldap.so.2.0.130
/usr/lib/libldap.so.2
/usr/lib/libldap.so.2.0.130
/usr/lib/libldap50.so

/usr/lib/liblber-2.2.so.7
/usr/lib/liblber-2.2.so.7.0.16
/usr/lib/liblber.a
/usr/lib/liblber.so -liblber.so.2.0.130
/usr/lib/liblber.so.2
/usr/lib/liblber.so.2.0.130
- For 5.1.6 the pb is

% /bin/sh /www/src/php-5.1.6/libtool --silent --preserve-dup-deps --mode=link /www/src/php-5.1.6/meta_ccld -export-dynamic -I/usr/local/include -O3 -pthread -DZTS [...]

ext/gd/libgd/.libs/gdkanji.o(.text+0x1c4): In function `do_check_and_conv':
: undefined reference to `libiconv_open'
[...]
ext/iconv/.libs/iconv.o(.text+0x3f): In function `php_iconv_string':
: undefined reference to `libiconv_open'
[...]
ext/iconv/.libs/iconv.o(.text+0x2be7): In function `_php_iconv_mime_encode':
: undefined reference to `libiconv'
ext/iconv/.libs/iconv.o(.text+0x2c18): more undefined references to `libiconv' follow
ext/iconv/.libs/iconv.o(.text+0x307c): In function `_php_iconv_mime_decode':
: undefined reference to `libiconv_open'
[...]
ext/iconv/.libs/iconv.o(.text+0x39d8): In function `php_iconv_stream_filter_cleanup':
: undefined reference to `libiconv_close'
ext/iconv/.libs/iconv.o(.text+0x3b89): In function `php_iconv_stream_filter_factory_create':
: undefined reference to `libiconv_open'
[...]
ext/iconv/.libs/iconv.o(.text+0x3da2): In function `_php_iconv_appendl':
: undefined reference to `libiconv'
[...]
ext/iconv/.libs/iconv.o(.text+0x3f6f): In function `php_iconv_stream_filter_append_bucket':
: undefined reference to `libiconv'
[...]
ext/ldap/.libs/ldap.o(.text+0x26e1): In function `zif_ldap_set_option':
: undefined reference to `ber_pvt_opt_on'
collect2: ld returned 1 exit status

(same libs)
Any clue highly appreciated thanks in advance

--

- heddy Boubaker -
Aug 28 '06 #1
0 2114

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Stefan Weiss | last post: by
1 post views Thread by John Kinson | last post: by
1 post views Thread by Alex Stapleton | last post: by
30 posts views Thread by fritz-bayer | last post: by
23 posts views Thread by arnuld | last post: by
119 posts views Thread by Rhino | last post: by
reply views Thread by carex | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by harlem98 | last post: by
1 post views Thread by Geralt96 | last post: by
reply views Thread by harlem98 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.