Pre-ITP: apache/mod_php

Reini Urban rurban@x-ray.at
Thu Sep 23 19:34:00 GMT 2004


Gerrit P. Haase schrieb:
> It is the same problem with ldap (for me), the configure test fails
> because probably there is a serious bug somewhere:
> 
> This is what configure tests:
> $ gcc -o conftest.exe -g -O2   -lldap -llber conftest.c -lresolv -lm  -lxml2 -lz -liconv
> /tmp/ccw7ffQY.o(.text+0x1d): In function `main':
> /php/ldaptest.c:299: undefined reference to `_ldap_bind_s'
> /tmp/ccw7ffQY.o(.data+0x0):/php/ldaptest.c:298: undefined reference to `_ldap_bind_s'
> collect2: ld returned 1 exit status
> 
> And this is how it should be:
> $ gcc -o conftest.exe -g -O2 conftest.c -lldap -llber -lresolv -lm  -lxml2 -lz -liconv
> 
> Since the test fails configure thinks that db or ldap libraries are
> not available.

AARGH!
incorrect c and lib order.
a typical php configure problem. before I had this with gd also. some 
versions even were dependent on the order of the --with-<module> statements.

but it can easily be patched on our side.
-- 
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/



More information about the Cygwin-apps mailing list