This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Pre-ITP: apache/mod_php


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]