<!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">
<font size="-1"><font face="Helvetica, Arial, sans-serif">Hi Steve,<br>
<br>
sorry for not answering earlier.<br>
</font></font><font size="-1"><font face="Helvetica, Arial, sans-serif">My
system&acute;s running Solaris 10. I also used the --with-wmsclient option to
configure, but </font></font><font size="-1"><font
 face="Helvetica, Arial, sans-serif">I actually used gmake to build my
mapserver binary, which worked very well then.<br>
The error, you&acute;re mentioning seems to be in context with php_mapscript.
I found the following, which might be helpful:<br>
<a class="moz-txt-link-freetext" href="http://www.filibeto.org/pipermail/solaris-users/2004-March/000660.html">http://www.filibeto.org/pipermail/solaris-users/2004-March/000660.html</a><br>
<br>
Regards,<br>
Chris<br>
</font></font><br>
Steve Benzo schrieb:
<blockquote
 cite="mid20050906052443.1956.qmail@web35302.mail.mud.yahoo.com"
 type="cite">
  <pre wrap="">Christian,

Danke, for that, enabling LD_OPTIONS with the /usr/lib
and /usr/local/lib solved a lot of the issues, I'm
able to make (as opposed to gmake) mapserver with a
few options now.

There's one final issue I'm confronting. When I enable
--with-wmsclient, I get this error: 

ld: fatal: relocations remain against allocatable but
non-writable sections
collect2: ld returned 1 exit status
make[1]: *** [php_mapscript.so] error 1

above that are a bunch of calls for libcrypto.a,
libssl.a, and some others i think...

Any suggestions? This is on Solaris 9.

--- Christian Schaffer
<a class="moz-txt-link-rfc2396E" href="mailto:christian.schaffer@muenchen.de">&lt;christian.schaffer@muenchen.de&gt;</a> wrote:

  </pre>
  <blockquote type="cite">
    <pre wrap="">Hello Steve,
hi list,

I experienced a pretty similar issue trying to
compile 4.6.0 on Solaris 
10 a few weeks ago. Joshua Buysse gave me the
relevant hint to avoid the 
problem: Try to set LD_OPTIONS in your environment,
e.g.
LD_OPTIONS='-R/opt/csw/lib -L/opt/csw/lib
-R/opt/csw/postgresql/lib 
-L/opt/csw/postgresql/lib -R/usr/local/lib
-L/usr/local/lib 
-R/opt/oracle/lib -L/opt/oracle/lib'
export LD_OPTIONS

In your case, find the libclntsh.so.9.0 and make the
LD_OPTIONS point to it.

For me, that works perfectly. After recompiling with
this option set, 
calling mapserver via web gives you the desired
output.

Hope that helps.

Regards,
Chris

Steve Benzo schrieb:

    </pre>
    <blockquote type="cite">
      <pre wrap="">Daniel,

 

      </pre>
      <blockquote type="cite">
        <pre wrap="">That's possible if you link with libs that are not
in your default lib 
path settings.

   

        </pre>
      </blockquote>
      <pre wrap="">I set the ldlibpath to the libs that mapserver
requires before i compile, but it doesn't seem to
'remember' those when it comes time to run
      </pre>
    </blockquote>
    <pre wrap="">mapserver
    </pre>
    <blockquote type="cite">
      <pre wrap="">later? Is there a way to hard code those values at
compile time?

 

      </pre>
      <blockquote type="cite">
        <pre wrap="">Did you look in your Apache error_log to look for
hints? It may be that 
your Apache config is also missing the
ld_library_path settings, that 
would explain the problem, and you would see
something to that effect in 
the error_log.

Daniel
   

        </pre>
      </blockquote>
      <pre wrap="">The error log shows the same errors I get when I
      </pre>
    </blockquote>
    <pre wrap="">try
    </pre>
    <blockquote type="cite">
      <pre wrap="">to run mapserver without those libs defined:

[Fri Sep 02 16:53:03 2005] [error] [client xxx]
Premature end of script headers: mapserv_new

[Fri Sep 02 16:53:03 2005] [error] [client xxx]
ld.so.1: /usr/local/apache/cgi-bin/mapserv_new:
      </pre>
    </blockquote>
    <pre wrap="">fatal:
    </pre>
    <blockquote type="cite">
      <pre wrap="">libclntsh.so.9.0: open failed: No such file or
directory

PS Thanks a lot for your help on this!


                
      </pre>
    </blockquote>
    <pre wrap="">____________________________________________________
    </pre>
    <blockquote type="cite">
      <pre wrap="">Start your day with Yahoo! - make it your home page
      </pre>
    </blockquote>
    <blockquote type="cite">
      <pre wrap=""><a class="moz-txt-link-freetext" href="http://www.yahoo.com/r/hs">http://www.yahoo.com/r/hs</a> 


 

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

    </pre>
  </blockquote>
  <pre wrap=""><!---->______________________________________________________________
  </pre>
  <blockquote type="cite">
    <pre wrap="">                        Landeshauptstadt M&uuml;nchen

                        Referat f&uuml;r Gesundheit und
Umwelt
                        Informationsverarbeitung
Christian Schaffer
                        Bayerstra&szlig;e 28a                                
                        80335 M&uuml;nchen
                                                
                        Tel:        089 - 233 - 4 76 67
                        Fax:        089 - 233 - 4 76 62                                
                

                        <a class="moz-txt-link-freetext" href="http://www.muenchen.de">http://www.muenchen.de</a>
                       
<a class="moz-txt-link-abbreviated" href="mailto:christian.schaffer@muenchen.de">christian.schaffer@muenchen.de</a>

    </pre>
  </blockquote>
  <pre wrap=""><!---->______________________________________________________________
  </pre>
  <blockquote type="cite">
    <pre wrap="">
    </pre>
  </blockquote>
  <pre wrap=""><!---->

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
<a class="moz-txt-link-freetext" href="http://mail.yahoo.com">http://mail.yahoo.com</a> 

  </pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">-- 
______________________________________________________________

                        Landeshauptstadt M&uuml;nchen

                        Referat f&uuml;r Gesundheit und Umwelt
                        Informationsverarbeitung
Christian Schaffer
                        Bayerstra&szlig;e 28a                                
                        80335 M&uuml;nchen
                                                
                        Tel:        089 - 233 - 4 76 67
                        Fax:        089 - 233 - 4 76 62                                                        

                        <a class="moz-txt-link-freetext" href="http://www.muenchen.de">http://www.muenchen.de</a>
                        <a class="moz-txt-link-abbreviated" href="mailto:christian.schaffer@muenchen.de">christian.schaffer@muenchen.de</a>
______________________________________________________________</pre>
</body>
</html>