RPM Community Forums

Mailing List Message of <rpm-devel>

Re: Segfault because librpmio is missing -lpcre

From: Arkadiusz Miskiewicz <arekm@pld-linux.org>
Date: Thu 01 Nov 2007 - 15:11:06 CET
Message-Id: <200711011511.06511.arekm@pld-linux.org>
On Thursday 01 of November 2007, Arkadiusz Miskiewicz wrote:
> On Thursday 01 of November 2007, Jeff Johnson wrote:
> > There's a segfault reported last week by arekm when rpm is compiled
> > to use PCRE because of a missing linkage from rpmmire in librpmio
> > to -lpcre.

Commited patch separating pcre from pcreposix untill (so you can use pcre for 
lua but not for rpm*/*.c). The problem below is NOT solved:

> If a program is linked to 2 or more libraries that provide exactly the same
> symbol (function) - from which library symbol is going to be used?
> randomly?
>
> Where it's said that pcre regcomp() will be used and not glibc one if
> progam is linked to both glibc and pcre?

-- 
Arkadiusz Mi¶kiewicz        PLD/Linux Team
arekm / maven.pl            http://ftp.pld-linux.org/
Received on Thu Nov 1 15:11:13 2007
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.