2010/7/26 Sebastian Reitenbach <sebas...@l00-bugdead-prods.de>:

> However, when I start spectrum services directly via spectrum or spectrumctl I
> get a bunch of the following warnings:
>
>
> spectrum:/usr/local/lib/libpcre.so.2.3:
> /usr/local/lib/libPocoFoundation.so.0.0 : WARNING: symbol(_pcre_ucd_stage2)
> size mismatch, relink your program
> spectrum:/usr/local/lib/libpcre.so.2.3:
> /usr/local/lib/libPocoFoundation.so.0.0 : WARNING: symbol(_pcre_utt_names)
> size mismatch, relink your program
> spectrum:/usr/local/lib/libpcre.so.2.3:
> /usr/local/lib/libPocoFoundation.so.0.0 : WARNING: symbol(_pcre_utt) size
> mismatch, relink your program
> spectrum:/usr/local/lib/libpcre.so.2.3:
> /usr/local/lib/libPocoFoundation.so.0.0 : WARNING: symbol(_pcre_OP_lengths)
> size mismatch, relink your program
> spectrum:/usr/local/lib/libpcre.so.2.3:
> /usr/local/lib/libPocoFoundation.so.0.0 : WARNING: symbol(_pcre_ucd_records)
> size mismatch, relink your program
> spectrum:/usr/local/lib/libpcre.so.2.3:
> /usr/local/lib/libPocoFoundation.so.0.0 : WARNING: symbol(_pcre_ucd_stage2)
> size mismatch, relink your program
> spectrum:/usr/local/lib/libpcre.so.2.3:
> /usr/local/lib/libPocoFoundation.so.0.0 : WARNING: symbol(_pcre_utt_names)
> size mismatch, relink your program
> spectrum:/usr/local/lib/libpcre.so.2.3:
> /usr/local/lib/libPocoFoundation.so.0.0 : WARNING: symbol(_pcre_utt) size
> mismatch, relink your program
> spectrum:/usr/local/lib/libpcre.so.2.3:
> /usr/local/lib/libPocoFoundation.so.0.0 : WARNING: symbol(_pcre_OP_lengths)
> size mismatch, relink your program
> spectrum:/usr/local/lib/libpcre.so.2.3:
> /usr/local/lib/libPocoFoundation.so.0.0 : WARNING: symbol(_pcre_ucd_records)
> size mismatch, relink your program
>
> IIRC, I had seem them before with the other version too, but forgot to mention
> it. The box is a i386, with a fairly new snapshot. All the ports installed on
> that box were compiled on it. Spectrum actually works, but I don't know why
> those warnings are showing up.
> And which program to relink? net/poco devel/pcre or net/spectrum?
> Any hint where I should look regarding above warnings would be highly
> appreciated.

Dunno why, but even with option "--unbundled", it still wants some
files from its internal pcre stuff:

ifdef POCO_UNBUNDLED
        objects += $(pcre_utf8_objects)
        SYSLIBS += -lpcre -lz
else
        objects += $(zlib_objects) $(pcre_objects) $(pcre_utf8_objects)
endif

And these objects clash with system pcre.

Ciao,
David

>
> cheers,
> Sebastian
>

Reply via email to