<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
I tried following the instructions in <br>
<pre wrap=""><a class="moz-txt-link-freetext" href="http://www.reprojected.com/geoblog/how-tos/gis-on-a-shared-hosting-environme">http://www.reprojected.com/geoblog/how-tos/gis-on-a-shared-hosting-environme</a>
nt-the-magic-of-not-having-root/</pre>
I got as far as the PostgreSQL install and then I ran into a problem
here:<br>
setenv LDFLAGS -lstdc++<br>
-bash: setenv: command not found<br>
<br>
I am trying this option of the 2 Aaron suggested because the web server
I am on has an older version of gd than what is&nbsp; required for
mapserver, and I don't know how to mesh that with an FWTools
installation.<br>
Tara<br>
<br>
Aaron Racicot wrote:
<blockquote
 cite="mid:20070829071049.190BBB8609@spunkymail-a11.g.dreamhost.com"
 type="cite">
  <pre wrap="">Tara,
Coming to this conversation late, so I am not sure what you have tried.  I
have had success on a shared host two ways:

1) Install FWTools as it contains Mapserver and GDAL and is self contained.
<a class="moz-txt-link-freetext" href="http://fwtools.maptools.org/">http://fwtools.maptools.org/</a>

2) I have played with static library paths via RPATH when compiling from
source with success in the past.  I even documented an install on DreamHost
(pretty much the cheapest of the cheap) that worked.
<a class="moz-txt-link-freetext" href="http://www.reprojected.com/geoblog/how-tos/gis-on-a-shared-hosting-environme">http://www.reprojected.com/geoblog/how-tos/gis-on-a-shared-hosting-environme</a>
nt-the-magic-of-not-having-root/

Hope these help...

A

+----------------------------------------+
 Aaron Racicot - GIS Programmer   
 360.221.2441 - <a class="moz-txt-link-abbreviated" href="mailto:aaronr@z-pulley.com">aaronr@z-pulley.com</a>          
+----------------------------------------+
 z - p u l l e y                        
 pobox 1614
 langley wa 98260
 <a class="moz-txt-link-abbreviated" href="http://www.reprojected.com">www.reprojected.com</a>                       
+----------------------------------------+

-----Original Message-----
From: UMN MapServer Users List [<a class="moz-txt-link-freetext" href="mailto:MAPSERVER-USERS@LISTS.UMN.EDU">mailto:MAPSERVER-USERS@LISTS.UMN.EDU</a>] On
Behalf Of Tara Athan
Sent: Tuesday, August 28, 2007 10:09 PM
To: <a class="moz-txt-link-abbreviated" href="mailto:MAPSERVER-USERS@LISTS.UMN.EDU">MAPSERVER-USERS@LISTS.UMN.EDU</a>
Subject: [UMN_MAPSERVER-USERS] hosted website installation

Additional information that may or may not be relevant:  my ISP responded as
follows

Dear Customer,
There is no server side limitation to paths.  You may specify custom paths
to any library that you have need of using.  The only limitation would be on
the library itself (whether it could be accessed from an alternate location)
and the program that needs to access the library.

So basically they are saying it must be either gdal's fault or MapServer's
fault that mapserver cannot access the gdal library from an alternate
location.

Anyone care to weigh in on this?

I guess I am giving up on the installation of Mapserver on the hosted 
website and will have to get some help from a GIS hosting service (or 
set up my own web server).  But it seems like this should have been doable.

Anyway, thanks for the help- I certainly learned a lot in the attempt...

Tara



Tara Athan wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">I tried this- no change.
I tried getting support from my ISP, but they are unwilling to help.
(mapserver?  we don't know anything about that- ask the support forum)

Has anyone else had success or problems with bringing up MapServer on 
a hosted website?

Tara

Gregor Mosheh wrote:
    </pre>
    <blockquote type="cite">
      <pre wrap="">Tara Athan wrote:
      </pre>
      <blockquote type="cite">
        <pre wrap="">I found libgdal.so.1 in /home/alttwois/local/lib
On running ./mapserver -v, I get the same error message as before
        </pre>
      </blockquote>
      <blockquote type="cite">
        <pre wrap="">/home/alttwois/public_html/cgi-bin/mapserv.real: error while loading 
shared libraries: libgdal.so.1: cannot open shared object file: No 
such file or directory
        </pre>
      </blockquote>
      <pre wrap="">Well that's bizarre. How about this?

LD_LIBRARY_PATH="/home/alttwois/local/lib" 
/home/alttwois/public_html/cgi-bin/mapserv.real -v

That's all one line. That sets the linker path on the command line, 
then runs the command.


      </pre>
    </blockquote>
    <pre wrap="">
    </pre>
  </blockquote>
  <pre wrap=""><!---->

  </pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">-- 
My e-mail delivery has been unreliable lately, so I am asking for
return receipts from all my email messages.
OK'ing the return receipt lets me know that my message was delivered.
Thank you.

Tara Athan
Principal, Alternatives to Invasive Species
<a class="moz-txt-link-abbreviated" href="mailto:tara_athan@alt2is.com">tara_athan@alt2is.com</a>
707-485-1198
PO Box 415
Redwood Valley, CA 95470</pre>
</body>
</html>