Posted by heddy Boubaker on 08/28/06 09:48
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 -
[Back to original message]
|