- 积分
- 16843
在线时间 小时
最后登录1970-1-1
|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?开始注册
x
checking for unistd.h... (cached) yes [3 b [6 }; J; H) c4 c( M3 ?4 _
configure: error: Cannot find ldap libraries in /usr/lib.
6 d) ^5 n# e9 t9 M解决办法:5 X" R1 p1 w) W) }# | |
* b/ X8 {1 \/ }/ N# p7 a0 y f
yum install -y libldb-devel
' T# _: ~+ C1 q) F7 k3 `- `5 @! M0 \! \! t5 w( ~
安装完成之后,再复制:
/ K- \/ l5 F* E* O cp -rfp /usr/lib64/libldap* /usr/lib/6 g4 t' S) L/ [) H* ~/ M
% \$ u( G7 A$ y) \再编译就成功了。$ z& B- K& d5 M
./configure --with-php-config=/usr/local/php/bin/php-config
% {; g; i7 ?9 p! t* Zchecking for ldap_parse_result... yes
h) x2 c& q8 K! f( w* Cchecking for ldap_parse_reference... yes) c# Q, j2 `$ P% z1 B# C8 I" O" i5 W% J
checking for ldap_start_tls_s... yes
+ W0 f7 P# l1 Mchecking for ldap_control_find... yes
6 s+ W6 I5 p6 ]! Z* l$ tchecking for ldap_parse_extended_result... yes n& [( t4 h" n9 Z5 W7 L2 l3 E, A
checking for ldap_extended_operation... yes3 B! M& ^* F) X2 H& K2 ]5 e
checking for ldap_extended_operation_s... yes
" n6 { S D- G5 qchecking for ldap_passwd... yes
* k7 F3 a k# a' G) {, Gchecking for ldap_whoami_s... yes
5 X5 Y- ]# x# e+ }7 X! `; Hchecking for ldap_refresh_s... yes2 f2 D( b0 v' S& {
checking for ldap_bind_s... yes
; g( Z, X+ o: ]4 q, T: wchecking for a sed that does not truncate output... /bin/sed* o \ `: G! b2 g$ y4 F6 n
checking for ld used by cc... /bin/ld9 x3 k, ^7 c; g: R7 ]( g
checking if the linker (/bin/ld) is GNU ld... yes
9 V q* Z* e6 {checking for /bin/ld option to reload object files... -r3 a8 f y- k& i( S
checking for BSD-compatible nm... /bin/nm -B
- A% W0 e' A2 C" N5 f/ Achecking whether ln -s works... yes
* A! P) ]' B N+ W+ D9 j: _checking how to recognize dependent libraries... pass_all
% K0 o9 ]3 k3 c, jchecking dlfcn.h usability... yes: O+ z3 \" E9 X/ i; s
checking dlfcn.h presence... yes4 L+ S4 t0 t1 K1 Y
checking for dlfcn.h... yes
0 {* J% I' V: Rchecking the maximum length of command line arguments... 1572864
; s8 m" S5 D5 Ochecking command to parse /bin/nm -B output from cc object... ok
/ h3 v5 e( w$ C3 @5 T6 W; nchecking for objdir... .libs
6 x0 p& |2 v/ p) t8 Dchecking for ar... ar; a$ P' m2 T! q2 F& F* V+ M: q
checking for ranlib... ranlib+ e9 m. N3 d- r( u) e. s9 V
checking for strip... strip6 K5 J9 s4 p" j( N' r
checking if cc supports -fno-rtti -fno-exceptions... no9 L) x- F3 g8 U
checking for cc option to produce PIC... -fPIC3 c: T' k- K9 O
checking if cc PIC flag -fPIC works... yes' {7 l4 t9 r) T# \ }, T
checking if cc static flag -static works... no
9 I6 B+ f$ b; w: C$ _5 |6 ^checking if cc supports -c -o file.o... yes
6 y- e$ ^3 t6 l% E6 F3 }$ wchecking whether the cc linker (/bin/ld -m elf_x86_64) supports shared libraries... yes
" v/ ^% }) v1 @5 t6 [checking whether -lc should be explicitly linked in... no
4 |6 ^% ^# H8 U- L0 D+ Mchecking dynamic linker characteristics... GNU/Linux ld.so0 |8 h0 M( Q6 B
checking how to hardcode library paths into programs... immediate5 q h* ]& Y H4 Z
checking whether stripping libraries is possible... yes4 F$ U, [/ f0 } \9 L8 V% ]1 x3 c
checking if libtool supports shared libraries... yes1 \2 Y' Z. C( G, M
checking whether to build shared libraries... yes; C8 Z( F$ | |6 O9 u
checking whether to build static libraries... no
3 d& R5 x1 P& R
% f( n( B& q/ d6 j, |
. {+ e6 ?1 t6 {1 K4 J1 F+ \/ D" q5 ?成功解决。
3 c( K7 S: B* t8 ^" W/ o$ M( ~: O3 @6 P9 ~# |) F$ I
" l O6 _. F0 k |
|