Those ".so"s are OS-supplied dynamic libraries, and I think there's no
way to link to them statically. Of course, the resulting executable
will only work on a sufficiently compatible variant of Linux.

Are you seeing a specific problem when moving the executable among
machines? If so, what are the different Linux distributions on each
end?

At Thu, 2 Apr 2020 01:51:54 -0700 (PDT), Tristram Oaten wrote:
> Hi friends.
> 
> raco exe makes dynamic executables, and raco distribute doesn't change that:
> 
> $ ldd ./tst
> linux-vdso.so.1 (0x00007ffc9ed46000)
> libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 
> (0x00007fbeb4c09000)
> libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fbeb4a18000)
> /lib64/ld-linux-x86-64.so.2 (0x00007fbeb4c67000)
> 
> On windows, it looks like one can --embed-dlls, which is kindof what I 
> want, but for all platforms.
> 
> I'd like to compile statically for ease of distribution and deployment. Is 
> this possible?

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/5e85d793.1c69fb81.915ca.3992SMTPIN_ADDED_MISSING%40gmr-mx.google.com.

Reply via email to