windows ubuntu bash afdko 64bit build
For building the 64 bit Linux Python, use a 64 bit Linux VM system. Use the same steps as above, but the path to the AFDKOPythonBuild must be an absolute path. Also, you must first get the build-essentials and readline packages, with the commands: sudo apt-get install build-essential sudo apt-get install zlib1g-dev # gets you the zlib.h file and zlib library. sudo apt-get install libreadline-dev You must also edit the Modules/Setup.dist file, BEFORE running ./configure, to enable the readlines library by removing the comment at the start of the line: readline readline.c -lreadline -ltermcap # line 166 at the moment. After building the Python interpreter, copy the file '/lib/i386-linux-gnu/libz.so.1.2.3.4' to Python/lib/python2.7/lib-dynload/. Then cd there, and make a symbolic link named 'libz.so.1' to the libz.so.1.2.3. file.
https://raw.githubusercontent.com/adobe-type-tools/afdko/master/FDK/FDK%20Build%20Notes.txt