Two static libraries (iMagPay and chinese-dukpt) used here to read card data. And I faced issue of duplicate symbols.
Both static library uses C++ code as well.
I used -all_load linker flag also, still see this error.
Two static libraries (iMagPay and chinese-dukpt) used here to read card data. And I faced issue of duplicate symbols.
Both static library uses C++ code as well.
I used -all_load linker flag also, still see this error.

Did you check out these threads?
This happens when you link libraries 'too broadly' i.e link stuff you don't need. If you don't need a library, don't link it.