<div><br></div>I had the same result as Pranjal.  After building from the Mercurial repo and applying Pranjal's change to config.sml I am up and running.  Thanks very much for the assistance.<div><br></div><div>Steve<br>
<br><div class="gmail_quote">On Thu, Jan 5, 2012 at 7:51 PM, Pranjal Vachaspati <span dir="ltr"><<a href="mailto:pranjal@mit.edu">pranjal@mit.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
It still gives the following errors: <div><br clear="all">/usr/local/lib/urweb/../liburweb.so: undefined reference to `RAND_bytes'<div>/usr/local/lib/urweb/../liburweb.so: undefined reference to `DES_fcrypt'</div>
<div>

/usr/local/lib/urweb/../liburweb.so: undefined reference to `SHA256_Init'</div><div>/usr/local/lib/urweb/../liburweb.so: undefined reference to `SHA256_Final'</div><div>/usr/local/lib/urweb/../liburweb.so: undefined reference to `SHA256_Update'</div>
<div class="im">

<div>collect2: ld returned 1 exit status</div></div><div>make: *** [all] Error 1</div><div><br></div><div>But when I switch the order of -lssl and -lcrypto in config.sml it works.</div><span class="HOEnZb"><font color="#888888"><div>
<br></div><div>--</div>Pranjal Vachaspati</font></span><div><div class="h5"><br>


<br><br><div class="gmail_quote">On Thu, Jan 5, 2012 at 5:25 PM, Adam Chlipala <span dir="ltr"><<a href="mailto:adamc@impredicative.com" target="_blank">adamc@impredicative.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div>Pranjal Vachaspati wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I just upgraded my Ubuntu installation to 11.10 and had the same problem. The following argument order seems to work:<br>
<br>
gcc -Werror -pthread -L /usr/local/lib/ -lurweb_http -lurweb   webapp.o -lsqlite3 -lm -lcrypto -lssl -o output.exe<br>
<br>
I'm not sure how to make Ur/web use this order, though, nor am I sure why the old argument order doesn't work.<br>
</blockquote>
<br></div>
Thanks for the very actionable report! :)<br>
<br>
I've changed the compiler (in the public Mercurial repo) to use _almost_ the above argument order, on my Debian system.  The relative order of "-lcrypto" and "-lssl" is coming from a standard Autoconf macro, so I don't want to touch it.<br>



<br>
Steve and Pranjal, does this new version work for you?<div><div><br>
<br>
______________________________<u></u>_________________<br>
Ur mailing list<br>
<a href="mailto:Ur@impredicative.com" target="_blank">Ur@impredicative.com</a><br>
<a href="http://www.impredicative.com/cgi-bin/mailman/listinfo/ur" target="_blank">http://www.impredicative.com/<u></u>cgi-bin/mailman/listinfo/ur</a><br>
</div></div></blockquote></div><br></div></div></div>
<br>_______________________________________________<br>
Ur mailing list<br>
<a href="mailto:Ur@impredicative.com">Ur@impredicative.com</a><br>
<a href="http://www.impredicative.com/cgi-bin/mailman/listinfo/ur" target="_blank">http://www.impredicative.com/cgi-bin/mailman/listinfo/ur</a><br>
<br></blockquote></div><br></div>