<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></title> 
<link>http://www.jackxiang.com/index.php</link> 
<description><![CDATA[赢在IT，Playin' with IT,Focus on Killer Application,Marketing Meets Technology.]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></copyright>
<item>
<link>http://www.jackxiang.com/post//</link>
<title><![CDATA[php-5.6.xx编译时出现：configure: error: Cannot find ldap libraries in /usr/lib 解决办法]]></title> 
<author>jack &lt;xdy108@126.com&gt;</author>
<category><![CDATA[Php/Js/Shell/Go]]></category>
<pubDate>Thu, 22 Jun 2017 16:11:40 +0000</pubDate> 
<guid>http://www.jackxiang.com/post//</guid> 
<description>
<![CDATA[ 
	cat /etc/redhat-release <br/>CentOS Linux release 7.2.1511 (Core) <br/><br/>版本：php-5.6.20<br/>configure: error: Cannot find ldap libraries in /usr/lib 解决办法:<br/>今天在centos 6.2 64位版本上安装LNMP，config php的时候出现下面错误而退出<br/><br/>CentOS 64 编译PHP出现 error: Cannot find ldap libraries in /usr/lib 有需要的朋友可参考参考。<br/>在CentOS 64位下编译安装PHP5.4.8。cp -frp /usr/lib64/libpng* /usr/lib/ 结果在configure的时候提示<br/>configure: error: Cannot find ldap libraries in /usr/lib<br/>提示在/usr/lib 下找不到相关模块，这是因为64位的linux默认把以上文件都存在 /usr/lib64 文件夹下。<br/>解决方法：<br/>代码如下<br/>cp -frp /usr/lib64/libldap* /usr/lib/<br/><br/><br/>From:http://www.iitshare.com/cannot-find-ldap-libraries-in-usrlib.html<br/>-----------------------------------这种问题到处都有---------------------------------------<br/>configure: error: Cannot find ldap libraries in /usr/lib<br/>提示在/usr/lib 下找不到相关模块，这是因为64位的linux默认把以上文件都存在 /usr/lib64 文件夹下。<br/>解决办法:<br/>cp -frp /usr/lib64/libldap* /usr/lib/<br/><br/><br/>然后再./configure ...即可<br/><br/>From:http://www.cnblogs.com/xiangxiaodong/p/3492156.html<br/><br/>打包时先拷贝，再./configure:<br/><br/>%build<br/>/bin/cp -frp /usr/lib64/libldap* /usr/lib/<br/>./configure &#92;<br/>--prefix=%&#123;_prefix&#125; &#92;<br/>--with-libdir=%&#123;_lib&#125; &#92;<br/>--with-config-file-path=/usr/local/php/etc &#92;<br/>--with-config-file-scan-dir=/usr/local/php/etc/php.d &#92;<br/>--with-iconv-dir=/usr/local &#92;<br/>--with-iconv=/usr/local/libiconv &#92;<br/>--with-freetype-dir &#92;<br/>--with-jpeg-dir &#92;<br/>--with-png-dir &#92;<br/>--with-zlib &#92;<br/>--with-ldap &#92;<br/>--with-ldap-sasl &#92;<br/>--with-libxml-dir=/usr &#92;<br/>--with-curl &#92;<br/>--with-curlwrappers &#92;<br/>--with-mcrypt &#92;<br/>--with-gd &#92;<br/>--with-openssl &#92;<br/>--with-mhash &#92;<br/>--with-xmlrpc &#92;<br/>--without-pear &#92;<br/>--with-fpm-user=www &#92;<br/>--with-fpm-group=www &#92;<br/>--with-gettext &#92;<br/>--with-mysql=mysqlnd &#92;<br/>--with-mysqli=mysqlnd &#92;<br/>--with-pdo-mysql=mysqlnd &#92;<br/>--enable-xml &#92;<br/>--enable-bcmath &#92;<br/>--enable-shmop &#92;<br/>--enable-sysvsem &#92;<br/>--enable-inline-optimization &#92;<br/>--enable-mbregex &#92;<br/>--enable-fpm &#92;<br/>--enable-mbstring &#92;<br/>--enable-gd-native-ttf &#92;<br/>--enable-pcntl &#92;<br/>--enable-sockets &#92;<br/>--enable-zip &#92;<br/>--enable-soap &#92;<br/>--enable-opcache &#92;<br/>--enable-exif &#92;<br/>--enable-mbregex &#92;<br/>--enable-inline-optimization &#92;<br/>--enable-ftp &#92;<br/>--disable-fileinfo &#92;<br/>--disable-rpath &#92;<br/>--disable-ipv6 &#92;<br/>--disable-debug<br/>make ZEND_EXTRA_LIBS=&#039;-liconv&#039; %&#123;?_smp_mflags&#125;<br/><br/>%install<br/>rm -rf %&#123;buildroot&#125;<br/>make INSTALL_ROOT=%&#123;buildroot&#125; install<br/><br/>
]]>
</description>
</item><item>
<link>http://www.jackxiang.com/post//#blogcomment</link>
<title><![CDATA[[评论] php-5.6.xx编译时出现：configure: error: Cannot find ldap libraries in /usr/lib 解决办法]]></title> 
<author> &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> 
<guid>http://www.jackxiang.com/post//#blogcomment</guid> 
<description>
<![CDATA[ 
	
]]>
</description>
</item>
</channel>
</rss>