473,782 Members | 2,454 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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+0 x26a3): In function `zif_ldap_set_o ption':
: 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_c onv':
: undefined reference to `libiconv_open'
[...]
ext/iconv/.libs/iconv.o(.text+0 x3f): In function `php_iconv_stri ng':
: undefined reference to `libiconv_open'
[...]
ext/iconv/.libs/iconv.o(.text+0 x2be7): In function `_php_iconv_mim e_encode':
: undefined reference to `libiconv'
ext/iconv/.libs/iconv.o(.text+0 x2c18): more undefined references to `libiconv' follow
ext/iconv/.libs/iconv.o(.text+0 x307c): In function `_php_iconv_mim e_decode':
: undefined reference to `libiconv_open'
[...]
ext/iconv/.libs/iconv.o(.text+0 x39d8): In function `php_iconv_stre am_filter_clean up':
: undefined reference to `libiconv_close '
ext/iconv/.libs/iconv.o(.text+0 x3b89): In function `php_iconv_stre am_filter_facto ry_create':
: undefined reference to `libiconv_open'
[...]
ext/iconv/.libs/iconv.o(.text+0 x3da2): In function `_php_iconv_app endl':
: undefined reference to `libiconv'
[...]
ext/iconv/.libs/iconv.o(.text+0 x3f6f): In function `php_iconv_stre am_filter_appen d_bucket':
: undefined reference to `libiconv'
[...]
ext/ldap/.libs/ldap.o(.text+0x 26e1): In function `zif_ldap_set_o ption':
: 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 2323

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

Similar topics

0
1893
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 --with-mysql=/usr/local/mysql/. However, I get the same errors when I configure without the mysql extension, just mysqli. And as the documentation says, I use the same version of MySQL for both extensions to avoid conflicts.
3
1677
by: Stefan Weiss | last post by:
Hi. function printx($str) { echo $str; } true && printx("foo"); true && print("bar");
1
2109
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 last): File "./demo.py", line 4, in ? Main.main() File "/root/Python/wxPython-2.5.1.5/demo/Main.py", line 946, in main
1
2089
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 dumped) This happens under python 2.2 and 2.3 and 2.4 argh!
30
1924
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
2974
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 C & hence found that claim of the authors is *partial*. If we use C-style strings in C++ instead of Library String class, then they are slow but if write the same programme in C then C strings are "faster" than both C++ Library strings & C-style...
2
2147
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 I run it in development machine (windows) it runs okay. It also runs okay in (fedora) But I got problme when I run it in the Debian. after some clickings and typings it gets frozen. just frozen. I can not work with it. I though I would compile it...
119
4496
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 searches. Scott has heard a lot of hype about DB2 and Oracle and is trying to understand the pros and cons of each product. I'm quite familiar with DB2 but have never used Oracle so I can't make any meaningful comparisons for him. He does not have...
0
2001
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 my new laptop. (debian Sarge) I tried oracle 10g instant client but whitout success. See below.
0
9639
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10311
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10146
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9942
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7492
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5378
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5509
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3639
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2874
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.