I downloaded it from https://download.pytorch.org/libtorch/cpu/libtorch-cxx11-abi-shared-with-deps-1.3.1%2Bcpu.zip 6
And my environment is :
gcc:7.5
Lubuntu:18.04
Python:3.7.4
PyTorch:1.3.1

CMakeLists.txt:
cmake_minimum_required(VERSION 3.10)
add_definitions(-std=c++11)
project(cpp_deploy)

set(OpenCV_DIR /home/dai/lib/opencv-2.4.9/build)
set(Torch_DIR /home/dai/lib/libtorch_cxx11/libtorch/share/cmake/Torch)
find_package(OpenCV REQUIRED)
find_package(Torch REQUIRED)

add_subdirectory(tools)
add_executable(cpp_deploy ocr.cpp)
target_link_libraries(cpp_deploy ${TORCH_LIBRARIES})
target_link_libraries(cpp_deploy ${OpenCV_LIBRARIES})
target_link_libraries(cpp_deploy -Wl,--no-as-needed tools)
target_compile_features(cpp_deploy PRIVATE cxx_range_for)