<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello, <br>
<br>
I am trying to compile MapServer 6.4.1 on CENTOS (RHEL Linux) in as
a stand-alone static executable. At
<a class="moz-txt-link-freetext" href="http://mapserver.org/installation/unix.html">http://mapserver.org/installation/unix.html</a> it says "<span
style="color: rgb(62, 67, 73); font-family: Arial, sans-serif;
font-size: 12.7272720336914px; font-style: normal; font-variant:
normal; font-weight: normal; letter-spacing: normal; line-height:
19.2000007629395px; orphans: auto; text-align: left; text-indent:
0px; text-transform: none; white-space: normal; widows: auto;
word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline
!important; float: none; background-color: rgb(255, 255, 255);">If
you want to also build a static version of the library, the
BUILD_STATIC and LINK_STATIC_LIBMAPSERVER options can be used,</span>"
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 <i>ldd
mapserv </i>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:<br>
<br>
<br>
<br>
cmake -DCMAKE_INSTALL_PREFIX="/usr" \<br>
-DCMAKE_PREFIX_PATH="/usr/pgsql-9.3" \<br>
-DWITH_CLIENT_WFS=ON \<br>
-DWITH_CLIENT_WMS=ON \<br>
-BUILD_STATIC=ON \<br>
-LINK_STATIC_LIBMAPSERVER=ON \<br>
-DWITH_CAIRO=0 .. >../configure.out.txt<br>
<pre class="moz-signature" cols="72">Thanks,
Derek
</pre>
</body>
</html>