473,372 Members | 1,065 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,372 software developers and data experts.

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 2299

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: yzzzzz | last post by:
Hi, I am compiling PHP 5.0.2 myself with MySQL support. I did a ./configure --with-mysqli=/usr/local/mysql/bin/mysql_config (see end of post for complete configure) Note: I also have...
3
by: Stefan Weiss | last post by:
Hi. function printx($str) { echo $str; } true && printx("foo"); true && print("bar");
1
by: John Kinson | last post by:
Hi, I'm trying to get the wxPython demo to run on a Debian sarge testing installation, but encounter the following error when I run the demo script: # ./demo.py Traceback (most recent call...
1
by: Alex Stapleton | last post by:
localhost:~alex#python Python 2.3.3 (#2, Feb 24 2004, 09:29:20) on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import smtplib Segmentation fault (core...
30
by: fritz-bayer | last post by:
Hi, why does the php expression $result = 5543039447 & 2147483648; when executed evaluate to 0, whereas the perl expression $same = 5543039447 & 2147483648 ;
23
by: arnuld | last post by:
i was doing exercise 4.3.1 - 4.29 of "C++ Primer 4/e" where authors, with "run-time shown", claim that C++ Library strings are faster than C-style character strings. i wrote the same programme in...
2
by: muquaddim | last post by:
Hi, I am running a Debian/Sarge #uname -a Linux jukebox 2.6.14.2 #5 PREEMPT Mon Nov 28 20:28:54 CET 2005 i686 GNU/Linux I have a java casino game created by jdk (1.6.0_02) netbeans(5..5.1) . If...
119
by: Rhino | last post by:
One of my friends, Scott, is a consultant who doesn't currently have newsgroup access so I am asking these questions for him. I'll be telling him how to monitor the answers via Google Newsgroup...
0
by: carex | last post by:
Hi, A few years ago (2000 ?) I installed an oracle client on a linux server (oracle8iR2 on Debian Woody) and everything went beautifully. (with DBD::Oracle) Now, I need an oracle client on...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.