Closed soonhokong closed 10 years ago
I checked the shared libraries on which our OCaml binaries depend:
linux-vdso.so.1 => (0x00007fffb1dff000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fe83b7fc000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fe83b5f8000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fe83b237000)
/lib64/ld-linux-x86-64.so.2 (0x00007fe83bb18000)
I checked that those libraries are shipped with Ubuntu-12.04, Ubuntu-14.04, and Fedora 20. This is already good enough, and ready to distribute.
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1197.1.1)
Note that /usr/lib/libSystem.B.dylib
is a library shipped with OS X 10.9.
Wei, do you know how to make static Ocaml binaries using Oasis?