[Ur] -static not linking in some libraries

Adam Chlipala adamc at csail.mit.edu
Mon Mar 18 16:52:09 EDT 2013


On 03/18/2013 01:47 PM, Daniel Patterson wrote:
> I'm trying to put a cgi application on a shared host, and am getting
> shared library errors - particularly libcrypto. The server has
> libcrypto, but a different version than my development machine.
>
> Is there a way to _really_ link things statically? ie, include
> everything that it needs, so I can just drop the binary on hosts and
> have it work as long as they are the same platform/architecture?
>    

I've been a bit perplexed by GCC linking in the past; this isn't the 
first time the issue has come up.

Could you perhaps run 'urweb' with the '-debug' flag, look at the linker 
line that is printed, and let me know which changes are called for?  Thanks!



More information about the Ur mailing list