It just occurred to me that if you really want a self-contained lrexlib
rock, you could modify the build procedure to link rex_pcre against a
static-library version of PCRE. That would eliminate this specific
issue entirely and would probably be the best short-term solution.