- 积分
- 16843
在线时间 小时
最后登录1970-1-1
|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?开始注册
x
checking for unistd.h... (cached) yes0 \+ {; y- D# u
configure: error: Cannot find ldap libraries in /usr/lib., o* U2 H% O+ f/ v# U% y' M
解决办法:
$ r- J* q; p9 I# u
o- ]1 U* f: P+ o1 v6 U yum install -y libldb-devel
0 ?8 J; o! b2 N3 J. O3 N$ ?$ T0 O( g4 Y/ J1 D6 ^" T+ N0 M
安装完成之后,再复制:
- o" O2 k2 Q, R/ y1 R3 m. \ cp -rfp /usr/lib64/libldap* /usr/lib/
. L+ `" ?$ O6 L1 q1 e
" f- x8 w) P+ ` I8 p再编译就成功了。
: X1 l6 s1 ?, P' j' r+ B9 T" ~ ./configure --with-php-config=/usr/local/php/bin/php-config
) a; r$ U6 L% Ychecking for ldap_parse_result... yes
7 [5 R3 N5 o: r" cchecking for ldap_parse_reference... yes
Z" a: W: y, { i+ t0 Q( zchecking for ldap_start_tls_s... yes
3 A5 J1 l1 o& A7 m% i. ]& ]- ?8 l/ achecking for ldap_control_find... yes, z+ H# c9 r# A1 P
checking for ldap_parse_extended_result... yes
/ {" t4 d' D" Q2 M% dchecking for ldap_extended_operation... yes2 N; H6 r6 d! r- [
checking for ldap_extended_operation_s... yes& n* X( N! r4 B9 z- D9 ?& ~" T
checking for ldap_passwd... yes
, P: r6 V- w# ^* Hchecking for ldap_whoami_s... yes
" ? k5 x" D) ?: B: gchecking for ldap_refresh_s... yes
- }4 J! a3 }5 G# J; ]! fchecking for ldap_bind_s... yes: E w2 L/ @5 j2 ~
checking for a sed that does not truncate output... /bin/sed
$ S" v6 u* D3 L2 ychecking for ld used by cc... /bin/ld
) H4 T5 P# L9 a4 e+ pchecking if the linker (/bin/ld) is GNU ld... yes
& {4 Z( @6 X$ @9 q8 F6 l. Bchecking for /bin/ld option to reload object files... -r
" P3 b" g2 N5 H6 A2 Uchecking for BSD-compatible nm... /bin/nm -B; v& y5 {& ~% Z1 @8 k) ?
checking whether ln -s works... yes
# J5 p6 h! ~; D% P! q1 T% L7 p% o; schecking how to recognize dependent libraries... pass_all3 N+ E- i. o7 A' u; R4 r+ o# p
checking dlfcn.h usability... yes) e- I' }2 D6 @! E
checking dlfcn.h presence... yes6 ~1 @! g! V1 }' k) t* D& `- d
checking for dlfcn.h... yes% F9 Z4 j+ ]1 ~5 q, A9 G
checking the maximum length of command line arguments... 1572864
0 D. b# i1 A9 o8 {checking command to parse /bin/nm -B output from cc object... ok
/ P, J3 a. k+ o) G. vchecking for objdir... .libs7 A$ O$ C9 o. W
checking for ar... ar
5 A, I; \0 ^6 Rchecking for ranlib... ranlib
" L4 I1 P: [ u" ychecking for strip... strip
7 L$ _1 c( O9 e8 \9 \& P/ d& [checking if cc supports -fno-rtti -fno-exceptions... no- h! c/ H: W' r u
checking for cc option to produce PIC... -fPIC# C9 T( v4 [( R4 t4 y9 Q1 e
checking if cc PIC flag -fPIC works... yes% l; u. s1 |9 V
checking if cc static flag -static works... no
9 Z" Y% V3 j. ochecking if cc supports -c -o file.o... yes
" U o! G y( _# ~& R1 e# Ochecking whether the cc linker (/bin/ld -m elf_x86_64) supports shared libraries... yes
5 n+ @5 z( B. S- W/ }/ Qchecking whether -lc should be explicitly linked in... no
6 N8 N, t; {& s6 Z9 n: d; Bchecking dynamic linker characteristics... GNU/Linux ld.so
/ G( H' r" d$ wchecking how to hardcode library paths into programs... immediate1 P+ @0 {+ `3 ]- k
checking whether stripping libraries is possible... yes
. |( O) O3 V$ y# v' X; Bchecking if libtool supports shared libraries... yes
: p5 x, I5 R2 X; pchecking whether to build shared libraries... yes6 o- F( T9 A. V X
checking whether to build static libraries... no
6 L. g8 H% |! Y; ]( j' ~% M. u8 F# t; n1 V
1 Z2 k4 [" Y* h9 s: V3 [+ Q成功解决。4 `. ?/ L l! F" I& ]
7 W2 J/ r9 }, O4 E2 K) I9 j4 C" h2 ~6 k- E
|
|