Oracle Error OCI-22313: cannot use two versions of the same type “string”

Oracle Error Message

OCI-22313: cannot use two versions of the same type “string”

Reason for the Error

The version of this type conflicts with the version of this type used by another library that was linked in with the application. An application may only use one version of a type.

Solution

Check that the libraries being linked with this application and use the same versions of the type.