You are trying to link against the static versions of the library, which are not -fPIC compiled by design.
You are trying to link against the static versions of the library, which are not -fPIC compiled by design.