<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:微软雅黑
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi, list:<br><div><div dir="ltr"><br>I had succeeded in  compiling and installing the mapcache according to the <a href="http://mapserver.org/mapcache/install.html" target="_blank">guide</a>, but there was something wrong with integrating mod_mapcache.so to apache httpd. The following is my logs about compiling and installing and httpd conf file.<br><div><div dir="ltr"><br><div id="ecxinlineImage0" style="display:inline-block;">    <span> </span>    <div class="ecxinlineImage" style="display:inline-block;" unselectable="on"><br></div>    <span> </span></div><br><div id="ecxinlineImage1" style="display:inline-block;">    <span> </span>    <div class="ecxinlineImage" style="display:inline-block;" unselectable="on"><br></div>    <span> </span></div><span></span><br><div id="ecxinlineImage5" style="display:inline-block;">    <span> </span>    <div class="ecxinlineImage" style="display:inline-block;">mapcache.conf<br><br><IfModule !mapcache_module><br>  LoadModule mapcache_module modules/mod_apreq2.so<br></IfModule><br>#<Directory /var/www/mapcache><br>#  Require all granted<br>#</Directory><br>#MapCacheAlias /mapcache "/var/www/mapcache/mapcache.xml"<br></div>     <span><br></span></div><div id="ecxinlineImage2" style="display:inline-block;">    <span> </span>    <div class="ecxinlineImage" style="display:inline-block;" unselectable="on"><br></div>    <span> </span></div><br><div id="ecxinlineImage3" style="display:inline-block;">    <span> </span>    <div class="ecxinlineImage" style="display:inline-block;" unselectable="on"><br></div>    <span> </span></div><br><div id="ecxinlineImage4" style="display:inline-block;">    <span> </span>    <div class="ecxinlineImage" style="display:inline-block;" unselectable="on">[root@localhost build]# systemctl status httpd.service -l<br>httpd.service - The Apache HTTP Server<br>   Loaded: loaded (/usr/lib/systemd/system/httpd.service; disabled)<br>   Active: failed (Result: exit-code) since 三 2015-01-14 08:19:05 CST; 7s ago<br>  Process: 29697 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=0/SUCCESS)<br>  Process: 29695 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)<br> Main PID: 29695 (code=exited, status=1/FAILURE)<br>   Status: "Total requests: 0; Current requests/sec: 0; Current traffic:   0 B/sec"<br><br>1月 14 08:19:05 localhost.localdomain httpd[29695]: httpd: <font style="" color="#D24726">Syntax error on line 56 of /etc/httpd/conf/httpd.conf: Syntax error on line 6 of /etc/httpd/conf.modules.d/10-mp-.conf: Cannot load modules/mod_mapcache.so into server: libmapcache.so.1: cannot open shared object file: No such file or directory</font><br>1月 14 08:19:05 localhost.localdomain systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE<br>1月 14 08:19:05 localhost.localdomain systemd[1]: Failed to start The Apache HTTP Server.<br>1月 14 08:19:05 localhost.localdomain systemd[1]: Unit httpd.service entered failed state.<br></div><span> </span><br></div><br>                                    <div class="ecxrmTopSpacer ecxrmTop">                          <div class="ecxrmButtons">                <span class="ecxrmPrev"><img src="https://bay179.mail.live.com/ol/clear.gif" class="ecxi_rm_p_d"></span><span class="ecxrmNext"><img src="https://bay179.mail.live.com/ol/clear.gif" class="ecxi_rm_n"></span><span class="ecxrmFull "><img src="https://bay179.mail.live.com/ol/clear.gif" class="ecxi_r_fv"></span><span class="ecxrmClose "><img src="https://bay179.mail.live.com/ol/clear.gif" class="ecxg_close"></span>                </div>  Any advice will be appreciated. <br></div><pre> <br>Regards,</pre>liuxiaoer<br>                                     </div></div>                                        </div></div>                                        </div></body>
</html>