<!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 Dave,<br>
dear list,<br>
<br>
thanks for the reply.<br>
I called ldd against my mapserv binary as well as against the
php_mapscript.so and set the apache environment to include the
directories ldd gave back. Unfortunately no success - I still get the
same error message.<br>
<br>
I didn&acute;t find much about php_sprintf issues in other lists or in
google, so if there&acute;s any other hint, I&acute;d really appreciate it.<br>
<br>
Since there have been some articles concerning the Opteron topic on the
list lately, I&acute;d like to answer Dave&acute;s question on the list, too:<br>
In fact, it&acute;s a Sun Fire V20z, which is a 1U box with up to two
Opterons. It&acute;s by definition not one of the new Sun Galaxy boxes, but
as far as I could see, they are not too different. We&acute;re running a
bunch of intranet web services on a HP DL585 (which is a 4U box with up
to four Opterons) for more than a year now. The Sun box is employed for
development and testing purposes, mainly. Personally, I&acute;m more than
satisfied with the performance of both of them as well as with their
reliability.<br>
For details, feel free to contact me off list. I&acute;d be glad to share
what I&acute;ve learned so far.<br>
<br>
Thanks again for helping on my php_sprintf issue ;-)<br>
Chris<br>
<br>
</font></font><br>
David W. Banks schrieb:
<blockquote cite="mid200509201404.34420.dwbanks@napanet.net" type="cite">
  <blockquote type="cite">
    <pre wrap="">Don&acute;t know, if this is important: I&acute;m on Solaris 10 on AMD64.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
One of the newish sun opteron boxes? How's that working out? 

I'm just guessing but you're apache environment probably needs to have 
LD_LIBRARY_PATH set to include some extra directories. If you run ldd 
on your mapserver binary you'll be able to see where stuff is coming from
and adjust your apache ENV to fix things.

Good luck,
-Dave

On Monday 19 September 2005 11:55 pm, you wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Hi list,

I have a little problem running php_mapscript. My mapserver binary works
as desired, so I&acute;m positive about my compilation.
But when calling phpinfo_mapscript.phtml, my apache throws the following
error message:
ld.so.1: /opt/csw/apache2/sbin/httpd: fatal: relocation error: file
/usr/local/lib/php/extensions/php_mapscript.so: symbol php_sprintf:
referenced symbol not found

Don&acute;t know, if this is important: I&acute;m on Solaris 10 on AMD64.

I&acute;d appreciate any hint to solve this issue.

Thanks in advance and best regards,
Chris
    </pre>
  </blockquote>
  <pre wrap=""><!---->
  </pre>
</blockquote>
</body>
</html>