Re: [pcre-dev] Different Versions Of PCRE for pcretest, pcre…

Etusivu
Poista viesti
Lähettäjä: Simeon F. Willbanks
Päiväys:  
Vastaanottaja: pcre-dev
Aihe: Re: [pcre-dev] Different Versions Of PCRE for pcretest, pcregrep & pcre-config
From inside the source dir:

$ ls -l pcretest
-rwxr-xr-x 1 root root 5146 May 2 10:18 pcretest

$ ls -l /usr/bin/pcretest
-rwxr-xr-x 1 root root 42788 May 2 10:18 /usr/bin/pcretest


$ locate libpcre

/lib/libpcre.so.0
/lib/libpcre.so.0.0.1
/usr/lib/libpcre.a
/usr/lib/libpcre.la
/usr/lib/libpcre.so
/usr/lib/libpcre.so.0
/usr/lib/libpcre.so.0.0.1
/usr/lib/libpcrecpp.a
/usr/lib/libpcrecpp.la
/usr/lib/libpcrecpp.so
/usr/lib/libpcrecpp.so.0
/usr/lib/libpcrecpp.so.0.0.0
/usr/lib/libpcreposix.a
/usr/lib/libpcreposix.la
/usr/lib/libpcreposix.so
/usr/lib/libpcreposix.so.0
/usr/lib/libpcreposix.so.0.0.0
/usr/lib/pkgconfig/libpcre.pc
/usr/lib/pkgconfig/libpcrecpp.pc

Ah, could we have possibly found the culprit?

$ ls -l /lib/libpcre.so.0*
lrwxrwxrwx 1 root root     16 Apr 30 17:34 /lib/libpcre.so.0 -> libpcre.so.0.0.1
-rwxr-xr-x 1 root root 116756 Apr 30 15:12 /lib/libpcre.so.0.0.1


Should I unlink /lib/libpcre.so.0, delete /lib/libpcre.so.0.0.1 and
try make install again?

Thanks so much,
Simeon

On 5/5/08, Philip Hazel <ph10@???> wrote:
> On Sun, 4 May 2008, Simeon F. Willbanks wrote:
>
>
> > $ ls -l /usr/bin/pc*
> > -rwxr-xr-x 1 root root 1241 May 2 10:18 /usr/bin/pcre-config
> > -rwxr-xr-x 1 root root 27708 May 2 10:18 /usr/bin/pcregrep
> > -rwxr-xr-x 1 root root 42788 May 2 10:18 /usr/bin/pcretest
> >
> > Strange huh? Thanks again for the continued help.
>
>
> I'm now almost completely mystified, I'm afraid. Is the size of
> /usr/bin/pcretest the same as the source/pcretest? Actually, I guess it
> may not be if you built a dynamic library.
>
> Oh, one more idea. I wonder if it is installing pcretest correctly, but
> that pcretest is NOT picking up the newly installed library, which was
> installed in /usr/lib. I wonder if you have an older version of the
> dynamic library that is installed somewhere else. Perhaps you should
> search your system for files called libpcre* ?
>
> Philip
>
> --
>
> Philip Hazel
>