<!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">Hello Steve,<br>
hi list,<br>
<br>
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.<br>
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'<br>
export LD_OPTIONS<br>
<br>
In your case, find the libclntsh.so.9.0 and make the LD_OPTIONS point
to it.<br>
<br>
For me, that works perfectly. After recompiling with this option set,
calling mapserver via web gives you the desired output.<br>
<br>
Hope that helps.<br>
<br>
Regards,<br>
Chris<br>
</font></font><br>
Steve Benzo schrieb:
<blockquote
 cite="mid20050902210555.39134.qmail@web35314.mail.mud.yahoo.com"
 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 mapserver
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 try
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: fatal:
libclntsh.so.9.0: open failed: No such file or
directory

PS Thanks a lot for your help on this!


                
____________________________________________________
Start your day with Yahoo! - make it your home page 
<a class="moz-txt-link-freetext" href="http://www.yahoo.com/r/hs">http://www.yahoo.com/r/hs</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>