<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:"Comic Sans MS";
panose-1:3 15 7 2 3 3 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:blue;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-reply;
font-family:"Comic Sans MS";
color:blue;
font-weight:normal;
font-style:normal;
text-decoration:none none;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=blue>
<div class=Section1>
<p class=MsoNormal><font size=3 color=blue face="Comic Sans MS"><span
style='font-size:12.0pt;font-family:"Comic Sans MS";color:blue'>I’m not
sure I’ve got this done correctly as I went thru lots of iterations
removing packages and had to build geos and gdal to get recent versions. I’m
not sure all went correctly but I do have a working version of Mapscript now on
this server. I’ll just have to keep testing my application and see if it
crashes due to something missing.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 color=blue face="Comic Sans MS"><span
style='font-size:12.0pt;font-family:"Comic Sans MS";color:blue'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 color=blue face="Comic Sans MS"><span
style='font-size:12.0pt;font-family:"Comic Sans MS";color:blue'>Thanks again
for you help. <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 color=blue face="Comic Sans MS"><span
style='font-size:12.0pt;font-family:"Comic Sans MS";color:blue'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 color=blue face="Comic Sans MS"><span
style='font-size:12.0pt;font-family:"Comic Sans MS";color:blue'>Worth<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 color=blue face="Comic Sans MS"><span
style='font-size:12.0pt;font-family:"Comic Sans MS";color:blue'><o:p> </o:p></span></font></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=2 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> Cristiano
Sumariva [mailto:sumariva@gmail.com] <br>
<b><span style='font-weight:bold'>Sent:</span></b> Saturday, July 03, 2010
12:55 PM<br>
<b><span style='font-weight:bold'>To:</span></b> Worth Lutz<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [mapserver-users]
problem installing mapscript</span></font><o:p></o:p></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>If you switch to source
based you may need download and compile the sources dependencies too.<br>
And if you do this, you should remove the system binary packages from your
package manager that implement those libraries.<br>
<br>
For the PHP message you should try locate the file named libgeos-3.2.0:<br>
find / -iname libgeos-3.2.0<br>
then try create a symlink in your library dir to point to that file.<br>
If you do not find any geos file go to geos site, download a recent( do not
need be the latest ) version then compile it.<br>
After recompile mapserver again.<br>
Not forget to execute a make clean and run configure again so configure can
look for the new geos and prepare source code.<br>
<br>
Fot the libpq messages maybe that a wrong symlink is causing those warnings.<br>
You can try check if libpq.so.4 is a symlink.<br>
If symlink then remove it and make a new one to point to libpq.so.5<br>
ln -s libpq.so.5 pibpq.so.4<br>
<br>
I got some similar messages once when I compiled mapserver from source on a
gentoo distribution( all source based package system ).<br>
Hope it helps any.<o:p></o:p></span></font></p>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>2010/7/3 Worth Lutz <<a href="mailto:wal3@mindspring.com">wal3@mindspring.com</a>><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>This is my first time trying to install mapserver without using a
package.<br>
I have not found a RPM for mapserver 5.6.3 for RHEL5<br>
<br>
I downloaded mapserver and did the configure and make. After installing
all<br>
the missing libs I thought I had it done.<br>
<br>
After copying moving php_mapscript.so to the proper location, I find that<br>
upon restarting apache it does not load. Here is the message from the
error<br>
log.<br>
<br>
---snip-------<br>
PHP Warning: PHP Startup: Unable to load dynamic library<br>
'/usr/lib64/php/modules/php_mapscript.so' - <a href="http://libgeos-3.2.0.so"
target="_blank">libgeos-3.2.0.so</a>: cannot open<br>
shared object file: No such file or directory in Unknown on line 0<br>
---snip-------<br>
<br>
In an effort to correct this, I downloaded and installed libgeos and tried<br>
to install it. I also tried to install a rpm with libgeos 3.1.1.<br>
<br>
Mapscript still does not load and I find the following warnings when I run<br>
make.<br>
<br>
---snip-------<br>
/usr/bin/ld: warning: libpq.so.4, needed by /usr/lib64/libgdal.so, may<br>
conflict with libpq.so.5<br>
/usr/bin/ld: warning: libpq.so.4, needed by /usr/lib64/libgdal.so, may<br>
conflict with libpq.so.5<br>
/usr/bin/ld: warning: libpq.so.4, needed by /usr/lib64/libgdal.so, may<br>
conflict with libpq.so.5<br>
/usr/bin/ld: warning: libssl.so.4, needed by<br>
/opt/PostgreSQL/8.4/lib/libpq.so, not found (try using -rpath or<br>
-rpath-link)<br>
/usr/bin/ld: warning: libcrypto.so.4, needed by<br>
/opt/PostgreSQL/8.4/lib/libpq.so, not found (try using -rpath or<br>
-rpath-link)<br>
---snip-------<br>
<br>
I really have no idea what I am doing and wonder if I have totally messed up<br>
this system.<br>
<br>
Can someone point me in the right direction??<br>
<br>
Worth<br>
<br>
_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users"
target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><o:p></o:p></span></font></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
</div>
</body>
</html>