Hi, I would suggest you to check/update your shared libraries after compiling MapCache... You will find more info there : http://unix.stackexchange.com/questions/67781/use-shared-libraries-in-usr-local-lib
Cheers, Mathieu On Wed, Jan 14, 2015 at 2:12 AM, 刘小二 <[email protected]> wrote: > Hi, list: > > I had succeeded in compiling and installing the mapcache according to the > guide <http://mapserver.org/mapcache/install.html>, 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. > > > > > > > > > > > mapcache.conf > > <IfModule !mapcache_module> > LoadModule mapcache_module modules/mod_apreq2.so > </IfModule> > #<Directory /var/www/mapcache> > # Require all granted > #</Directory> > #MapCacheAlias /mapcache "/var/www/mapcache/mapcache.xml" > > > > > > > > > > > [root@localhost build]# systemctl status httpd.service -l > httpd.service - The Apache HTTP Server > Loaded: loaded (/usr/lib/systemd/system/httpd.service; disabled) > Active: failed (Result: exit-code) since 三 2015-01-14 08:19:05 CST; 7s > ago > Process: 29697 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, > status=0/SUCCESS) > Process: 29695 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND > (code=exited, status=1/FAILURE) > Main PID: 29695 (code=exited, status=1/FAILURE) > Status: "Total requests: 0; Current requests/sec: 0; Current traffic: > 0 B/sec" > > 1月 14 08:19:05 localhost.localdomain httpd[29695]: httpd: 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 > 1月 14 08:19:05 localhost.localdomain systemd[1]: httpd.service: main > process exited, code=exited, status=1/FAILURE > 1月 14 08:19:05 localhost.localdomain systemd[1]: Failed to start The > Apache HTTP Server. > 1月 14 08:19:05 localhost.localdomain systemd[1]: Unit httpd.service > entered failed state. > > > Any advice will be appreciated. > > > Regards, > > liuxiaoer > > _______________________________________________ > mapserver-users mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/mapserver-users >
_______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
