-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Description
Hi John, does your build system easily permit one to make a completely static build of pandoc? Currently I use this build invocation: http://aur.archlinux.org/packages/pandoc/pandoc/PKGBUILD (ignore the metadata, all that's important here is the build() function). And I think that does eliminate any dependencies on ghc or haskell libraries. Running ldd pandoc
gives:
linux-vdso.so.1 => (0x...)
libz.so.1 => /usr/lib/libz.so.1 (0x...)
librt.so.1 => /lib/librt.so.1 (0x...)
libutil.so.1 => /lib/libutil.so.1 (0x...)
libdl.so.2 => /lib/libdl.so.2 (0x...)
libgmp.so.10 => /usr/lib/libgmp.so.10 (0x...)
libm.so.6 => /lib/libm.so.6 (0x...)
libc.so.6 => /lib/libc.so.6 (0x...)
libpthread.so.0 => /lib/libpthread.so.0 (0x...)
/lib/ld-linux-x86-64.so.2 (0x...)
But I need to build pandoc on my linux system (which has ghc and all the necessary libs) and deploy it on an unattended mac server, where it's too much work to get the necessary build chain set up and keep it maintained. If it's not too hard to make a fully static build of pandoc, that might be the easiest solution.