<div dir="ltr">On Mon, Aug 17, 2015 at 10:01 PM, Adam Chlipala <span dir="ltr"><<a href="mailto:adamc@csail.mit.edu" target="_blank">adamc@csail.mit.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div bgcolor="#FFFFFF" text="#000000"><span class=""><br></span>Yes, it's easy to do.  You don't need urweb.js.  All that's necessary is to install the proper .so shared libraries.  You can use standard UNIX tools to see which shared libraries an executable depends on.<br></div></blockquote><div><br></div><div><font face="monospace, monospace">Hmm... I just tried copying /usr/local/lib/liburweb_*, by using `tar` (since it preserves symlinks etc.) as recommended here:<br></font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">  <a href="http://stackoverflow.com/questions/10094604/how-do-i-copy-symbolic-links-between-servers">http://stackoverflow.com/questions/10094604/how-do-i-copy-symbolic-links-between-servers</a></font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">(Actually I didn't pipe it via stdout - I simply saved a tar, uploaded using sftp, and untar'ed to rebuild the directory /usr/local/lib/ - since this way was simpler and safer.)</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">Now I've reattempted executing ./myProgram.exe - and I'm getting the same error message as before:</font></div><div><font face="monospace, monospace"><br></font></div><div><span style="font-family:monospace,monospace">./myProgram.exe: </span><font face="monospace, monospace">error while loading shared libraries: liburweb_http.so.0: cannot open shared object file: No such file or directory</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">Maybe there's some additional config or environment settings that need to be done (which normally get done when building & installing the compiler), in order to tell the executable where to find the shared libraries?</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">###</font></div></div>