<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">I may be mistaken here,<br>
      But when you compiled geos, gdal,and pgsql you specified the
      install path of the program.<br>
      the libraries will go where libraries are suppose to go eg
      '/usr/lib' '/usr/local/lib' etc...<br>
      so other programs can find them..<br>
      <br>
      <br>
       <br>
      <pre class="moz-signature" cols="72">-Jeff Lake
MichiganWxSystem.com
AllisonHouse.com
TheWeatherCenter.net
GRLevelXStuff.com</pre>
      On 11/16/2012 7:29, Alberto Asuero wrote:<br>
    </div>
    <blockquote
cite="mid:CAAU2HF+rmNdQ0dHc1pta7AskxQ1s5X_u=aycwtaDqASMdtwNSQ@mail.gmail.com"
      type="cite"><font color="#333333"><font><font
            face="arial,helvetica,sans-serif">What I've done is a
            wrapper with an export like that before:</font></font></font>
      <div><font color="#333333"><font><font
              face="arial,helvetica,sans-serif"><br>
            </font></font></font></div>
      <div><font color="#333333"><font><font
              face="arial,helvetica,sans-serif">export LD_LIBRARY_PATH=/</font></font></font>export
LD_LIBRARY_PATH=/usr/local/gis/postgresql-9.1.2/lib:/usr/local/gis/geos-3.3.2/lib:/usr/local/gis/proj-4.7.0/lib:/usr/local/gis/gdal-1.9.0/lib/</div>
      <div><br>
      </div>
      <div>How can I tell mapserver to do it automatically in mapserv
        executable itself? Is that possible?</div>
      <div><br>
      </div>
      <div><br>
      </div>
      <div><br>
      </div>
      <div><br>
      </div>
      <div class="gmail_extra"><br clear="all">
        <div>
          <div style="font-family:Helvetica,arial,sans-serif">
            <div style="font-size:18px;padding:20px 5px 10px 0px">
              <div style="color:rgb(130,182,0)"> Alberto Asuero</div>
              <div style="color:rgb(125,123,124)">Ingeniero Informático<br>
              </div>
            </div>
            <div
              style="color:rgb(125,123,124);font-size:12px;padding:10px
              5px 20px 0px">
              <div style="color:rgb(125,123,124);text-decoration:none">
                <span></span><a moz-do-not-send="true"
                  href="mailto:alberto.asuero@gstgis.com"
                  target="_blank">alberto.asuero@gstgis.com</a></div>
              <div> 654 190 888 </div>
            </div>
            <div
              style="background-color:rgb(245,245,245);color:rgb(125,123,124);padding:15px
              0px 15px
              15px;font-size:12px;border-width:1px;border-style:dotted
              none;border-color:rgb(209,208,208);overflow:hidden;width:98%">
              <div style="min-height:50px">
                <div style="width:400px;float:left;text-decoration:none">
                  <div
style="float:left;width:120px;color:rgb(125,123,124);text-decoration:none">
                    <div style="float:left;width:80px;padding-top:3px">
                      Rodio 35<br>
                      41007 Sevilla<br>
                      Spain </div>
                    <div style="float:left;padding-top:16px"> <br>
                    </div>
                  </div>
                  <div
                    style="float:left;width:150px;padding-top:17px;color:rgb(125,123,124)">
                    T  +34  954 437 818 <br>
                    F  +34  955 110 441 </div>
                  <div
                    style="width:130px;padding-top:17px;float:left;text-decoration:none">
                    <div
                      style="color:rgb(125,123,124);text-decoration:none">
                      Visita nuestra web </div>
                    <a moz-do-not-send="true"
                      href="http://www.gstgis.com/"
                      style="text-decoration:none" target="_blank">
                      <div style="color:rgb(130,182,0)"> <b>www.gstgis.com</b>
                      </div>
                    </a> </div>
                </div>
                <div
                  style="float:right;padding-right:10px;margin-left:40px;text-align:right">
                  <img moz-do-not-send="true"
                    src="http://gstgis.com/firma/logo.png"> </div>
              </div>
            </div>
          </div>
        </div>
        <br>
        <br>
        <br>
        <div class="gmail_quote">On Fri, Nov 16, 2012 at 1:11 PM,
          Alberto Asuero <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:alasarr@gmail.com" target="_blank">alasarr@gmail.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <font color="#333333"><font><font
                  face="arial,helvetica,sans-serif">I've compiled
                  mapserver 5.6.7 with </font></font></font><span
              style="color:rgb(51,51,51);font-family:arial,helvetica,sans-serif">a
              custom version of geos, postgis, gdal and proj4.</span><font
              color="#333333"><font><font
                  face="arial,helvetica,sans-serif"> </font></font></font>
            <div>
              <font color="#333333"><font><font
                    face="arial,helvetica,sans-serif"><br>
                  </font></font></font></div>
            <div><font color="#333333"><font><font
                    face="arial,helvetica,sans-serif">Here is the
                    configure command:</font></font></font>
              <div>
                <div><font color="#333333"><font><font
                        face="arial,helvetica,sans-serif"><br>
                      </font></font></font></div>
                <div><font><font color="#666666"
                      face="arial,helvetica,sans-serif"><i style="">./configure
                                 
                        --prefix=/usr/local/gis/mapserver-5.6.7        
                        --with-pdf            --with-freetype      
                        --with-agg            --with-eppl          
                        --with-proj=/usr/local/gis/proj-4.7.0          
                        --with-threads        --with-sde          
                         --with-geos=/usr/local/gis/geos-3.2.2/bin/geos-config
                                 
                        --with-ogr=/usr/local/gis/gdal-1.9.2/bin/gdal-config
                                 
                        --with-gdal=/usr/local/gis/gdal-1.9.0/bin/gdal-config
                                  --with-tiff          
                        --with-postgis=/usr/local/gis/postgresql-9.1.2/bin/pg_config
                               --with-wfs            --with-wcs        
                           --with-wmsclient      --with-wfsclient    
                         --with-sos            --with-fribidi-config
                        --with-gd</i></font></font></div>
                <div><font color="#333333"><font><font
                        face="arial,helvetica,sans-serif"><br>
                      </font></font></font></div>
                <div><font color="#333333"><font><font
                        face="arial,helvetica,sans-serif">Everything
                        works fine but when I do:</font></font></font></div>
                <div><font color="#333333"><font><font
                        face="arial,helvetica,sans-serif"><br>
                      </font></font></font></div>
                <div><font color="#333333"><font><font
                        face="arial,helvetica,sans-serif">"<i>ldd
                          mapserv</i>" it says:</font></font></font></div>
                <div><font color="#333333"><font><font
                        face="arial,helvetica,sans-serif">...</font></font></font></div>
                <div><font><font face="arial,helvetica,sans-serif">
                      <div><i><font color="#666666">libproj.so.0 =>
                            /usr/lib/libproj.so.0 (0xb7504000)</font></i></div>
                      <div><i><font color="#666666">libgdal.so.1 =>
                            not found</font></i></div>
                      <div>
                        <div><i><font color="#666666">libgeos_c.so.1
                              => /usr/lib/libgeos_c.so.1 (0xb74ec000)</font></i></div>
                        <div><i><font color="#666666">libpq.so.5 =>
                              /usr/lib/libpq.so.5</font></i></div>
                      </div>
                      <div style="color:rgb(51,51,51)">...</div>
                      <div style="color:rgb(51,51,51)"><br>
                      </div>
                      <div style="color:rgb(51,51,51)">Why these
                        libraries don't use the path specified in the
                        configure command. it'd be make senses to me if
                        ldd output looks like:</div>
                      <div style="color:rgb(51,51,51)"><br>
                      </div>
                      <div style="color:rgb(51,51,51)"> ...</div>
                    </font></font>
                  <div><font><font face="arial,helvetica,sans-serif">
                        <div><i><font color="#666666">libproj.so.0
                              => /usr/local/gis/proj-4.7.0/lib/libproj.so.0
                              (0xb7504000)</font></i></div>
                        <div><i><font color="#666666">libgdal.so.1 =>
                              not found</font></i></div>
                        <div>
                          <div><i><font color="#666666">libgeos_c.so.1
                                => /</font></i><i
                              style="color:rgb(102,102,102)">usr/local/gis/geos-3.2.2</i><i><font
                                color="#666666">/lib/libgeos_c.so.1
                                (0xb74ec000)</font></i></div>
                          <div><i><font color="#666666">libpq.so.5 =>
                                /usr/lib/libpq.so.5</font></i></div>
                        </div>
                        <div style="color:rgb(51,51,51)">...</div>
                      </font></font></div>
                </div>
                <div><font color="#333333"><font><font
                        face="arial,helvetica,sans-serif"><br>
                      </font></font></font></div>
                <div><font color="#333333"><font><font
                        face="arial,helvetica,sans-serif">What's wrong
                        here?</font></font></font></div>
                <div><font color="#333333"><font><font
                        face="arial,helvetica,sans-serif"><br>
                      </font></font></font></div>
                <div><font color="#333333"><font><font
                        face="arial,helvetica,sans-serif">Am I forced to
                        do symbol links or set the custom libraries in
                        LD_PATH?</font></font></font></div>
                <div><font color="#333333"><font><font
                        face="arial,helvetica,sans-serif"><br>
                      </font></font></font></div>
                <div><font color="#333333"><font><font
                        face="arial,helvetica,sans-serif"><br>
                      </font></font></font></div>
                <div><font color="#333333"><font><font
                        face="arial,helvetica,sans-serif">Thanks!</font></font></font><br
                    clear="all">
                  <div>
                    <div style="font-family:Helvetica,arial,sans-serif">
                      <div style="font-size:18px;padding:20px 5px 10px
                        0px">
                        <div style="color:rgb(130,182,0)"> Alberto
                          Asuero</div>
                        <div style="color:rgb(125,123,124)">Ingeniero
                          Informático<br>
                        </div>
                      </div>
                      <div
                        style="color:rgb(125,123,124);font-size:12px;padding:10px
                        5px 20px 0px">
                        <div
                          style="color:rgb(125,123,124);text-decoration:none">
                          <span></span><a moz-do-not-send="true"
                            href="mailto:alberto.asuero@gstgis.com"
                            target="_blank">alberto.asuero@gstgis.com</a></div>
                        <div> <a moz-do-not-send="true"
                            href="tel:654%20190%20888"
                            value="+34654190888" target="_blank">654 190
                            888</a> </div>
                      </div>
                      <div
                        style="background-color:rgb(245,245,245);color:rgb(125,123,124);padding:15px
                        0px 15px
                        15px;font-size:12px;border-width:1px;border-style:dotted
none;border-color:rgb(209,208,208);overflow:hidden;width:98%">
                        <div style="min-height:50px">
                          <div
                            style="width:400px;float:left;text-decoration:none">
                            <div
style="float:left;width:120px;color:rgb(125,123,124);text-decoration:none">
                              <div
                                style="float:left;width:80px;padding-top:3px">
                                Rodio 35<br>
                                41007 Sevilla<br>
                                Spain </div>
                              <div style="float:left;padding-top:16px">
                                <br>
                              </div>
                            </div>
                            <div
                              style="float:left;width:150px;padding-top:17px;color:rgb(125,123,124)">
                              T  <a moz-do-not-send="true"
                                href="tel:%2B34%C2%A0%C2%A0954%20437%20818"
                                value="+34954437818" target="_blank">+34  954
                                437 818</a> <br>
                              F  <a moz-do-not-send="true"
                                href="tel:%2B34%C2%A0%C2%A0955%20110%20441"
                                value="+34955110441" target="_blank">+34  955
                                110 441</a> </div>
                            <div
                              style="width:130px;padding-top:17px;float:left;text-decoration:none">
                              <div
                                style="color:rgb(125,123,124);text-decoration:none">
                                Visita nuestra web </div>
                              <a moz-do-not-send="true"
                                href="http://www.gstgis.com/"
                                style="text-decoration:none"
                                target="_blank">
                                <div style="color:rgb(130,182,0)"> <b>www.gstgis.com</b>
                                </div>
                              </a> </div>
                          </div>
                          <div
                            style="float:right;padding-right:10px;margin-left:40px;text-align:right">
                            <img moz-do-not-send="true"
                              src="http://gstgis.com/firma/logo.png"> </div>
                        </div>
                      </div>
                    </div>
                  </div>
                  <br>
                </div>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
mapserver-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapserver-users">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>