<div dir="ltr">I&#39;m trying to build nginx from source on solaris 10 with openssl and pcre support, the problem now when executing the configure script it shows that it can not found either openssl or pcre on the the system although they are already there. I&#39;ve tried several options like --with-cc-opt=&quot;-I/usr/local/ssl/include/openssl&quot; --with-ld-option=&quot;-L/usr/local/ssl/lib&quot; and the same also with pcre with no luck. <br>
<br>also when tried to compile nginx in 64 bit mode, it compiles fine but when starting it, the following error was shown in terminal :<br><br><blockquote><span class="diff-content">ld.so.1: nginx: fatal: hardware capability unsupported: 0x2000 </span><br>
</blockquote><br>after surfing google i got this link <br><br><a href="http://gitorious.org/~antono/nginx/antono-bash-completion/commit/470dd691ce72ebc43e902956e23a1ea575338a98">http://gitorious.org/~antono/nginx/antono-bash-completion/commit/470dd691ce72ebc43e902956e23a1ea575338a98</a><br>
<br>the last lines were interesting enough:<br><blockquote><div style="text-align: left;"><div style="text-align: left;"><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">
 the &quot;rep; nop&quot; is used instead of &quot;pause&quot; to avoid the &quot;[ PAUSE ]&quot; hardware capability added by linker because Solaris/i386 does not know about it, so i edited the corresponding file src/os/unix/<a href="http://ngx_sunpro_amd64.il">ngx_sunpro_amd64.il</a> file and changed this line at the end of the file :<span class="diff-content"><span class="idiff"></span></span><br>
</blockquote></div></div></blockquote><div style="text-align: left;"><div style="text-align: left;">pause  to rep; nop and and the problem solved <br><br>Now is there any particular way to force nginx to work with the pre-bult packages ? i&#39;ve done almost anything compiled openssl &amp; pcre in different paths , made symlinks but with no success.<br>
<br><br><br><br></div></div><blockquote><div style="text-align: left;"><span class="diff-content"><span class="idiff"></span></span></div></blockquote></div>