Hello,
I am trying to compile MapServer 6.4.1 on CENTOS (RHEL Linux) in as a
stand-alone static executable. At
http://mapserver.org/installation/unix.html it says "If you want to also
build a static version of the library, the BUILD_STATIC and
LINK_STATIC_LIBMAPSERVER options can be used," therefore I have included
those parameters. However, after I complete the MAKE and MAKE INSTALL
steps the resulting mapserv executable doesn't seem to be static. To
test this I am doing a /ldd mapserv /which list all of the dependencies,
where I would expect none. If anyone could provide advice that would be
great. Here is my CMAKE command:
cmake -DCMAKE_INSTALL_PREFIX="/usr" \
-DCMAKE_PREFIX_PATH="/usr/pgsql-9.3" \
-DWITH_CLIENT_WFS=ON \
-DWITH_CLIENT_WMS=ON \
-BUILD_STATIC=ON \
-LINK_STATIC_LIBMAPSERVER=ON \
-DWITH_CAIRO=0 .. >../configure.out.txt
Thanks,
Derek
_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users