[Solved] cmake: symbol lookup error: cmake: undefined symbol: _ZN4Json5ValueC1ERKSs

When Linux server cross compiles opencv, cmake reports an error

cmake: symbol lookup error: cmake: undefined symbol: _ZN4Json5ValueC1ERKSs

Version information:
opencv is 4.5
cmake uses 3.4

Solution:
update cmake to 3.16.4

Read More: