GLIBC linker errors when linking against libtorch on Ubuntu 18.04

@tiger17 Could you provide us the output of ldd --version and g++ --version? And did you download the old-ABI version or new-ABI version of libtorch?