<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></title> 
<link>http://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://jackxiang.com/post//</link>
<title><![CDATA[[个人原创]Linux中的rpm编译依赖问题及如何对rpm包查询其依赖其它rpm的命令，/usr/bin/ld: cannot find -l* 错误的解决方法……]]></title> 
<author>jack &lt;xdy108@126.com&gt;</author>
<category><![CDATA[Unix/LinuxC技术]]></category>
<pubDate>Mon, 12 Sep 2011 11:07:06 +0000</pubDate> 
<guid>http://jackxiang.com/post//</guid> 
<description>
<![CDATA[ 
	rpm -qR cnginx-1.4.7-1.x86_64<br/>openssl-devel&nbsp;&nbsp;<br/>pcre-devel <br/>libpcre.so.0()(64bit)<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ......<br/><br/><br/>Linux中往往是这样子的，一对的，例如：<br/><textarea name="code" class="html" rows="15" cols="100">
libxslt-1.1.17-2.el5_2.2
libxslt-devel-1.1.17-2.el5_2.2
</textarea><br/>有一个真的包，也就是有so包，往往还有一个：libxslt-devel-1.1.17-2.el5_2.2包，它的作用就是把libxslt-1.1.17-2.el5_2.2的相关配置放到Linux默认编译能找得到的位置，如：<br/><textarea name="code" class="html" rows="15" cols="100">
configure:error:xslt-config not found. Please reinstall the libxslt &gt;= 1.1.0 distribution
</textarea><br/>这样的错误，说是找不到这个xslt-config这个文件，而你一看，libxslt-1.1.17-2.el5_2.2安装了，就是找不到，然后，你用命令：<br/><textarea name="code" class="html" rows="15" cols="100">
rpm -ql libxslt-1.1.17-2.el5_2.2&amp;#124;grep xslt-config 
</textarea><br/>发现xslt-config 不在这个包里面，而实际呢？<br/><textarea name="code" class="html" rows="15" cols="100">
rpm -ql libxslt-devel-1.1.17-2.el5_2.2&amp;#124;grep&nbsp;&nbsp;xslt-config
/usr/bin/xslt-config
</textarea><br/>在这个包里呢？所以要多关注：devel这样的rpm喔。<br/>扯远了一点儿，还是继续说吧，碰到这个问题大概可以用这个方法去解决（我碰到几个都是这样搞定的）：<br/><textarea name="code" class="html" rows="15" cols="100">
yum -y install libtool-l*
</textarea><br/>譬如：<br/><textarea name="code" class="html" rows="15" cols="100">
/usr/bin/ld: cannot find -lltdl
</textarea><br/>解决方法：<br/><textarea name="code" class="html" rows="15" cols="100">
yum -y install libtool-ltdl*
</textarea><br/>其实有可能是你自己的Mysql安装后没有把它放入到那个默认的lib目录中即可，如下：<br/>/usr/lib中去，如下：<br/><textarea name="code" class="html" rows="15" cols="100">
 ls /usr/local/webserver/mysql/lib/libmysqlclient.so
/usr/local/webserver/mysql/lib/libmysqlclient.so
cp /usr/local/webserver/mysql/lib/libmysqlclient.so /usr/lib/.
</textarea>
]]>
</description>
</item><item>
<link>http://jackxiang.com/post//#blogcomment</link>
<title><![CDATA[[评论] [个人原创]Linux中的rpm编译依赖问题及如何对rpm包查询其依赖其它rpm的命令，/usr/bin/ld: cannot find -l* 错误的解决方法……]]></title> 
<author> &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> 
<guid>http://jackxiang.com/post//#blogcomment</guid> 
<description>
<![CDATA[ 
	
]]>
</description>
</item>
</channel>
</rss>